Este artículo forma parte de un grupo de artículos llamado
MPLS para Dummies en el que se pretende dar una iniciación práctica de
como configurar una red MPLS básica. Si sigues los pasos uno a uno, con
las configuraciones que aquí se presentan es imposible que no puedas montar tu
propia red MPLS :) .
Configuración:
Si leíste el anterior artículo de este grupo de artículos
verás que es hacer exactamente lo mismo que hacíamos con EIGR, pero ahora con BGP,
e incluso más fácil ya que ni siquiera hay que hacer redistribuciones. Si no
has leído el artículo te recomiendo que leas el grupo de artículos de MPLS para
Dummies.
router bgp 9
bgp log-neighbor-changes
redistribute connected
neighbor 192.168.49.4 remote-as 40905
R10:
router bgp 10R4:
bgp log-neighbor-changes
redistribute connected
neighbor 192.168.105.5 remote-as 40905
router bgp 40905R5:
address-family ipv4 vrf VPN910
neighbor 192.168.49.9 remote-as 9
neighbor 192.168.49.9 activate
exit-address-family
router bgp 40905
address-family ipv4 vrf VPN910
neighbor 192.168.105.10 remote-as 10
neighbor 192.168.105.10 activate
exit-address-family
Verificación:
Fácil y para toda la familia J
.
R9:
R9#show ip route
Codes: L - local, 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, H - NHRP, l - LISP
+ - replicated route, % - next hop override
Gateway of last resort is not set
100.0.0.0/32 is subnetted, 2 subnets
C 100.0.0.9 is directly connected, Loopback0
B 100.0.0.10 [20/0] via 192.168.49.4, 00:00:13
192.168.49.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.49.0/24 is directly connected, Ethernet0/0.49
L 192.168.49.9/32 is directly connected, Ethernet0/0.49
B 192.168.105.0/24 [20/0] via 192.168.49.4, 00:00:13
R9#ping 100.0.0.10
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 100.0.0.10, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 3/5/7 ms
R10:
R10#show ip route
Codes: L - local, 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, H - NHRP, l - LISP
+ - replicated route, % - next hop override
Gateway of last resort is not set
100.0.0.0/32 is subnetted, 2 subnets
B 100.0.0.9 [20/0] via 192.168.105.5, 00:11:30
C 100.0.0.10 is directly connected, Loopback0
B 192.168.49.0/24 [20/0] via 192.168.105.5, 00:11:30
192.168.105.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.105.0/24 is directly connected, Ethernet0/0.105
L 192.168.105.10/32 is directly connected, Ethernet0/0.105
R10#ping 100.0.0.9
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 100.0.0.9, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 2/3/5 ms
R4:
R4# show ip route vrf VPN910R5:
Routing Table: VPN910
Codes: L - local, 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, H - NHRP, l - LISP
+ - replicated route, % - next hop override
Gateway of last resort is not set
100.0.0.0/32 is subnetted, 2 subnets
B 100.0.0.9 [20/0] via 192.168.49.9, 00:15:46
B 100.0.0.10 [200/0] via 100.0.0.5, 00:14:58
192.168.49.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.49.0/24 is directly connected, Ethernet0/0.49
L 192.168.49.4/32 is directly connected, Ethernet0/0.49
B 192.168.105.0/24 [200/0] via 100.0.0.5, 00:14:58
R5#show ip route vrf VPN910
Routing Table: VPN910
Codes: L - local, 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, H - NHRP, l - LISP
+ - replicated route, % - next hop override
Gateway of last resort is not set
100.0.0.0/32 is subnetted, 2 subnets
B 100.0.0.9 [200/0] via 100.0.0.4, 00:16:33
B 100.0.0.10 [20/0] via 192.168.105.10, 00:15:45
B 192.168.49.0/24 [200/0] via 100.0.0.4, 00:16:33
192.168.105.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.105.0/24 is directly connected, Ethernet0/0.105
L 192.168.105.5/32 is directly connected, Ethernet0/0.105
No hay comentarios:
Publicar un comentario