=== R1 === hostname R1 ip cef interface Loopback0 ip address 10.255.0.1 255.255.255.255 exit interface Loopback10 ip address 198.51.100.1 255.255.255.255 exit interface GigabitEthernet1 ip address 192.0.2.1 255.255.255.252 no shutdown exit router bgp 65001 bgp router-id 10.255.0.1 no bgp default ipv4-unicast neighbor 192.0.2.2 remote-as 65200 address-family ipv4 unicast no auto-summary neighbor 192.0.2.2 activate network 198.51.100.1 mask 255.255.255.255 exit-address-family end === R2 === hostname R2 ip cef interface Loopback0 ip address 10.255.0.2 255.255.255.255 exit interface GigabitEthernet1 ip address 192.0.2.2 255.255.255.252 no shutdown exit interface GigabitEthernet2 ip address 192.0.2.5 255.255.255.252 no shutdown exit interface GigabitEthernet3 ip address 192.0.2.9 255.255.255.252 no shutdown exit router ospf 1 router-id 10.255.0.2 network 10.255.0.2 0.0.0.0 area 0 passive-interface Loopback0 network 192.0.2.5 0.0.0.0 area 0 network 192.0.2.9 0.0.0.0 area 0 network 192.0.2.2 0.0.0.0 area 0 passive-interface GigabitEthernet1 exit router bgp 65024 bgp router-id 10.255.0.2 bgp confederation identifier 65200 bgp confederation peers 65035 no bgp default ipv4-unicast neighbor 192.0.2.1 remote-as 65001 neighbor 10.255.0.4 remote-as 65024 neighbor 10.255.0.4 update-source Loopback0 neighbor 10.255.0.3 remote-as 65035 neighbor 10.255.0.3 update-source Loopback0 neighbor 10.255.0.3 ebgp-multihop 2 address-family ipv4 unicast no auto-summary neighbor 192.0.2.1 activate neighbor 10.255.0.4 activate neighbor 10.255.0.4 next-hop-self neighbor 10.255.0.3 activate exit-address-family end === R3 === hostname R3 ip cef interface Loopback0 ip address 10.255.0.3 255.255.255.255 exit interface GigabitEthernet1 ip address 192.0.2.6 255.255.255.252 no shutdown exit interface GigabitEthernet2 ip address 192.0.2.13 255.255.255.252 no shutdown exit router ospf 1 router-id 10.255.0.3 network 10.255.0.3 0.0.0.0 area 0 passive-interface Loopback0 network 192.0.2.6 0.0.0.0 area 0 network 192.0.2.13 0.0.0.0 area 0 exit router bgp 65035 bgp router-id 10.255.0.3 bgp confederation identifier 65200 bgp confederation peers 65024 no bgp default ipv4-unicast neighbor 10.255.0.5 remote-as 65035 neighbor 10.255.0.5 update-source Loopback0 neighbor 10.255.0.2 remote-as 65024 neighbor 10.255.0.2 update-source Loopback0 neighbor 10.255.0.2 ebgp-multihop 2 address-family ipv4 unicast no auto-summary neighbor 10.255.0.5 activate neighbor 10.255.0.5 next-hop-self neighbor 10.255.0.2 activate exit-address-family end === R4 === hostname R4 ip cef interface Loopback0 ip address 10.255.0.4 255.255.255.255 exit interface GigabitEthernet1 ip address 192.0.2.10 255.255.255.252 no shutdown exit interface GigabitEthernet2 ip address 192.0.2.17 255.255.255.252 no shutdown exit router ospf 1 router-id 10.255.0.4 network 10.255.0.4 0.0.0.0 area 0 passive-interface Loopback0 network 192.0.2.10 0.0.0.0 area 0 network 192.0.2.17 0.0.0.0 area 0 exit router bgp 65024 bgp router-id 10.255.0.4 bgp confederation identifier 65200 bgp confederation peers 65035 no bgp default ipv4-unicast neighbor 10.255.0.2 remote-as 65024 neighbor 10.255.0.2 update-source Loopback0 neighbor 10.255.0.5 remote-as 65035 neighbor 10.255.0.5 update-source Loopback0 neighbor 10.255.0.5 ebgp-multihop 2 address-family ipv4 unicast no auto-summary neighbor 10.255.0.2 activate neighbor 10.255.0.2 next-hop-self neighbor 10.255.0.5 activate exit-address-family end === R5 === hostname R5 ip cef interface Loopback0 ip address 10.255.0.5 255.255.255.255 exit interface GigabitEthernet1 ip address 192.0.2.14 255.255.255.252 no shutdown exit interface GigabitEthernet2 ip address 192.0.2.18 255.255.255.252 no shutdown exit router ospf 1 router-id 10.255.0.5 network 10.255.0.5 0.0.0.0 area 0 passive-interface Loopback0 network 192.0.2.14 0.0.0.0 area 0 network 192.0.2.18 0.0.0.0 area 0 exit router bgp 65035 bgp router-id 10.255.0.5 bgp confederation identifier 65200 bgp confederation peers 65024 no bgp default ipv4-unicast neighbor 10.255.0.3 remote-as 65035 neighbor 10.255.0.3 update-source Loopback0 neighbor 10.255.0.4 remote-as 65024 neighbor 10.255.0.4 update-source Loopback0 neighbor 10.255.0.4 ebgp-multihop 2 address-family ipv4 unicast no auto-summary neighbor 10.255.0.3 activate neighbor 10.255.0.3 next-hop-self neighbor 10.255.0.4 activate exit-address-family end