This video using Indonesian Language... So please enjoy it. If any wrong explanation, please do not hesitate to inform me. Sorry if it's boring, I am still learning to teach :(
My Countingdown
Showing posts with label MPLS. Show all posts
Showing posts with label MPLS. Show all posts
Friday, December 16, 2011
MPLS Video Part-2
This video using Indonesian Language... So please enjoy it. If any wrong explanation, please do not hesitate to inform me. Sorry if it's boring, I am still learning to teach :(
MPLS Video Part-1
Below is my first video :) As fthe first time, I have to say "Hello, World. This is my first video" :D
Thanks to Mr. Dedi Gunawan to make me do extra how to make video presentation. This video using Indonesian Language... So please enjoy it. If any wrong explanation, please do not hesitate to inform me. I am still hungry and I am still foolish...
Thanks to Mr. Dedi Gunawan to make me do extra how to make video presentation. This video using Indonesian Language... So please enjoy it. If any wrong explanation, please do not hesitate to inform me. I am still hungry and I am still foolish...
Lab 8. MPLS – PE – CE OSPF – Shamlink
For some reason our customer want backup link using new connection. The new connection does not pass MPLS backbone. Then this connection advertize in OSPF. Actually before new connection BCA1 get routing table BCA2 in O IA. It means in inter area OSPF.
To do this lab, you need to do lab http://pursuingmydestiny.blogspot.com/2011/12/lab-7-mpls-pe-ce-ospf-routing.html
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
Lab 7. MPLS – PE – CE OSPF Routing
Now we want to establish connection between PE and CE using OSPF.
Let’s take example BCA. We have new customer BCA want to connect to our MPLS backbone using OSPF to PE. For this lab we don’t activate yet connection using serial from BCA1 to BCA2!
To do this lab, you need to do Lab-1 http://pursuingmydestiny.blogspot.com/2011/12/lab-1-mpls-backbone.html for establishing MPLS backbone and Lab-2 first http://pursuingmydestiny.blogspot.com/2011/12/lab-2-mpls-vpn.html for establishing MP-BGP only.
PE1#
ip vrf BCA_1
rd 65000:2
route-target export 65000:2
route-target import 65000:2
!
interface FastEthernet1/0
description ###Link to BCA1###
ip vrf forwarding BCA_1
ip address 192.168.0.1 255.255.255.252
!
router ospf 100 vrf BCA_1
redistribute bgp 65000 subnets
network 192.168.0.1 0.0.0.0 area 0
!
router bgp 65000
address-family ipv4 vrf BCA_1
redistribute ospf 100 vrf BCA_1 match internal external 1 external 2
PE2#
ip vrf BCA_2
rd 65000:2
route-target export 65000:2
route-target import 65000:2
!
interface FastEthernet1/0
description ###Link to BCA2###
ip vrf forwarding BCA_2
ip address 192.168.0.5 255.255.255.252
!
router ospf 100 vrf BCA_2
redistribute bgp 65000 subnets
network 192.168.0.5 0.0.0.0 area 0
!
router bgp 65000
address-family ipv4 vrf BCA_2
redistribute ospf 100 vrf BCA_2 match internal external 1 external 2
BCA1#
interface Loopback0
ip address 10.0.0.1 255.255.255.255
!
interface FastEthernet0/0
ip address 192.168.0.2 255.255.255.252
!
router ospf 1
router-id 10.0.0.1
network 45.45.45.4 0.0.0.0 area 0
network 0.0.0.0 255.255.255.255 area 0
BCA2#
interface Loopback0
ip address 10.0.0.2 255.255.255.255
!
interface FastEthernet0/0
ip address 192.168.0.6 255.255.255.252
!
router ospf 1
router-id 10.0.0.2
network 45.45.45.5 0.0.0.0 area 0
network 0.0.0.0 255.255.255.255 area 0
Let’s check vpn BCA_2
PE2#sh ip bgp vpnv4 vrf BCA_2
BGP table version is 23, local router ID is 10.10.10.2
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
Route Distinguisher: 65000:2 (default for vrf BCA_2)
* i10.0.0.1/32 10.10.10.1 2 100 0 ?
*> 192.168.0.6 66 32768 ?
* i10.0.0.2/32 10.10.10.1 66 100 0 ?
*> 192.168.0.6 2 32768 ?
* i45.45.45.0/24 10.10.10.1 65 100 0 ?
*> 192.168.0.6 65 32768 ?
* i192.168.0.0/30 10.10.10.1 0 100 0 ?
*> 192.168.0.6 66 32768 ?
* i192.168.0.4/30 10.10.10.1 66 100 0 ?
*> 0.0.0.0 0 32768 ?
Let’s check routing table in PE2 and CE2 (BCA2)
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
Let’s check ping and do trace route
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/148/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 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
Lab 6. MPLS – PE – CE BGP Routing
Now we want to establish connection between PE and CE using BGP.
Let’s take example BNI. We have new customer BNI want to connect to our MPLS backbone using BGP to PE.
To do this lab, you need to do Lab-1 http://pursuingmydestiny.blogspot.com/2011/12/lab-1-mpls-backbone.html for establishing MPLS backbone and Lab-2 first http://pursuingmydestiny.blogspot.com/2011/12/lab-2-mpls-vpn.html for establishing MP-BGP only.
PE1#
ip vrf BNI
rd 65000:5
route-target export 65000:5
route-target import 65000:5
!
interface Serial0/0
ip vrf forwarding BNI
ip address 192.168.3.1 255.255.255.252
!
router bgp 65000
address-family ipv4 vrf BNI
neighbor 192.168.3.2 remote-as 100
neighbor 192.168.3.2 activate
neighbor 192.168.3.2 as-override
PE2#
ip vrf BNI
rd 65000:5
route-target export 65000:5
route-target import 65000:5
!
interface Serial0/0
ip vrf forwarding BNI
ip address 192.168.3.5 255.255.255.252
!
router bgp 65000
address-family ipv4 vrf BNI
neighbor 192.168.3.6 remote-as 100
neighbor 192.168.3.6 activate
neighbor 192.168.3.6 as-override
BNI1#
interface Loopback0
ip address 6.6.6.6 255.255.255.255
!
interface Serial0/0
ip address 192.168.3.2 255.255.255.252
!
router bgp 100
network 6.6.6.6 mask 255.255.255.255
neighbor 192.168.3.1 remote-as 65000
BNI2#
interface Loopback0
ip address 66.66.66.66 255.255.255.252
!
interface Serial0/0
ip address 192.168.3.6 255.255.255.252
!
router bgp 100
network 66.66.66.66 mask 255.255.255.255
neighbor 192.168.3.5 remote-as 65000
Let’s check vpn BNI in PE
PE2(config-router-af)#do sh ip bgp vpnv4 vrf BNI
BGP table version is 24, local router ID is 10.10.10.2
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
Route Distinguisher: 65000:5 (default for vrf BNI)
*>i6.6.6.6/32 10.10.10.1 0 100 0 100 i
*> 66.66.66.66/32 192.168.3.6 0 0 100 i
Let’s check routing table in PE and CE (BNI2)
PE2(config-router-af)#do sh ip rou vrf BNI
Routing Table: BNI
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
66.0.0.0/32 is subnetted, 1 subnets
B 66.66.66.66 [20/0] via 192.168.3.6, 00:01:42
6.0.0.0/32 is subnetted, 1 subnets
B 6.6.6.6 [200/0] via 10.10.10.1, 00:01:33
192.168.3.0/30 is subnetted, 1 subnets
C 192.168.3.4 is directly connected, Serial0/0
BNI2#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
66.0.0.0/32 is subnetted, 1 subnets
C 66.66.66.66 is directly connected, Loopback0
6.0.0.0/32 is subnetted, 1 subnets
B 6.6.6.6 [20/0] via 192.168.3.5, 00:01:54
192.168.3.0/30 is subnetted, 1 subnets
C 192.168.3.4 is directly connected, Serial0/0
Let’s do ping from R2 to R1 and do trace route also
BNI2#ping 6.6.6.6 sou 66.66.66.66
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 6.6.6.6, timeout is 2 seconds:
Packet sent with a source address of 66.66.66.66
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 72/94/112 ms
BNI2#trac 6.6.6.6 sou 66.66.66.66
Type escape sequence to abort.
Tracing the route to 6.6.6.6
1 192.168.3.5 60 msec 40 msec 52 msec
2 192.168.20.1 [MPLS: Labels 17/32 Exp 0] 100 msec 116 msec 112 msec
3 192.168.3.1 [MPLS: Label 32 Exp 0] 76 msec 80 msec 136 msec
4 192.168.3.2 104 msec 100 msec *
Lab 5. MPLS – PE – CE EIGRP Routing
Now we want to establish connection between PE and CE using EIGRP.
Let’s take example Niaga. We have new customer Niaga want to connect to our MPLS backbone using EIGRP to PE.
To do this lab, you need to do Lab-1 http://pursuingmydestiny.blogspot.com/2011/12/lab-1-mpls-backbone.html for establishing MPLS backbone and Lab-2 first http://pursuingmydestiny.blogspot.com/2011/12/lab-2-mpls-vpn.html for establishing MP-BGP only.
PE1#
ip vrf Niaga
rd 65000:4
route-target export 65000:4
route-target import 65000:4
!
interface Serial0/2
ip vrf forwarding Niaga
ip address 192.168.2.1 255.255.255.252
!
router eigrp 65000
address-family ipv4 vrf Niaga
redistribute bgp 65000 metric 1 1 1 1 1
network 192.168.2.0
autonomous-system 100
!
router bgp 65000
address-family ipv4 vrf Niaga
redistribute eigrp 100
PE2#
ip vrf Niaga
rd 65000:4
route-target export 65000:4
route-target import 65000:4
!
interface Serial0/2
ip vrf forwarding Niaga
ip address 192.168.2.5 255.255.255.252
!
router eigrp 65000
address-family ipv4 vrf Niaga
redistribute bgp 65000 metric 1 1 1 1 1
network 192.168.2.0
autonomous-system 100
!
router bgp 65000
address-family ipv4 vrf Niaga
redistribute eigrp 100
Niaga1#
interface Loopback0
ip address 5.5.5.5 255.255.255.255
!
interface Serial0/0
ip address 192.168.2.2 255.255.255.252
!
router eigrp 100
network 0.0.0.0
no auto-summary
Niaga2#
!
interface Loopback0
ip address 55.55.55.55 255.255.255.255
!
interface Serial0/0
ip address 192.168.2.6 255.255.255.252
!
router eigrp 100
network 0.0.0.0
no auto-summary
Let’s check vpn vrf Niaga
PE1#sh ip bgp vpnv4 vrf Niaga
BGP table version is 41, local router ID is 10.10.10.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
Route Distinguisher: 65000:4 (default for vrf Niaga)
*> 5.5.5.5/32 192.168.2.2 2297856 32768 ?
*>i55.55.55.55/32 10.10.10.2 2297856 100 0 ?
*> 192.168.2.0/30 0.0.0.0 0 32768 ?
*>i192.168.2.4/30 10.10.10.2 0 100 0 ?
Let’s check routing table vrf Niaga
PE1#sh ip rou vrf Niaga
Routing Table: Niaga
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
55.0.0.0/32 is subnetted, 1 subnets
B 55.55.55.55 [200/2297856] via 10.10.10.2, 00:06:23
5.0.0.0/32 is subnetted, 1 subnets
D 5.5.5.5 [90/2297856] via 192.168.2.2, 00:06:31, Serial0/2
192.168.2.0/30 is subnetted, 2 subnets
C 192.168.2.0 is directly connected, Serial0/2
B 192.168.2.4 [200/0] via 10.10.10.2, 00:06:23
Let’s check routing table in customer site
Niaga1#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
55.0.0.0/32 is subnetted, 1 subnets
D 55.55.55.55 [90/2809856] via 192.168.2.1, 00:07:09, Serial0/0
5.0.0.0/32 is subnetted, 1 subnets
C 5.5.5.5 is directly connected, Loopback0
192.168.2.0/30 is subnetted, 2 subnets
C 192.168.2.0 is directly connected, Serial0/0
D 192.168.2.4 [90/2681856] via 192.168.2.1, 00:07:09, Serial0/0
Let’s test ping and trace route from Niaga1 to Niaga2
Niaga1#ping 55.55.55.55
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 55.55.55.55, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 60/96/144 ms
Niaga1#trac 55.55.55.55
Type escape sequence to abort.
Tracing the route to 55.55.55.55
1 192.168.2.1 36 msec 60 msec 8 msec
2 192.168.10.2 [MPLS: Labels 16/27 Exp 0] 72 msec 36 msec 60 msec
3 192.168.2.5 [MPLS: Label 27 Exp 0] 104 msec 60 msec 104 msec
4 192.168.2.6 120 msec * 84 msec
Lab 4. MPLS – PE – CE RIP Routing
Now we want to establish connection between PE and CE using RIP.
Let’s take example Mandiri. We have new customer Mandiri want to connect to our MPLS backbone using RIP to PE.
To do this lab, you need to do Lab-1 http://pursuingmydestiny.blogspot.com/2011/12/lab-1-mpls-backbone.html for establishing MPLS backbone and Lab-2 first http://pursuingmydestiny.blogspot.com/2011/12/lab-2-mpls-vpn.html for establishing MP-BGP only.
PE1#
ip vrf Mandiri
rd 65000:3
route-target export 65000:3
route-target import 65000:3
!
interface Serial0/1
description ###Link to Mandiri###
ip vrf forwarding Mandiri
ip address 192.168.1.1 255.255.255.252
!
router rip
version 2
!
address-family ipv4 vrf Mandiri
redistribute bgp 65000 metric transparent
network 192.168.1.0
no auto-summary
!
router bgp 65000
address-family ipv4 vrf Mandiri
redistribute rip
PE2#
ip vrf Mandiri
rd 65000:3
route-target export 65000:3
route-target import 65000:3
!
interface Serial0/1
description ###Link to Mandiri###
ip vrf forwarding Mandiri
ip address 192.168.1.5 255.255.255.252
!
router rip
version 2
!
address-family ipv4 vrf Mandiri
redistribute bgp 65000 metric transparent
network 192.168.1.0
no auto-summary
!
router bgp 65000
address-family ipv4 vrf Mandiri
redistribute rip
Mandiri1#
interface Loopback0
ip address 200.200.200.1 255.255.255.255
!
interface Serial0/0
ip address 192.168.1.2 255.255.255.252
!
router rip
version 2
network 0.0.0.0
no auto-summary
Mandiri2#
interface Loopback0
ip address 202.202.202.202 255.255.255.255
!
interface Serial0/0
ip address 192.168.1.6 255.255.255.252
!
router rip
version 2
network 0.0.0.0
no auto-summary
Let’s verify vpn Mandiri and check routing table
PE1#sh ip bgp vpnv4 vrf Mandiri
BGP table version is 29, local router ID is 10.10.10.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
Route Distinguisher: 65000:3 (default for vrf Mandiri)
*> 192.168.1.0/30 0.0.0.0 0 32768 ?
*>i192.168.1.4/30 10.10.10.2 0 100 0 ?
*> 200.200.200.1/32 192.168.1.2 1 32768 ?
*>i202.202.202.202/32
10.10.10.2 1 100 0 ?
PE1#sh ip rou vrf Mandiri
Routing Table: Mandiri
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
200.200.200.0/32 is subnetted, 1 subnets
R 200.200.200.1 [120/1] via 192.168.1.2, 00:00:09, Serial0/1
202.202.202.0/32 is subnetted, 1 subnets
B 202.202.202.202 [200/1] via 10.10.10.2, 00:09:33
192.168.1.0/30 is subnetted, 2 subnets
C 192.168.1.0 is directly connected, Serial0/1
B 192.168.1.4 [200/0] via 10.10.10.2, 00:09:33
Mandiri1#sh ip rout
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
200.200.200.0/32 is subnetted, 1 subnets
C 200.200.200.1 is directly connected, Loopback0
202.202.202.0/32 is subnetted, 1 subnets
R 202.202.202.202 [120/2] via 192.168.1.1, 00:00:10, Serial0/0
192.168.1.0/30 is subnetted, 2 subnets
C 192.168.1.0 is directly connected, Serial0/0
R 192.168.1.4 [120/1] via 192.168.1.1, 00:00:10, Serial0/0
Test ping from Mandiri1 to Mandiri2 and do trace route
Mandiri1#ping 202.202.202.202
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 202.202.202.202, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 64/80/132 ms
Mandiri1#trac 202.202.202.202
Type escape sequence to abort.
Tracing the route to 202.202.202.202
1 192.168.1.1 36 msec 28 msec 20 msec
2 192.168.10.2 [MPLS: Labels 16/25 Exp 0] 76 msec 68 msec 56 msec
3 192.168.1.5 [MPLS: Label 25 Exp 0] 88 msec 56 msec 60 msec
4 192.168.1.6 100 msec * 124 msec
Subscribe to:
Posts (Atom)




