Please find routing table and trace route before new connection
PE2#sh ip rou vrf BCA_2
Routing Table: BCA_2
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
222.222.222.0/32 is subnetted, 1 subnets
C 222.222.222.222 is directly connected, Loopback22
10.0.0.0/32 is subnetted, 2 subnets
O 10.0.0.2 [110/2] via 192.168.0.6, 00:15:11, FastEthernet1/0
B 10.0.0.1 [200/2] via 10.10.10.1, 00:00:01
192.168.0.0/30 is subnetted, 2 subnets
B 192.168.0.0 [200/0] via 10.10.10.1, 00:00:01
C 192.168.0.4 is directly connected, FastEthernet1/0
BCA2#SH IP ROU
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
10.0.0.0/32 is subnetted, 2 subnets
C 10.0.0.2 is directly connected, Loopback0
O IA 10.0.0.1 [110/3] via 192.168.0.5, 00:01:29, FastEthernet0/0
192.168.0.0/30 is subnetted, 2 subnets
O IA 192.168.0.0 [110/2] via 192.168.0.5, 00:01:29, FastEthernet0/0
C 192.168.0.4 is directly connected, FastEthernet0/0
BCA2#trac 10.0.0.1
Type escape sequence to abort.
Tracing the route to 10.0.0.1
1 192.168.0.5 52 msec 16 msec 4 msec
2 192.168.20.1 [MPLS: Labels 17/26 Exp 0] 184 msec 164 msec 96 msec
3 192.168.0.1 [MPLS: Label 26 Exp 0] 92 msec 132 msec 80 msec
4 192.168.0.2 136 msec * 152 msec
Then activation backup link, new backup link will be in backbone area (area 0) of OSPF. It will make problem. The traffic from BCA1 to BCA2 and vice versa do not pass MPLS backbone. It will choose direct connection using serial.
Let’s continue the lab
BCA1#
interface Serial0/0
ip address 45.45.45.4 255.255.255.0
!
router ospf 1
router-id 10.0.0.1
network 45.45.45.4 0.0.0.0 area 0
BCA2#
interface Serial0/0
ip address 45.45.45.5 255.255.255.0
!
router ospf 1
router-id 10.0.0.2
network 45.45.45.5 0.0.0.0 area 0
Let’s check routing table in PE after new connection
PE2#sh ip rou vrf BCA_2
Routing Table: BCA_2
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
222.222.222.0/32 is subnetted, 1 subnets
C 222.222.222.222 is directly connected, Loopback22
10.0.0.0/32 is subnetted, 2 subnets
O 10.0.0.2 [110/2] via 192.168.0.6, 00:01:09, FastEthernet1/0
O 10.0.0.1 [110/66] via 192.168.0.6, 00:01:09, FastEthernet1/0
192.168.0.0/30 is subnetted, 2 subnets
O 192.168.0.0 [110/66] via 192.168.0.6, 00:01:09, FastEthernet1/0
C 192.168.0.4 is directly connected, FastEthernet1/0
45.0.0.0/24 is subnetted, 1 subnets
O 45.45.45.0 [110/65] via 192.168.0.6, 00:01:11, FastEthernet1/0
Oups…. Even no ip advertize in BGP… All in OSPF.
Let’s check routing table in BCA2
BCA2#sh ip rou
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
10.0.0.0/32 is subnetted, 2 subnets
C 10.0.0.2 is directly connected, Loopback0
O 10.0.0.1 [110/65] via 45.45.45.4, 00:01:46, Serial0/0
192.168.0.0/30 is subnetted, 2 subnets
O 192.168.0.0 [110/65] via 45.45.45.4, 00:01:46, Serial0/0
C 192.168.0.4 is directly connected, FastEthernet0/0
45.0.0.0/24 is subnetted, 1 subnets
C 45.45.45.0 is directly connected, Serial0/0
Let’s check ping and do trace route to know traffic from BCA2 to BCA1
BCA2#ping 10.0.0.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.0.0.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/20/52 ms
BCA2#trace 10.0.0.1
Type escape sequence to abort.
Tracing the route to 10.0.0.1
1 45.45.45.4 24 msec * 4 msec
Da#$! Now traffic choose new connection instead of MPLS L
Now we need solution to make traffic goes to MPLS. What is the solution? Yes… we can use MPLS VPN – Shamlink. Let’s do it.
PE1#
interface loopback 100
ip vrf forwarding BCA_1
ip address 100.100.100.1 255.255.255.255
!
router ospf 100 vrf BCA_1
router-id 100.100.100.1 --- > need clear ip ospf process
area 0 sham-link 100.100.100.1 100.100.100.2
!
router bgp 65000
address-family ipv4 vrf BCA_1
network 100.100.100.1 mask 255.255.255.255
PE2#
interface loopback 100
ip vrf forwarding BCA_2
ip address 100.100.100.2 255.255.255.255
!
router ospf 100 vrf BCA_2
router-id 100.100.100.2 --- > need clear ip ospf process
area 0 sham-link 100.100.100.2 100.100.100.1
!
router bgp 65000
address-family ipv4 vrf BCA_2
network 100.100.100.2 mask 255.255.255.255
BCA1#
interface Serial0/0
ip ospf cost 3000
BCA2#
interface Serial0/0
ip ospf cost 3000
Please do clear ip bgp * or clear ip ospf process to get new update J
Let’s check again
PE2#sh ip rou vrf BCA_2
Routing Table: BCA_2
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
222.222.222.0/32 is subnetted, 1 subnets
C 222.222.222.222 is directly connected, Loopback22
100.0.0.0/32 is subnetted, 1 subnets
C 100.100.100.2 is directly connected, Loopback100
10.0.0.0/32 is subnetted, 2 subnets
O 10.0.0.2 [110/2] via 192.168.0.6, 00:00:59, FastEthernet1/0
O 10.0.0.1 [110/3002] via 192.168.0.6, 00:00:59, FastEthernet1/0
192.168.0.0/30 is subnetted, 2 subnets
O 192.168.0.0 [110/3002] via 192.168.0.6, 00:00:59, FastEthernet1/0
C 192.168.0.4 is directly connected, FastEthernet1/0
45.0.0.0/24 is subnetted, 1 subnets
O 45.45.45.0 [110/3001] via 192.168.0.6, 00:01:02, FastEthernet1/0
Where is the BGP advertise??? Just wait
*Mar 1 02:32:45.031: %OSPF-5-ADJCHG: Process 100, Nbr 100.100.100.1 on OSPF_SL0 from LOADING to FULL, Loading Done
Sound the virtual sham-link already up. Let’s check again the routing table in PE2
PE2#sh ip rou vrf BCA_2
Routing Table: BCA_2
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
222.222.222.0/32 is subnetted, 1 subnets
C 222.222.222.222 is directly connected, Loopback22
100.0.0.0/32 is subnetted, 2 subnets
B 100.100.100.1 [200/0] via 10.10.10.1, 00:01:40
C 100.100.100.2 is directly connected, Loopback100
10.0.0.0/32 is subnetted, 2 subnets
O 10.0.0.2 [110/2] via 192.168.0.6, 00:03:56, FastEthernet1/0
O 10.0.0.1 [110/3] via 10.10.10.1, 00:01:24
192.168.0.0/30 is subnetted, 2 subnets
O 192.168.0.0 [110/2] via 10.10.10.1, 00:01:26
C 192.168.0.4 is directly connected, FastEthernet1/0
45.0.0.0/24 is subnetted, 1 subnets
O 45.45.45.0 [110/3001] via 192.168.0.6, 00:04:00, FastEthernet1/0
Make sure the sham-link already up
PE2#sh ip ospf int brie
Interface PID Area IP Address/Mask Cost State Nbrs F/C
Fa0/0 1 0 192.168.20.2/30 10 BDR 1/1
Lo0 1 0 10.10.10.2/32 1 LOOP 0/0
SL0 100 0 0.0.0.0/0 1 P2P 1/1
Fa1/0 100 0 192.168.0.5/30 1 DR 1/1
PE2#show ip ospf sham-links
Sham Link OSPF_SL0 to address 100.100.100.1 is up
Area 0 source address 100.100.100.2
Run as demand circuit
DoNotAge LSA allowed. Cost of using 1 State POINT_TO_POINT,
Timer intervals configured, Hello 10, Dead 40, Wait 40,
Hello due in 00:00:03
Adjacency State FULL (Hello suppressed)
Index 2/2, retransmission queue length 0, number of retransmission 0
First 0x0(0)/0x0(0) Next 0x0(0)/0x0(0)
Last retransmission scan length is 0, maximum is 0
Last retransmission scan time is 0 msec, maximum is 0 msec
Let’s check the routing table in customer site
BCA2#sh ip rou
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
100.0.0.0/32 is subnetted, 2 subnets
O E2 100.100.100.1 [110/1] via 192.168.0.5, 00:05:18, FastEthernet0/0
O E2 100.100.100.2 [110/1] via 192.168.0.5, 00:07:53, FastEthernet0/0
10.0.0.0/32 is subnetted, 2 subnets
C 10.0.0.2 is directly connected, Loopback0
O 10.0.0.1 [110/4] via 192.168.0.5, 00:05:02, FastEthernet0/0
192.168.0.0/30 is subnetted, 2 subnets
O 192.168.0.0 [110/3] via 192.168.0.5, 00:05:02, FastEthernet0/0
C 192.168.0.4 is directly connected, FastEthernet0/0
45.0.0.0/24 is subnetted, 1 subnets
C 45.45.45.0 is directly connected, Serial0/0
Sounds good… Make sure ping is ok and trace route via MPLS backbone
BCA2#ping 10.0.0.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.0.0.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 112/153/184 ms
BCA2#trac 10.0.0.1
Type escape sequence to abort.
Tracing the route to 10.0.0.1
1 192.168.0.5 64 msec 28 msec 12 msec
2 192.168.20.1 [MPLS: Labels 17/46 Exp 0] 184 msec 136 msec 168 msec
3 192.168.0.1 [MPLS: Label 46 Exp 0] 128 msec 120 msec 84 msec
4 192.168.0.2 148 msec * 180 msec
No comments:
Post a Comment