BGP (Border Gateway Protocol), as defined in IETF RFCs 1771 and 1772, performs inter-domain routing in TCP/IP networks, handling routing between multiple autonomous domains. Routers use BGP to maintain a consistent view of the internetwork topology.