################################################################################ hostname cernh9_pe2-as5 ! ip cef interface Loopback0 ip address 10.5.1.2 255.255.255.255 ! interface Fddi0/0 description ----> pe2-as1 ip address 10.1.5.2 255.255.255.252 ! interface FastEthernet4/1/0 description ----> pe1-as5 ip address 10.5.0.2 255.255.255.252 tag-switching mtu 1508 tag-switching ip ! interface GigabitEthernet5/0/0 description CERN external network ip address 192.65.185.9 255.255.255.0 ! router ospf 5 log-adjacency-changes redistribute connected subnets network 10.5.0.0 0.0.0.255 area 0 ! router bgp 5 no synchronization no bgp default route-target filter bgp log-neighbor-changes network 10.5.0.0 mask 255.255.0.0 network 192.65.185.0 neighbor 10.1.5.1 remote-as 1 neighbor 10.1.5.1 description ----> pe2-as1 neighbor 10.1.5.1 next-hop-self neighbor 10.1.5.1 soft-reconfiguration inbound neighbor 10.5.1.1 remote-as 5 neighbor 10.5.1.1 description ----> pe1-as5 neighbor 10.5.1.1 update-source Loopback0 neighbor 10.5.1.1 soft-reconfiguration inbound no auto-summary ! address-family vpnv4 neighbor 10.1.5.1 activate neighbor 10.1.5.1 send-community extended neighbor 10.5.1.1 activate neighbor 10.5.1.1 send-community extended no auto-summary exit-address-family ! ip route 0.0.0.0 0.0.0.0 192.65.185.2 ip route 0.0.0.0 0.0.0.0 GigabitEthernet5/0/0 ip route 10.5.0.0 255.255.0.0 Null0 -------------------------------------------------------------------------------- cernh9_pe2-as5#sh ip bgp s Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd 10.1.5.1 4 1 8674 8739 42 0 0 5d23h 2 10.5.1.1 4 5 8760 8725 42 0 0 00:15:38 3 -------------------------------------------------------------------------------- cernh9_pe2-as5#sh ip route Gateway of last resort is 192.65.185.2 to network 0.0.0.0 10.0.0.0/8 is variably subnetted, 11 subnets, 3 masks B 10.10.0.0/16 [20/0] via 10.1.5.1, 5d23h O 10.5.10.0/30 [110/2] via 10.5.0.1, 00:47:02, FastEthernet4/1/0 B 10.1.0.0/16 [20/0] via 10.1.5.1, 5d23h C 10.5.1.2/32 is directly connected, Loopback0 C 10.1.5.0/30 is directly connected, Fddi0/0 O E2 10.5.1.1/32 [110/20] via 10.5.0.1, 00:47:02, FastEthernet4/1/0 C 10.5.0.0/30 is directly connected, FastEthernet4/1/0 C 10.1.5.1/32 is directly connected, Fddi0/0 S 10.5.0.0/16 is directly connected, Null0 B 10.50.0.0/16 [200/0] via 10.50.1.1, 00:08:02 O E2 10.50.1.1/32 [110/20] via 10.5.0.1, 00:46:12, FastEthernet4/1/0 C 192.65.185.0/24 is directly connected, GigabitEthernet5/0/0 60.0.0.0/8 is variably subnetted, 3 subnets, 3 masks B 60.0.0.0/16 [200/0] via 10.50.1.1, 00:08:02 O E2 60.0.1.1/32 [110/20] via 10.5.0.1, 00:46:12, FastEthernet4/1/0 O E2 60.0.0.0/30 [110/20] via 10.5.0.1, 00:46:12, FastEthernet4/1/0 S* 0.0.0.0/0 [1/0] via 192.65.185.2 is directly connected, GigabitEthernet5/0/0 -------------------------------------------------------------------------------- cernh9_pe2-as5#sh ip bgp Network Next Hop Metric LocPrf Weight Path *> 10.1.0.0/16 10.1.5.1 0 0 1 i * i10.5.0.0/16 10.5.1.1 0 100 0 i *> 0.0.0.0 0 32768 i *> 10.10.0.0/16 10.1.5.1 0 1 10 i *>i10.50.0.0/16 10.50.1.1 0 100 0 i *>i60.0.0.0/16 10.50.1.1 0 100 0 i *> 192.65.185.0 0.0.0.0 0 32768 i -------------------------------------------------------------------------------- cernh9_pe2-as5#sh ip bgp vpnv4 all Network Next Hop Metric LocPrf Weight Path Route Distinguisher: 10:1 *> 20.0.0.0/16 10.1.5.1 0 1 10 i Route Distinguisher: 50:1 *>i60.0.0.0/16 10.5.1.1 0 100 0 i -------------------------------------------------------------------------------- cernh9_pe2-as5#sh ip bgp vpnv4 rd 50:1 Network Next Hop Metric LocPrf Weight Path Route Distinguisher: 50:1 *>i60.0.0.0/16 10.5.1.1 0 100 0 i ################################################################################ hostname cernh99_pe1-as5 ! ip cef ! ip vrf DT description ----> Datatag vpn rd 50:1 route-target export 1000:1 route-target import 1000:1 ! interface Loopback0 ip address 10.5.1.1 255.255.255.255 ! interface Ethernet0 description ----> ce-as50 - VPN ip vrf forwarding DT ip address 60.0.0.1 255.255.255.252 ! interface Fddi0 description ----> ce-as50 ip address 10.5.10.1 255.255.255.252 no keepalive ! interface FastEthernet0 description ----> pe2-as5 ip address 10.5.0.1 255.255.255.252 half-duplex tag-switching mtu 1508 tag-switching ip ! router ospf 5 log-adjacency-changes redistribute connected subnets network 10.5.0.0 0.0.0.255 area 0 network 10.5.10.0 0.0.0.255 area 0 ! router bgp 5 no synchronization bgp log-neighbor-changes network 10.5.0.0 mask 255.255.0.0 neighbor 10.5.1.2 remote-as 5 neighbor 10.5.1.2 description ----> pe2-as5 neighbor 10.5.1.2 update-source Loopback0 neighbor 10.5.1.2 route-reflector-client neighbor 10.5.1.2 soft-reconfiguration inbound neighbor 10.50.1.1 remote-as 5 neighbor 10.50.1.1 description ----> ce-as50 neighbor 10.50.1.1 update-source Loopback0 neighbor 10.50.1.1 route-reflector-client neighbor 10.50.1.1 next-hop-self neighbor 10.50.1.1 soft-reconfiguration inbound no auto-summary ! address-family ipv4 vrf DT neighbor 60.0.0.2 remote-as 5 neighbor 60.0.0.2 activate neighbor 60.0.0.2 route-reflector-client neighbor 60.0.0.2 next-hop-self neighbor 60.0.0.2 soft-reconfiguration inbound no auto-summary no synchronization exit-address-family ! address-family vpnv4 neighbor 10.5.1.2 activate neighbor 10.5.1.2 send-community extended no auto-summary exit-address-family ! ip route 10.5.0.0 255.255.0.0 Null0 -------------------------------------------------------------------------------- cernh99_pe1-as5#sh ip bgp s Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd 10.5.1.2 4 5 66 73 21 0 0 00:17:42 4 10.50.1.1 4 5 58 64 21 0 0 00:10:06 2 -------------------------------------------------------------------------------- cernh99_pe1-as5#sh ip route Gateway of last resort is not set 10.0.0.0/8 is variably subnetted, 11 subnets, 3 masks B 10.10.0.0/16 [200/0] via 10.1.5.1, 00:17:42 C 10.5.10.0/30 is directly connected, Fddi0 B 10.1.0.0/16 [200/0] via 10.1.5.1, 00:17:42 O E2 10.5.1.2/32 [110/20] via 10.5.0.2, 00:49:06, FastEthernet0 O E2 10.1.5.0/30 [110/20] via 10.5.0.2, 00:49:06, FastEthernet0 O E2 10.1.5.1/32 [110/20] via 10.5.0.2, 00:49:06, FastEthernet0 S 10.5.0.0/16 is directly connected, Null0 C 10.5.1.1/32 is directly connected, Loopback0 C 10.5.0.0/30 is directly connected, FastEthernet0 B 10.50.0.0/16 [200/0] via 10.50.1.1, 00:10:06 O E2 10.50.1.1/32 [110/20] via 10.5.10.2, 00:48:16, Fddi0 O E2 192.65.185.0/24 [110/20] via 10.5.0.2, 00:49:06, FastEthernet0 60.0.0.0/8 is variably subnetted, 3 subnets, 3 masks B 60.0.0.0/16 [200/0] via 10.50.1.1, 00:10:06 O E2 60.0.1.1/32 [110/20] via 10.5.10.2, 00:48:16, Fddi0 O E2 60.0.0.0/30 [110/20] via 10.5.10.2, 00:48:16, Fddi0 -------------------------------------------------------------------------------- cernh99_pe1-as5#sh ip bgp Network Next Hop Metric LocPrf Weight Path *>i10.1.0.0/16 10.1.5.1 0 100 0 1 i * i10.5.0.0/16 10.5.1.2 0 100 0 i *> 0.0.0.0 0 32768 i *>i10.10.0.0/16 10.1.5.1 100 0 1 10 i *>i10.50.0.0/16 10.50.1.1 0 100 0 i *>i60.0.0.0/16 10.50.1.1 0 100 0 i *>i192.65.185.0 10.5.1.2 0 100 0 i -------------------------------------------------------------------------------- cernh99_pe1-as5#sh ip bgp vpnv4 all Network Next Hop Metric LocPrf Weight Path Route Distinguisher: 10:1 *>i20.0.0.0/16 10.1.5.1 100 0 1 10 i Route Distinguisher: 50:1 (default for vrf DT) *>i20.0.0.0/16 10.1.5.1 100 0 1 10 i *>i60.0.0.0/16 60.0.0.2 0 100 0 i -------------------------------------------------------------------------------- cernh99_pe1-as5#sh ip route vrf DT Gateway of last resort is not set 20.0.0.0/16 is subnetted, 1 subnets B 20.0.0.0 [200/0] via 10.1.5.1, 00:17:37 60.0.0.0/8 is variably subnetted, 2 subnets, 2 masks B 60.0.0.0/16 [200/0] via 60.0.0.2, 00:11:05 C 60.0.0.0/30 is directly connected, Ethernet0 -------------------------------------------------------------------------------- cernh99_pe1-as5#sh ip bgp vpnv4 rd 50:1 Network Next Hop Metric LocPrf Weight Path Route Distinguisher: 50:1 (default for vrf DT) *>i20.0.0.0/16 10.1.5.1 100 0 1 10 i *>i60.0.0.0/16 60.0.0.2 0 100 0 i ################################################################################ hostname ce-as50 ! interface Loopback0 ip address 10.50.1.1 255.255.255.255 ! interface Loopback1 ip address 60.0.1.1 255.255.255.255 ! interface Ethernet0 description ----> pe1-as50 - vrf ip address 60.0.0.2 255.255.255.252 ! interface Fddi0 description ----> pe1-as5 ip address 10.5.10.2 255.255.255.252 ! router ospf 5 log-adjacency-changes redistribute connected subnets network 10.5.0.0 0.0.0.255 area 0 network 10.5.10.0 0.0.0.255 area 0 ! router bgp 5 no synchronization bgp log-neighbor-changes network 10.50.0.0 mask 255.255.0.0 network 60.0.0.0 mask 255.255.0.0 neighbor 10.5.1.1 remote-as 5 neighbor 10.5.1.1 description ----> pe1-as5 neighbor 10.5.1.1 update-source Loopback0 neighbor 10.5.1.1 soft-reconfiguration inbound neighbor 60.0.0.1 remote-as 5 neighbor 60.0.0.1 description ----> pe1-as5 - VPN neighbor 60.0.0.1 soft-reconfiguration inbound neighbor 60.0.0.1 distribute-list 60 out no auto-summary ! ip route 10.50.0.0 255.255.0.0 Null0 ip route 60.0.0.0 255.255.0.0 Null0 ! access-list 10 deny 60.0.0.0 0.255.255.255 access-list 10 permit any access-list 60 permit 60.0.0.0 0.255.255.255 ! -------------------------------------------------------------------------------- ce-as50#sh ip bgp s Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd 10.5.1.1 4 5 66 60 26 0 0 00:12:41 4 60.0.0.1 4 5 66 64 26 0 0 00:13:39 1 -------------------------------------------------------------------------------- ce-as50#sh ip route Gateway of last resort is not set 20.0.0.0/16 is subnetted, 1 subnets B 20.0.0.0 [200/0] via 60.0.0.1, 00:13:39 10.0.0.0/8 is variably subnetted, 11 subnets, 3 masks B 10.10.0.0/16 [200/0] via 10.5.1.1, 00:12:42 C 10.5.10.0/30 is directly connected, Fddi0 B 10.1.0.0/16 [200/0] via 10.5.1.1, 00:12:42 O E2 10.5.1.2/32 [110/20] via 10.5.10.1, 00:51:35, Fddi0 O E2 10.1.5.0/30 [110/20] via 10.5.10.1, 00:51:35, Fddi0 B 10.5.0.0/16 [200/0] via 10.5.1.1, 00:12:42 O E2 10.5.1.1/32 [110/20] via 10.5.10.1, 00:51:35, Fddi0 O E2 10.1.5.1/32 [110/20] via 10.5.10.1, 00:51:35, Fddi0 O 10.5.0.0/30 [110/2] via 10.5.10.1, 00:51:35, Fddi0 S 10.50.0.0/16 is directly connected, Null0 C 10.50.1.1/32 is directly connected, Loopback0 O E2 192.65.185.0/24 [110/20] via 10.5.10.1, 00:51:35, Fddi0 60.0.0.0/8 is variably subnetted, 3 subnets, 3 masks C 60.0.0.0/30 is directly connected, Ethernet0 S 60.0.0.0/16 is directly connected, Null0 C 60.0.1.1/32 is directly connected, Loopback1 -------------------------------------------------------------------------------- ce-as50#sh ip bgp Network Next Hop Metric LocPrf Weight Path *>i10.1.0.0/16 10.5.1.1 0 100 0 1 i *>i10.5.0.0/16 10.5.1.1 0 100 0 i *>i10.10.0.0/16 10.5.1.1 100 0 1 10 i *> 10.50.0.0/16 0.0.0.0 0 32768 i *>i20.0.0.0/16 60.0.0.1 100 0 1 10 i *> 60.0.0.0/16 0.0.0.0 0 32768 i *>i192.65.185.0 10.5.1.1 0 100 0 i -------------------------------------------------------------------------------- ce-as50#traceroute 20.0.0.2 Type escape sequence to abort. Tracing the route to 20.0.0.2 1 60.0.0.1 0 msec 0 msec 0 msec 2 10.5.0.2 [MPLS: Labels 19/20 Exp 0] 0 msec 0 msec 4 msec 3 10.1.5.1 [AS 1] [MPLS: Label 20 Exp 0] 0 msec 0 msec 4 msec 4 20.0.0.1 [AS 10] [MPLS: Label 20 Exp 0] 0 msec 0 msec 4 msec 5 20.0.0.2 [AS 10] 4 msec 0 msec * --------------------------------------------------------------------------------