Configure iBGP and eBGP with or without a Loopback Address - Cisco
This lab guide covers the essential steps to configure and verify Border Gateway Protocol (BGP) on Cisco routers, covering both and External BGP (eBGP) . 1. Enable the BGP Process Configuring BGP on Cisco Routers - Lab Guide
: Use a stable loopback interface address (e.g., 1.1.1.1 ). 3. Establish Neighbor Relationships Configure iBGP and eBGP with or without a
: If using loopback addresses for stability, you must specify the source interface. neighbor update-source loopback 0 4. Advertise Networks Advertise Networks : Peers in different autonomous systems
: Peers in different autonomous systems (e.g., R1 in AS 100 connecting to R2 in AS 200). neighbor remote-as iBGP (Same AS) : Peers within the same autonomous system. neighbor remote-as
Once basic connectivity is established, you can practice influencing path selection:
Unlike OSPF, BGP does not automatically advertise connected networks. You must use the network command, which requires an for the prefix and mask in the router's routing table (FIB). Command : network mask