Chapter 2 Advanced Routing for FortiOS 5.0 : Dynamic Routing Overview : What is dynamic routing? : Dynamic routing protocols : Interior versus exterior routing protocols
  
Interior versus exterior routing protocols
The names interior and exterior are very descriptive. Interior routing protocols are designed for use within a contained network of limited size, whereas exterior routing protocols are designed to link multiple networks together. They can be used in combination in order to simplify network administration. For example, a network can be built with only border routers of a network running the exterior routing protocol, while all the routers on the network run the interior protocol, which prevents them from connecting outside the network without passing through the border. Exterior routers in such a configuration must have both exterior and interior protocols, to communicate with the interior routers and outside the network.
Nearly all routing protocols are interior routing protocols. Only BGP is commonly used as an exterior routing protocol.
You may see interior gateway protocol (IGP) used to refer to interior routing protocols, and exterior gateway protocol (EGP) used to refer to interior routing protocols.