
The session of Border Gateway Protocol (BGP) used between routers inside one autonomous system. The routers already share one administration, and the session carries routes learned from neighboring networks so each router can forward from the same set of reachable destinations.
Exterior Border Gateway Protocol (eBGP) sessions run between different autonomous systems. They are how networks exchange routes across the internet. An interior session does not replace that exchange. It keeps the routes those exterior sessions learned consistent among the routers inside the network.
Where the Session Runs
- Same autonomous system: Every router on the session belongs to one network and one administration.
- Routes from outside: Destinations are learned from other autonomous systems, then shared with interior routers.
- Repeated inside: The interior session copies that reachability so routers that did not speak to the outside network can still use it.
How Learned Routes Stay Consistent
A route accepted from a neighboring network is only half of the job. The other routers in the same autonomous system still need that route if they originate traffic toward it. Interior sessions repeat the route inside the network so those routers agree on reachability. That agreement keeps forwarding consistent when several routers can send traffic toward the same destination.
Interior and Exterior Sessions
Both session types belong to one protocol. They differ in who is speaking and what the exchange is for.
| Comparison | Interior Session | Exterior Session |
| Where it runs | Between routers inside one autonomous system | Between routers in different autonomous systems |
| What it does | Keeps learned routes consistent inside the network | Exchanges routes across the internet |
| Who speaks | Routers that belong to the same network | Routers that belong to separate networks |