Configure IBGP on the PE Routers
On the hub-and-spoke PE routers, configure an IBGP session with the following properties:
- VPN family—To indicate that the IBGP session is for the VPN, include the
family inet-vpnstatement.- Loopback address—Include the
local-addressstatement, specifying the local PE router's loopback address. The IBGP session for VPNs runs through the loopback address. Note that you must also configure thelo0interface at the[edit interfaces]hierarchy level. The example does not include this part of the router's configuration.- Neighbor address—Include the
neighborstatement. On the hub router, specify the IP address of each spoke PE router, and on the spoke router, specify the address of the hub PE router.For the hub router, you configure an IBGP session with each spoke, and for each spoke router, you configure an IBGP session with the hub. There are no IBGP sessions between the two spoke routers.
On hub Router D, configure IBGP as follows. The first
neighborstatement configures an IBGP session to spoke Router E, and the second configures a session to spoke Router F.[edit protocols]bgp {group Hub-to-Spokes {type internal;local-address 10.255.14.174;family inet-vpn {unicast;}neighbor 10.255.14.180;neighbor 10.255.14.182;}}On spoke Router E, configure an IBGP session to the hub router as follows:
[edit protocols]bgp {group Spoke-E-to-Hub {type internal;local-address 10.255.14.180;neighbor 10.255.14.174 {family inet-vpn {unicast;}}}On spoke Router F, configure an IBGP session to the hub router as follows:
[edit protocols]bgp {group Spoke-F-to-Hub {type internal;local-address 10.255.14.182;neighbor 10.255.14.174 {family inet-vpn {unicast;}}}