Escenario de enrutamiento BGP
Fecha: 12 de noviembre del 2014 Clase: Discovery 2
Escenario
Este escenario cumple con la segunda parte del capítulo 6 de Discovery 2 sobre enrutamiento, en el
mismo, se simula la interconexión de sistemas autónomos (AS) de diferentes ISP mediante un EGP
tal como BGP-4, y la implementación de RIP como IGP en uno de los sistemas autónomos, como
prueba final los redistribuimos en el EGP, también se propaga una ruta por defecto dentro del AS.
Para minimizar el conexionado y aumentar la cantidad de redes publicadas, se utilizaron subinterfaces
encapsulando 802.1q en todos los routers, las IP del NAP son secundarias para facilitar la configuración
de los routers desde las PC de los alumnos.
El direccionamiento utilizado es ficticio, con direcciones y máscaras amigables para facilitar la lectura.
Este escenario se realizó con equipos reales, algunas capturas son reproducciones de Packet Tracer.
Verificación
Telecom#sh ip route
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
C 192.168.72.0/24 is directly connected, FastEthernet0/1
B 200.69.20.0/24 [20/0] via 201.0.0.3, 00:32:12 (AS 300)
B 200.42.20.0/24 [20/0] via 201.0.0.4, 00:31:57 (AS 400)
C 200.45.20.0/24 is directly connected, FastEthernet0/0.20
190.100.0.0/24 is subnetted, 4 subnets (AS 200)
B 190.100.30.0 [20/0] via 201.0.0.2, 00:32:22
B 190.100.20.0 [20/0] via 201.0.0.2, 00:32:22
B 190.100.10.0 [20/0] via 201.0.0.2, 00:32:22
B 190.100.40.0 [20/0] via 201.0.0.2, 00:32:22
201.0.0.0/29 is subnetted, 1 subnets (red NAP)
C 201.0.0.0 is directly connected, FastEthernet0/1
B 200.69.30.0/24 [20/0] via 201.0.0.3, 00:32:12 (AS 300)
B 200.42.30.0/24 [20/0] via 201.0.0.4, 00:31:57 (AS 400)
C 200.45.30.0/24 is directly connected, FastEthernet0/0.30
B 200.42.10.0/24 [20/0] via 201.0.0.4, 00:31:57 (AS 400)
C 200.45.10.0/24 is directly connected, FastEthernet0/0.10
B 200.42.40.0/24 [20/0] via 201.0.0.4, 00:31:57 (AS 400)
C 200.45.40.0/24 is directly connected, FastEthernet0/0.40
B 200.69.40.0/24 [20/0] via 201.0.0.3, 00:32:13 (AS 300)
B 200.69.10.0/24 [20/0] via 201.0.0.3, 00:32:13 (AS 300)
180.64.0.0/16 is variably subnetted, 5 subnets, 2 masks (AS 500)
B 180.64.40.0/24 [20/0] via 201.0.0.5, 00:32:06
B 180.64.20.0/24 [20/0] via 201.0.0.5, 00:32:06
B 180.64.30.0/24 [20/0] via 201.0.0.5, 00:32:06
B 180.64.10.0/24 [20/0] via 201.0.0.5, 00:32:06
Telecom#
Level3#sh 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, + - replicated route
Gateway of last resort is not set
180.64.0.0/16 is variably subnetted, 9 subnets, 3 masks
C 180.64.10.0/24 is directly connected, GigabitEthernet0/0.10
L 180.64.10.1/32 is directly connected, GigabitEthernet0/0.10
C 180.64.20.0/24 is directly connected, GigabitEthernet0/0.20
L 180.64.20.1/32 is directly connected, GigabitEthernet0/0.20
C 180.64.30.0/24 is directly connected, GigabitEthernet0/0.30
L 180.64.30.1/32 is directly connected, GigabitEthernet0/0.30
C 180.64.40.0/24 is directly connected, GigabitEthernet0/0.40
L 180.64.40.1/32 is directly connected, GigabitEthernet0/0.40
190.100.0.0/24 is subnetted, 4 subnets
B 190.100.10.0 [20/0] via 201.0.0.2, 00:30:16
B 190.100.20.0 [20/0] via 201.0.0.2, 00:30:16
B 190.100.30.0 [20/0] via 201.0.0.2, 00:30:16
B 190.100.40.0 [20/0] via 201.0.0.2, 00:30:16
192.168.72.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.72.0/24 is directly connected, GigabitEthernet0/1
L 192.168.72.5/32 is directly connected, GigabitEthernet0/1
B 200.42.10.0/24 [20/0] via 201.0.0.4, 00:29:51
B 200.42.20.0/24 [20/0] via 201.0.0.4, 00:29:51
B 200.42.30.0/24 [20/0] via 201.0.0.4, 00:29:51
B 200.42.40.0/24 [20/0] via 201.0.0.4, 00:29:51
B 200.45.10.0/24 [20/0] via 201.0.0.1, 00:30:46
B 200.45.20.0/24 [20/0] via 201.0.0.1, 00:30:46
B 200.45.30.0/24 [20/0] via 201.0.0.1, 00:30:46
B 200.45.40.0/24 [20/0] via 201.0.0.1, 00:30:46
B 200.69.10.0/24 [20/0] via 201.0.0.3, 00:30:06
B 200.69.20.0/24 [20/0] via 201.0.0.3, 00:30:06
B 200.69.30.0/24 [20/0] via 201.0.0.3, 00:30:06
B 200.69.40.0/24 [20/0] via 201.0.0.3, 00:30:06
201.0.0.0/24 is variably subnetted, 2 subnets, 2 masks
C 201.0.0.0/29 is directly connected, GigabitEthernet0/1
L 201.0.0.5/32 is directly connected, GigabitEthernet0/1
Level3#
Level3#sh ip bgp summary
BGP router identifier 192.168.72.5, local AS number 500
BGP table version is 36, main routing table version 36
23 network entries using 2760 bytes of memory
71 path entries using 3692 bytes of memory
19/7 BGP path/bestpath attribute entries using 2356 bytes of memory
16 BGP AS-PATH entries using 384 bytes of memory
0 BGP route-map cache entries using 0 bytes of memory
0 BGP filter-list cache entries using 0 bytes of memory
BGP using 9192 total bytes of memory
BGP activity 23/0 prefixes, 71/0 paths, scan interval 60 secs
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
201.0.0.1 4 100 39 45 36 0 0 00:31:11 16
201.0.0.2 4 200 39 45 36 0 0 00:30:57 16
201.0.0.3 4 300 39 45 36 0 0 00:30:38 16
201.0.0.4 4 400 39 44 36 0 0 00:30:27 16
Level3#
Conexión de un IGP (RIP) en uno de los sistemas autónomos
Level3(config)#router rip
Level3(config-router)# version 2
Level3(config-router)#
redistribute bgp 500 metric 15 (publica las ruta BGP dentro del
RIP)
Level3(config-router)#
network 180.64.0.0 (red en común con el router
interior)
Level3(config-router)#
no auto-summary
Router_IGP(config)#router rip
Router_IGP(config-router)#version 2
Router_IGP(config-router)#network 180.64.0.0 (red en común con el router de borde)
Router_IGP(config-router)#no auto-summary
Verificación
Level3#sh 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, + - replicated route
Gateway of last resort is not set
180.64.0.0/16 is variably subnetted, 9 subnets, 3 masks
C 180.64.10.0/24 is directly connected, GigabitEthernet0/0.10
L 180.64.10.1/32 is directly connected, GigabitEthernet0/0.10
C 180.64.20.0/24 is directly connected, GigabitEthernet0/0.20
L 180.64.20.1/32 is directly connected, GigabitEthernet0/0.20
C 180.64.30.0/24 is directly connected, GigabitEthernet0/0.30
L 180.64.30.1/32 is directly connected, GigabitEthernet0/0.30
C 180.64.40.0/24 is directly connected, GigabitEthernet0/0.40
L 180.64.40.1/32 is directly connected, GigabitEthernet0/0.40
R 180.64.100.0/29
[120/1] via
180.64.10.2, 00:00:11, GigabitEthernet0/0.10
190.100.0.0/24 is subnetted, 4 subnets
B 190.100.10.0 [20/0] via 201.0.0.2, 00:30:16
B 190.100.20.0 [20/0] via 201.0.0.2, 00:30:16
B 190.100.30.0 [20/0] via 201.0.0.2, 00:30:16
B 190.100.40.0 [20/0] via 201.0.0.2, 00:30:16
192.168.72.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.72.0/24 is directly connected, GigabitEthernet0/1
L 192.168.72.5/32 is directly connected, GigabitEthernet0/1
B 200.42.10.0/24 [20/0] via 201.0.0.4, 00:29:51
B 200.42.20.0/24 [20/0] via 201.0.0.4, 00:29:51
B 200.42.30.0/24 [20/0] via 201.0.0.4, 00:29:51
B 200.42.40.0/24 [20/0] via 201.0.0.4, 00:29:51
B 200.45.10.0/24 [20/0] via 201.0.0.1, 00:30:46
B 200.45.20.0/24 [20/0] via 201.0.0.1, 00:30:46
B 200.45.30.0/24 [20/0] via 201.0.0.1, 00:30:46
B 200.45.40.0/24 [20/0] via 201.0.0.1, 00:30:46
B 200.69.10.0/24 [20/0] via 201.0.0.3, 00:30:06
B 200.69.20.0/24 [20/0] via 201.0.0.3, 00:30:06
B 200.69.30.0/24 [20/0] via 201.0.0.3, 00:30:06
B 200.69.40.0/24 [20/0] via 201.0.0.3, 00:30:06
201.0.0.0/24 is variably subnetted, 2 subnets, 2 masks
C 201.0.0.0/29 is directly connected, GigabitEthernet0/1
L 201.0.0.5/32 is directly connected, GigabitEthernet0/1
Level3#
Router_IGP#sh ip route
Codes: C - connected, S - static, I - IGRP, 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, E - EGP
i - IS-IS, 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
180.64.0.0/24 is subnetted, 5 subnets
C 180.64.10.0 is directly connected, FastEthernet0/1
R 180.64.20.0 [120/1] via
180.64.10.1, 00:00:02, FastEthernet0/1
R 180.64.30.0 [120/1] via
180.64.10.1, 00:00:02, FastEthernet0/1
R 180.64.40.0 [120/1] via
180.64.10.1, 00:00:02, FastEthernet0/1
C 180.64.100.0 is directly connected, FastEthernet0/0
Router_IGP#
Redistribución del IGP (RIP) en el EGP (BGP-4)
Level3(config)#router bgp 500
Level3(config-router)#redistribute rip metric 1
Level3(config-router)#exit
Verificación
Telecom#sh ip route
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
C 192.168.72.0/24 is directly connected, FastEthernet0/1
B 200.69.20.0/24 [20/0] via 201.0.0.3, 00:32:12
B 200.42.20.0/24 [20/0] via 201.0.0.4, 00:31:57
C 200.45.20.0/24 is directly connected, FastEthernet0/0.20
190.100.0.0/24 is subnetted, 4 subnets
B 190.100.30.0 [20/0] via 201.0.0.2, 00:32:22
B 190.100.20.0 [20/0] via 201.0.0.2, 00:32:22
B 190.100.10.0 [20/0] via 201.0.0.2, 00:32:22
B 190.100.40.0 [20/0] via 201.0.0.2, 00:32:22
201.0.0.0/29 is subnetted, 1 subnets
C 201.0.0.0 is directly connected, FastEthernet0/1
B 200.69.30.0/24 [20/0] via 201.0.0.3, 00:32:12
B 200.42.30.0/24 [20/0] via 201.0.0.4, 00:31:57
C 200.45.30.0/24 is directly connected, FastEthernet0/0.30
B 200.42.10.0/24 [20/0] via 201.0.0.4, 00:31:57
C 200.45.10.0/24 is directly connected, FastEthernet0/0.10
B 200.42.40.0/24 [20/0] via 201.0.0.4, 00:31:57
C 200.45.40.0/24 is directly connected, FastEthernet0/0.40
B 200.69.40.0/24 [20/0] via 201.0.0.3, 00:32:13
B 200.69.10.0/24 [20/0] via 201.0.0.3, 00:32:13
180.64.0.0/16 is variably subnetted, 5 subnets, 2 masks
B 180.64.100.0/29 [20/1]
via 201.0.0.5, 00:15:51 (ver
la métrica 1 forzada por la redistribución)
B 180.64.40.0/24 [20/0] via 201.0.0.5, 00:32:06
B 180.64.20.0/24 [20/0] via 201.0.0.5, 00:32:06
B 180.64.30.0/24 [20/0] via 201.0.0.5, 00:32:06
B 180.64.10.0/24 [20/0] via 201.0.0.5, 00:32:06
Telecom#
Redistribución del EGP (BGP-4) en el IGP (RIP)
Level3(config-if)#router rip
Level3(config-router)#redistribute bgp 500 metric 15 (se le configura métrica 15 para
diferenciar,
también 15 es la métrica máxima de RIP)
Verificación
Router_IGP#sh ip route
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, 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 (no existe gateway por defecto)
R 200.69.20.0/24 [120/15] via 180.64.10.1, 00:00:07, Ethernet1 (ver la métrica 15 por la redistribución)
R 200.42.20.0/24 [120/15] via 180.64.10.1, 00:00:07, Ethernet1
R 200.45.20.0/24 [120/15] via 180.64.10.1, 00:00:07, Ethernet1
190.100.0.0/24 is subnetted, 4 subnets
R 190.100.30.0 [120/15] via 180.64.10.1, 00:00:07, Ethernet1
R 190.100.20.0 [120/15] via 180.64.10.1, 00:00:07, Ethernet1
R 190.100.10.0 [120/15] via 180.64.10.1, 00:00:07, Ethernet1
R 190.100.40.0 [120/15] via 180.64.10.1, 00:00:07, Ethernet1
R 200.69.30.0/24 [120/15] via 180.64.10.1, 00:00:07, Ethernet1
R 200.42.30.0/24 [120/15] via 180.64.10.1, 00:00:07, Ethernet1
R 200.45.30.0/24 [120/15] via 180.64.10.1, 00:00:07, Ethernet1
R 200.42.10.0/24 [120/15] via 180.64.10.1, 00:00:07, Ethernet1
180.64.0.0/16 is variably subnetted, 5 subnets, 2 masks
C 180.64.100.0/29 is directly connected, Ethernet0
R 180.64.40.0/24 [120/1] via 180.64.10.1, 00:00:21, Ethernet1 (rutas aprendidas por RIP exclusivamente)
R 180.64.20.0/24 [120/1] via 180.64.10.1, 00:00:21, Ethernet1 (rutas aprendidas por RIP exclusivamente)
R 180.64.30.0/24 [120/1] via 180.64.10.1, 00:00:21, Ethernet1 (rutas aprendidas por RIP exclusivamente)
C 180.64.10.0/24 is directly connected, Ethernet1
Router_IGP#
Inyección en el IGP (RIP) de una ruta por defecto
Level3(config)#ip route 0.0.0.0 0.0.0.0 null0 (null0 es una interface virtual multiuso)
Level3(config)#router rip
Level3(config-router)#
redistribute static
Level3(config-router)#
Router_IGP#sh ip route (verificación)
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, 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 180.64.10.1 to network 0.0.0.0 (ruta por defecto)
R 192.168.72.0/24 [120/1] via 180.64.10.1, 00:00:08, Ethernet1
R 200.69.20.0/24 [120/15] via 180.64.10.1, 00:00:08, Ethernet1
R 200.42.20.0/24 [120/15] via 180.64.10.1, 00:00:08, Ethernet1
R 200.45.20.0/24 [120/15] via 180.64.10.1, 00:00:08, Ethernet1
190.100.0.0/24 is subnetted, 4 subnets
R 190.100.30.0 [120/15] via 180.64.10.1, 00:00:08, Ethernet1
R 190.100.20.0 [120/15] via 180.64.10.1, 00:00:08, Ethernet1
R 190.100.10.0 [120/15] via 180.64.10.1, 00:00:08, Ethernet1
R 190.100.40.0 [120/15] via 180.64.10.1, 00:00:09, Ethernet1
R 200.69.30.0/24 [120/15] via 180.64.10.1, 00:00:09, Ethernet1
R 200.42.30.0/24 [120/15] via 180.64.10.1, 00:00:09, Ethernet1
R 200.45.30.0/24 [120/15] via 180.64.10.1, 00:00:09, Ethernet1
R 200.42.10.0/24 [120/15] via 180.64.10.1, 00:00:09, Ethernet1
R 200.45.10.0/24 [120/15] via 180.64.10.1, 00:00:21, Ethernet1
R 200.42.40.0/24 [120/15] via 180.64.10.1, 00:00:21, Ethernet1
R 200.45.40.0/24 [120/15] via 180.64.10.1, 00:00:21, Ethernet1
R 200.69.40.0/24 [120/15] via 180.64.10.1, 00:00:21, Ethernet1
R 200.69.10.0/24 [120/15] via 180.64.10.1, 00:00:21, Ethernet1
180.64.0.0/16 is variably subnetted, 5 subnets, 2 masks
C 180.64.100.0/29 is directly connected, Ethernet0
R 180.64.40.0/24 [120/1] via 180.64.10.1, 00:00:21, Ethernet1
R 180.64.20.0/24 [120/1] via 180.64.10.1, 00:00:21, Ethernet1
R 180.64.30.0/24 [120/1] via 180.64.10.1, 00:00:21, Ethernet1
C 180.64.10.0/24 is directly connected, Ethernet1
R* 0.0.0.0/0 [120/1] via 180.64.10.1, 00:00:19, Ethernet1 (ruta por defecto)
Router_IGP#
El escenario final
Configuración de los equipos
Telecom#sh runn (lo mas relevante)
Building configuration...
Current configuration : 1809 bytes
!
version 12.4
!
hostname Telecom
!
interface FastEthernet0/0
no ip address
!
interface FastEthernet0/0.10 (estas sub-interfaces son para generar muchas redes con una sola placa de red)
encapsulation dot1Q 10
ip address 200.45.10.1 255.255.255.0
!
interface FastEthernet0/0.20
encapsulation dot1Q 20
ip address 200.45.20.1 255.255.255.0
!
interface FastEthernet0/0.30
encapsulation dot1Q 30
ip address 200.45.30.1 255.255.255.0
!
interface FastEthernet0/0.40
encapsulation dot1Q 40
ip address 200.45.40.1 255.255.255.0
!
interface FastEthernet0/1
ip address 201.0.0.1 255.255.255.248 secondary (utilizada para vecinos BGP en el NAP)
ip address 192.168.72.1 255.255.255.0 (utilizada para acceder por Telnet con el ranog del aula)
!
!
router bgp 100
no synchronization
bgp log-neighbor-changes
network 200.45.10.0
network 200.45.20.0
network 200.45.30.0
network 200.45.40.0
neighbor 201.0.0.2 remote-as 200
neighbor 201.0.0.3 remote-as 300
neighbor 201.0.0.4 remote-as 400
neighbor 201.0.0.5 remote-as 500
no auto-summary
!
end
Telecom#
Claro# sh runn (lo mas
relevante)
Building configuration...
Current configuration : 1755 bytes
!
version 12.4
!
hostname Claro
!
interface FastEthernet0/0
no ip address
!
interface FastEthernet0/0.10 (estas sub-interfaces son para generar muchas redes con una sola placa de red)
encapsulation dot1Q 10
ip address 190.100.10.1 255.255.255.0
!
interface FastEthernet0/0.20
encapsulation dot1Q 20
ip address 190.100.20.1 255.255.255.0
!
interface FastEthernet0/0.30
encapsulation dot1Q 30
ip address 190.100.30.1 255.255.255.0
!
interface FastEthernet0/0.40
encapsulation dot1Q 40
ip address 190.100.40.1 255.255.255.0
!
interface FastEthernet0/1
ip address 201.0.0.2 255.255.255.248 secondary (utilizada para vecinos BGP en el NAP)
ip address 192.168.72.2 255.255.255.0 (utilizada para acceder por Telnet con el ranog del aula)
!
router bgp 200
no synchronization
bgp log-neighbor-changes
network 190.100.10.0 mask 255.255.255.0
network 190.100.20.0 mask 255.255.255.0
network 190.100.30.0 mask 255.255.255.0
network 190.100.40.0 mask 255.255.255.0
neighbor 201.0.0.1 remote-as 100
neighbor 201.0.0.3 remote-as 300
neighbor 201.0.0.4 remote-as 400
neighbor 201.0.0.5 remote-as 500
no auto-summary
!
end
Claro#
iPlan# sh runn (lo mas relevante)
Building configuration...
Current configuration : 1643 bytes
!
version 12.4
!
hostname iPlan
!
interface FastEthernet0/0
no ip address
!
interface FastEthernet0/0.10 (estas sub-interfaces son para generar muchas redes con una sola placa de red)
encapsulation dot1Q 10
ip address 200.69.10.1 255.255.255.0
!
interface FastEthernet0/0.20
encapsulation dot1Q 20
ip address 200.69.20.1 255.255.255.0
!
interface FastEthernet0/0.30
encapsulation dot1Q 30
ip address 200.69.30.1 255.255.255.0
!
interface FastEthernet0/0.40
encapsulation dot1Q 40
ip address 200.69.40.1 255.255.255.0
!
interface FastEthernet0/1
ip address 201.0.0.3 255.255.255.248 secondary (utilizada para vecinos BGP en el NAP)
ip address 192.168.72.3 255.255.255.0 (utilizada para acceder por Telnet con el ranog del aula)
!
router bgp 300
no synchronization
bgp log-neighbor-changes
network 200.69.10.0
network 200.69.20.0
network 200.69.30.0
network 200.69.40.0
neighbor 201.0.0.1 remote-as 100
neighbor 201.0.0.2 remote-as 200
neighbor 201.0.0.4 remote-as 400
neighbor 201.0.0.5 remote-as 500
no auto-summary
!
end
iPlan#
Fibertel# sh runn (lo mas
relevante)
Building configuration...
Current configuration : 1665 bytes
!
version 12.4
!
hostname Fibertel
!
interface FastEthernet0/0
no ip address
!
interface FastEthernet0/0.10 (estas sub-interfaces son para generar muchas redes con una sola placa de red)
encapsulation dot1Q 10
ip address 200.42.10.1 255.255.255.0
!
interface FastEthernet0/0.20
encapsulation dot1Q 20
ip address 200.42.20.1 255.255.255.0
!
interface FastEthernet0/0.30
encapsulation dot1Q 30
ip address 200.42.30.1 255.255.255.0
!
interface FastEthernet0/0.40
encapsulation dot1Q 40
ip address 200.42.40.1 255.255.255.0
!
interface FastEthernet0/1
ip address 201.0.0.4 255.255.255.248 secondary (utilizada para vecinos BGP en el NAP)
ip address 192.168.72.4 255.255.255.0 (utilizada para acceder por Telnet con el ranog del aula)
!
router bgp 400
no synchronization
bgp log-neighbor-changes
network 200.42.10.0
network 200.42.20.0
network 200.42.30.0
network 200.42.40.0
neighbor 201.0.0.1 remote-as 100
neighbor 201.0.0.2 remote-as 200
neighbor 201.0.0.3 remote-as 300
neighbor 201.0.0.5 remote-as 500
no auto-summary
!
end
Fibertel#
Level3# sh runn (lo mas relevante)
Building configuration...
Current configuration : 1922 bytes
!
! Last configuration change at 14:38:17 UTC Wed Nov 12 2014
!
version 15.0
!
hostname Level3
!
interface GigabitEthernet0/0
no ip address
!
interface GigabitEthernet0/0.10 (estas sub-interfaces son para generar muchas redes con una sola placa de red)
encapsulation dot1Q 10
ip address 180.64.10.1 255.255.255.0
!
interface GigabitEthernet0/0.20
encapsulation dot1Q 20
ip address 180.64.20.1 255.255.255.0
!
interface GigabitEthernet0/0.30
encapsulation dot1Q 30
ip address 180.64.30.1 255.255.255.0
!
interface GigabitEthernet0/0.40
encapsulation dot1Q 40
ip address 180.64.40.1 255.255.255.0
!
interface GigabitEthernet0/1
ip address 201.0.0.5 255.255.255.248 secondary (utilizada para vecinos BGP en el NAP)
ip address 192.168.72.5 255.255.255.0 (utilizada para acceder por Telnet con el ranog del aula)
!
router rip
version 2
redistribute static
redistribute bgp 500 metric 15
network 180.64.0.0
no auto-summary
!
router bgp 500
no synchronization
bgp log-neighbor-changes
network 180.64.10.0 mask 255.255.255.0
network 180.64.20.0 mask 255.255.255.0
network 180.64.30.0 mask 255.255.255.0
network 180.64.40.0 mask 255.255.255.0
redistribute rip metric 1
neighbor 201.0.0.1 remote-as 100
neighbor 201.0.0.2 remote-as 200
neighbor 201.0.0.3 remote-as 300
neighbor 201.0.0.4 remote-as 400
no auto-summary
!
end
Level3#
Router_IGP#sh runn (lo mas relevante)
Building configuration...
Current configuration : 526 bytes
!
version 12.2
hostname Router_IGP
!
interface Ethernet0
ip address 180.64.100.1 255.255.255.248
!
interface Ethernet1
ip address 180.64.10.2 255.255.255.0
!
router rip
version 2
network 180.64.0.0
no auto-summary
!
end
Router_IGP#
(2014) My mind is in a routing loop
Rosario, Argentina