An interior gateway protocol (IGP) is a routing protocol that is used to exchange routing information within an autonomous system (AS). In contrast, an Exterior Gateway Protocol (EGP) is for determining network reachability between autonomous systems and makes use of IGPs to resolve routes within an AS.