=== R1 === hostname R1 ip cef interface Loopback0 ip address 10.255.0.1 255.255.255.255 exit interface GigabitEthernet1 ip address 192.0.2.1 255.255.255.252 no shutdown exit interface GigabitEthernet2 ip address 192.0.2.5 255.255.255.252 no shutdown exit router ospf 1 router-id 10.255.0.1 network 10.255.0.1 0.0.0.0 area 0 passive-interface Loopback0 network 192.0.2.1 0.0.0.0 area 0 exit router bgp 65001 bgp router-id 10.255.0.1 no bgp default ipv4-unicast neighbor 192.0.2.6 remote-as 65003 address-family ipv4 unicast no auto-summary neighbor 192.0.2.6 activate network 10.255.0.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.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.2 0.0.0.0 area 0 exit router bgp 65002 bgp router-id 10.255.0.2 no bgp default ipv4-unicast neighbor 192.0.2.10 remote-as 65003 address-family ipv4 unicast no auto-summary neighbor 192.0.2.10 activate network 10.255.0.2 mask 255.255.255.255 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.10 255.255.255.252 no shutdown exit router bgp 65003 bgp router-id 10.255.0.3 no bgp default ipv4-unicast neighbor 192.0.2.5 remote-as 65001 neighbor 192.0.2.9 remote-as 65002 address-family ipv4 unicast no auto-summary neighbor 192.0.2.5 activate neighbor 192.0.2.9 activate exit-address-family end