A Router configurations
A1. configs/CE_A1.cfg
hostname CE_A1 ip subnet-zero call rsvp-sync interface Loopback0 ip address 10.168.1.1 255.255.255.0 interface FastEthernet0/0 ip address 10.160.100.2 255.255.255.0 duplex auto speed auto interface FastEthernet1/0 no ip address shutdown duplex auto speed auto interface FastEthernet2/0 no ip address shutdown duplex auto speed auto interface FastEthernet3/0 no ip address shutdown duplex auto speed auto router bgp 65111 bgp log-neighbor-changes redistribute connected neighbor 10.160.100.1 remote-as 100 neighbor 10.160.100.1 update-source Loopback0 ip classless ip route 0.0.0.0 0.0.0.0 FastEthernet0/0 ip http server dial-peer cor custom line con 0 line aux 0 line vty 0 4 login end
A2. configs/CE_A2.cfg
hostname CE_A2 ip subnet-zero call rsvp-sync interface Loopback0 ip address 10.168.2.1 255.255.255.0 interface FastEthernet0/0 ip address 10.160.101.2 255.255.255.0 duplex auto speed auto interface FastEthernet1/0 ip address 10.168.100.2 255.255.255.0 duplex auto speed auto interface FastEthernet2/0 no ip address shutdown duplex auto speed auto interface FastEthernet3/0 no ip address shutdown duplex auto speed auto router bgp 65111 bgp log-neighbor-changes redistribute connected neighbor 10.160.101.1 remote-as 100 neighbor 10.160.101.1 update-source Loopback0 ip classless ip http server dial-peer cor custom line con 0 line aux 0 line vty 0 4 login end
A3. configs/CE_B1.cfg
hostname CE_B1 ip subnet-zero call rsvp-sync interface Loopback0 ip address 10.168.22.1 255.255.255.0 interface FastEthernet0/0 ip address 10.168.200.2 255.255.255.0 duplex auto speed auto interface FastEthernet1/0 no ip address shutdown duplex auto speed auto interface FastEthernet2/0 no ip address shutdown duplex auto speed auto interface FastEthernet3/0 no ip address shutdown duplex auto speed auto router bgp 65222 bgp log-neighbor-changes redistribute connected neighbor 10.168.200.1 remote-as 100 neighbor 10.168.200.1 update-source Loopback0 ip classless ip http server dial-peer cor custom line con 0 line aux 0 line vty 0 4 login end
A4. configs/CE_B2.cfg
hostname CE_B2 ip subnet-zero call rsvp-sync interface Loopback0 ip address 10.140.20.20 255.255.255.0 interface FastEthernet0/0 ip address 10.168.201.2 255.255.255.0 duplex auto speed auto interface FastEthernet1/0 ip address 10.10.10.22 255.255.255.0 duplex auto speed auto interface FastEthernet2/0 no ip address shutdown duplex auto speed auto interface FastEthernet3/0 no ip address shutdown duplex auto speed auto router bgp 65222 bgp log-neighbor-changes redistribute connected neighbor 10.168.201.1 remote-as 100 neighbor 10.168.201.1 update-source Loopback0 ip classless ip route 0.0.0.0 0.0.0.0 FastEthernet0/0 ip http server dial-peer cor custom line con 0 line aux 0 line vty 0 4 login end
A5. configs/LSR1.cfg
hostname "LSR1" ip subnet-zero ip cef call rsvp-sync interface Loopback0 ip address 10.168.1.1 255.255.255.255 interface FastEthernet0/0 ip address 10.10.10.1 255.255.255.252 duplex auto speed auto tag-switching ip interface FastEthernet1/0 ip address 10.10.10.9 255.255.255.252 duplex auto speed auto tag-switching ip interface FastEthernet2/0 ip address 10.10.10.13 255.255.255.252 duplex auto speed auto tag-switching ip interface FastEthernet3/0 ip address 10.10.10.17 255.255.255.252 duplex auto speed auto tag-switching ip router ospf 10 log-adjacency-changes network 10.10.10.0 0.0.0.3 area 1 network 10.10.10.8 0.0.0.3 area 1 network 10.10.10.12 0.0.0.3 area 1 network 10.10.10.16 0.0.0.3 area 1 network 10.168.1.1 0.0.0.0 area 1 router bgp 100 no bgp default ipv4-unicast bgp log-neighbor-changes neighbor 10.160.100.1 remote-as 100 neighbor 10.160.100.1 update-source Loopback0 neighbor 10.160.100.1 activate neighbor 10.168.1.2 remote-as 100 neighbor 10.168.1.2 update-source Loopback0 neighbor 10.168.1.2 activate neighbor 10.168.1.3 remote-as 100 neighbor 10.168.1.3 update-source Loopback0 neighbor 10.168.1.3 activate neighbor 10.168.1.4 remote-as 100 neighbor 10.168.1.4 update-source Loopback0 neighbor 10.168.1.4 activate neighbor 10.168.1.5 remote-as 100 neighbor 10.168.1.5 update-source Loopback0 neighbor 10.168.1.5 activate ! address-family vpnv4 neighbor 10.160.100.1 activate neighbor 10.160.100.1 route-reflector-client neighbor 10.160.100.1 send-community extended neighbor 10.168.1.2 activate neighbor 10.168.1.2 route-reflector-client neighbor 10.168.1.2 send-community extended neighbor 10.168.1.3 activate neighbor 10.168.1.3 route-reflector-client neighbor 10.168.1.3 send-community extended neighbor 10.168.1.4 activate neighbor 10.168.1.4 route-reflector-client neighbor 10.168.1.4 send-community extended neighbor 10.168.1.5 activate neighbor 10.168.1.5 route-reflector-client neighbor 10.168.1.5 send-community extended exit-address-family ip classless ip http server dial-peer cor custom line con 0 line aux 0 line vty 0 4 login end
A6. configs/LSR2.cfg
hostname "LSR2" ip subnet-zero ip cef call rsvp-sync interface Loopback0 ip address 10.168.1.2 255.255.255.255 interface FastEthernet0/0 ip address 10.10.10.25 255.255.255.252 duplex auto speed auto tag-switching ip interface FastEthernet1/0 ip address 10.10.10.14 255.255.255.252 duplex auto speed auto tag-switching ip interface FastEthernet2/0 ip address 10.10.10.29 255.255.255.252 duplex auto speed auto tag-switching ip interface FastEthernet3/0 ip address 10.10.10.22 255.255.255.252 duplex auto speed auto tag-switching ip router ospf 10 log-adjacency-changes network 10.10.10.12 0.0.0.3 area 1 network 10.10.10.20 0.0.0.3 area 1 network 10.10.10.24 0.0.0.3 area 1 network 10.10.10.28 0.0.0.3 area 1 network 10.168.1.2 0.0.0.0 area 1 router bgp 100 no bgp default ipv4-unicast bgp log-neighbor-changes neighbor 10.160.101.1 remote-as 100 neighbor 10.160.101.1 update-source Loopback0 neighbor 10.160.101.1 activate neighbor 10.168.1.1 remote-as 100 neighbor 10.168.1.1 update-source Loopback0 neighbor 10.168.1.1 activate neighbor 10.168.1.3 remote-as 100 neighbor 10.168.1.3 update-source Loopback0 neighbor 10.168.1.3 activate neighbor 10.168.1.4 remote-as 100 neighbor 10.168.1.4 update-source Loopback0 neighbor 10.168.1.4 activate neighbor 10.168.1.6 remote-as 100 neighbor 10.168.1.6 update-source Loopback0 neighbor 10.168.1.6 activate ! address-family vpnv4 neighbor 10.160.101.1 activate neighbor 10.160.101.1 route-reflector-client neighbor 10.160.101.1 send-community extended neighbor 10.168.1.1 activate neighbor 10.168.1.1 route-reflector-client neighbor 10.168.1.1 send-community extended neighbor 10.168.1.3 activate neighbor 10.168.1.3 route-reflector-client neighbor 10.168.1.3 send-community extended neighbor 10.168.1.4 activate neighbor 10.168.1.4 route-reflector-client neighbor 10.168.1.4 send-community extended neighbor 10.168.1.6 activate neighbor 10.168.1.6 route-reflector-client neighbor 10.168.1.6 send-community extended exit-address-family ip classless ip http server dial-peer cor custom line con 0 line aux 0 line vty 0 4 login end
A7. configs/LSR3.cfg
hostname "LSR3" ip subnet-zero ip cef call rsvp-sync interface Loopback0 ip address 10.168.1.3 255.255.255.255 interface FastEthernet0/0 ip address 10.10.10.10 255.255.255.252 duplex auto speed auto tag-switching ip interface FastEthernet1/0 ip address 10.10.10.6 255.255.255.252 duplex auto speed auto tag-switching ip interface FastEthernet2/0 ip address 10.10.10.37 255.255.255.252 duplex auto speed auto tag-switching ip interface FastEthernet3/0 ip address 10.10.10.21 255.255.255.252 duplex auto speed auto tag-switching ip router ospf 10 log-adjacency-changes network 10.10.10.4 0.0.0.3 area 1 network 10.10.10.8 0.0.0.3 area 1 network 10.10.10.20 0.0.0.3 area 1 network 10.10.10.36 0.0.0.3 area 1 network 10.168.1.3 0.0.0.0 area 1 router bgp 100 no bgp default ipv4-unicast bgp log-neighbor-changes neighbor 10.168.1.1 remote-as 100 neighbor 10.168.1.1 update-source Loopback0 neighbor 10.168.1.1 activate neighbor 10.168.1.2 remote-as 100 neighbor 10.168.1.2 update-source Loopback0 neighbor 10.168.1.2 activate neighbor 10.168.1.4 remote-as 100 neighbor 10.168.1.4 update-source Loopback0 neighbor 10.168.1.4 activate neighbor 10.168.1.5 remote-as 100 neighbor 10.168.1.5 update-source Loopback0 neighbor 10.168.1.5 activate ! address-family vpnv4 neighbor 10.168.1.1 activate neighbor 10.168.1.1 route-reflector-client neighbor 10.168.1.1 send-community both neighbor 10.168.1.2 activate neighbor 10.168.1.2 route-reflector-client neighbor 10.168.1.2 send-community extended neighbor 10.168.1.4 activate neighbor 10.168.1.4 route-reflector-client neighbor 10.168.1.4 send-community extended neighbor 10.168.1.5 activate neighbor 10.168.1.5 route-reflector-client neighbor 10.168.1.5 send-community extended exit-address-family ip classless ip http server dial-peer cor custom line con 0 line aux 0 line vty 0 4 login end
A8. configs/LSR4.cfg
hostname "LSR4" ip subnet-zero ip cef call rsvp-sync interface Loopback0 ip address 10.168.1.4 255.255.255.255 interface FastEthernet0/0 ip address 10.10.10.26 255.255.255.252 duplex auto speed auto tag-switching ip interface FastEthernet1/0 ip address 10.10.10.38 255.255.255.252 duplex auto speed auto tag-switching ip interface FastEthernet2/0 ip address 10.10.10.34 255.255.255.252 duplex auto speed auto tag-switching ip interface FastEthernet3/0 ip address 10.10.10.18 255.255.255.252 duplex auto speed auto tag-switching ip router ospf 10 log-adjacency-changes network 10.10.10.16 0.0.0.3 area 1 network 10.10.10.24 0.0.0.3 area 1 network 10.10.10.32 0.0.0.3 area 1 network 10.10.10.36 0.0.0.3 area 1 network 10.168.1.4 0.0.0.0 area 1 router bgp 100 no bgp default ipv4-unicast bgp log-neighbor-changes neighbor 10.160.101.1 remote-as 100 neighbor 10.160.101.1 update-source Loopback0 neighbor 10.160.101.1 activate neighbor 10.168.1.1 remote-as 100 neighbor 10.168.1.1 update-source Loopback0 neighbor 10.168.1.1 activate neighbor 10.168.1.2 remote-as 100 neighbor 10.168.1.2 update-source Loopback0 neighbor 10.168.1.2 activate neighbor 10.168.1.3 remote-as 100 neighbor 10.168.1.3 update-source Loopback0 neighbor 10.168.1.3 activate neighbor 10.168.1.6 remote-as 100 neighbor 10.168.1.6 update-source Loopback0 neighbor 10.168.1.6 activate ! address-family vpnv4 neighbor 10.160.101.1 activate neighbor 10.160.101.1 route-reflector-client neighbor 10.160.101.1 send-community extended neighbor 10.168.1.1 activate neighbor 10.168.1.1 route-reflector-client neighbor 10.168.1.1 send-community extended neighbor 10.168.1.2 activate neighbor 10.168.1.2 route-reflector-client neighbor 10.168.1.2 send-community extended neighbor 10.168.1.3 activate neighbor 10.168.1.3 route-reflector-client neighbor 10.168.1.3 send-community extended neighbor 10.168.1.6 activate neighbor 10.168.1.6 route-reflector-client neighbor 10.168.1.6 send-community extended exit-address-family ip classless ip http server dial-peer cor custom line con 0 line aux 0 line vty 0 4 login end
A9. configs/LSR5.cfg
hostname LSR5 ip subnet-zero ip vrf CustomerA1 rd 65000:1 route-target export 65000:1 route-target import 65000:1 ip vrf CustomerB1 rd 65000:2 route-target export 65000:2 route-target import 65000:2 ip cef call rsvp-sync interface Loopback0 ip address 10.168.1.5 255.255.255.255 interface FastEthernet0/0 ip address 10.10.10.2 255.255.255.252 duplex auto speed auto tag-switching ip interface FastEthernet1/0 ip address 10.10.10.5 255.255.255.252 duplex auto speed auto tag-switching ip interface FastEthernet2/0 ip vrf forwarding CustomerA1 ip address 10.160.100.1 255.255.255.0 duplex auto speed auto interface FastEthernet3/0 ip vrf forwarding CustomerB1 ip address 10.168.200.1 255.255.255.0 duplex auto speed auto router ospf 10 log-adjacency-changes network 10.10.10.0 0.0.0.3 area 1 network 10.10.10.4 0.0.0.3 area 1 network 10.168.1.5 0.0.0.0 area 1 router bgp 100 no bgp default ipv4-unicast bgp log-neighbor-changes neighbor 10.160.100.2 remote-as 65111 neighbor 10.160.100.2 update-source Loopback0 neighbor 10.160.100.2 activate neighbor 10.160.101.1 remote-as 100 neighbor 10.160.101.1 update-source Loopback0 neighbor 10.160.101.1 activate neighbor 10.168.1.1 remote-as 100 neighbor 10.168.1.1 update-source Loopback0 neighbor 10.168.1.1 activate neighbor 10.168.1.3 remote-as 100 neighbor 10.168.1.3 update-source Loopback0 neighbor 10.168.1.3 activate neighbor 10.168.200.2 remote-as 65222 neighbor 10.168.200.2 update-source Loopback0 neighbor 10.168.200.2 activate neighbor 10.168.201.1 remote-as 100 neighbor 10.168.201.1 update-source Loopback0 neighbor 10.168.201.1 activate ! address-family ipv4 vrf CustomerB1 redistribute connected neighbor 10.168.200.2 remote-as 65222 neighbor 10.168.200.2 activate no auto-summary no synchronization exit-address-family ! address-family ipv4 vrf CustomerA1 redistribute connected neighbor 10.160.100.2 remote-as 65111 neighbor 10.160.100.2 activate no auto-summary no synchronization exit-address-family ! address-family vpnv4 neighbor 10.160.101.1 activate neighbor 10.160.101.1 send-community extended neighbor 10.168.1.1 activate neighbor 10.168.1.1 send-community extended neighbor 10.168.1.3 activate neighbor 10.168.1.3 send-community extended neighbor 10.168.201.1 activate neighbor 10.168.201.1 send-community extended exit-address-family ip classless ip http server dial-peer cor custom line con 0 line aux 0 line vty 0 4 login end
A10. configs/LSR6.cfg
hostname LSR6 ip subnet-zero ip vrf CustomerA2 rd 65000:1 route-target export 65000:1 route-target import 65000:1 ip vrf CustomerB2 rd 2:2 route-target export 65000:2 route-target import 65000:2 ip cef call rsvp-sync interface Loopback0 ip address 10.168.1.6 255.255.255.255 interface FastEthernet0/0 ip address 10.10.10.30 255.255.255.252 duplex auto speed auto tag-switching ip interface FastEthernet1/0 ip address 10.10.10.33 255.255.255.252 duplex auto speed auto tag-switching ip interface FastEthernet2/0 ip vrf forwarding CustomerB2 ip address 10.168.201.1 255.255.255.0 duplex auto speed auto interface FastEthernet3/0 ip vrf forwarding CustomerA2 ip address 10.160.101.1 255.255.255.0 duplex auto speed auto router ospf 10 log-adjacency-changes network 10.10.10.28 0.0.0.3 area 1 network 10.10.10.32 0.0.0.3 area 1 network 10.168.1.6 0.0.0.0 area 1 router bgp 100 no bgp default ipv4-unicast bgp log-neighbor-changes neighbor 10.160.100.1 remote-as 100 neighbor 10.160.100.1 update-source Loopback0 neighbor 10.160.100.1 activate neighbor 10.160.201.2 remote-as 65111 neighbor 10.160.201.2 update-source Loopback0 neighbor 10.160.201.2 activate neighbor 10.168.1.2 remote-as 100 neighbor 10.168.1.2 update-source Loopback0 neighbor 10.168.1.2 activate neighbor 10.168.1.4 remote-as 100 neighbor 10.168.1.4 update-source Loopback0 neighbor 10.168.1.4 activate neighbor 10.168.200.1 remote-as 100 neighbor 10.168.200.1 update-source Loopback0 neighbor 10.168.200.1 activate neighbor 10.168.201.2 remote-as 65222 neighbor 10.168.201.2 update-source Loopback0 neighbor 10.168.201.2 activate ! address-family ipv4 vrf CustomerB2 redistribute connected neighbor 10.168.201.2 remote-as 65222 neighbor 10.168.201.2 activate no auto-summary no synchronization exit-address-family ! address-family ipv4 vrf CustomerA2 redistribute connected neighbor 10.160.101.2 remote-as 65111 neighbor 10.160.101.2 activate no auto-summary no synchronization exit-address-family ! address-family vpnv4 neighbor 10.160.100.1 activate neighbor 10.160.100.1 send-community extended neighbor 10.168.1.2 activate neighbor 10.168.1.2 send-community extended neighbor 10.168.1.4 activate neighbor 10.168.1.4 send-community extended neighbor 10.168.200.1 activate neighbor 10.168.200.1 send-community extended exit-address-family ip classless ip http server dial-peer cor custom line con 0 line aux 0 line vty 0 4 login end
-