OSPF Multi Area
OSPF Multi Area
DEPARTAMENTO DE TECNOLOGÍA
INGENIERÍA EN ELECTRONICA
R2#conf t
R2(config)#interface gigabitEthernet 2/0
R2(config-if)#ip address 192.168.1.2 255.255.255.0
R2(config-if)#no shutdown
R2(config-if)#interface gigabitEthernet 3/0
R2(config-if)#ip address 192.168.3.1 255.255.255.0
R2(config-if)#no shutdown
R2(config-if)#exit
R2(config)#interface fastEthernet 0/0
R2(config-if)#ip address 192.168.30.1 255.255.255.0
R2(config-if)#no shutdown
R2(config-if)#
R2(config)#router ospf 1
R2(config-router)#router-id 2.2.2.2
R2(config-router)#network 192.168.1.0 0.0.0.255 area 0
R2(config-router)#network 192.168.3.0 0.0.0.255 area 2
R2(config-router)#network 192.168.30.0 0.0.0.255 area 2
R2(config-router)#
R4#conf t
R4(config)#interface gigabitEthernet 3/0
R4(config-if)#ip address 192.168.3.2 255.255.255.0
R4(config-if)#no shutdown
R4(config-if)#exit
R4(config)#interface fastEthernet 0/0
R4(config-if)#ip address 192.168.20.1 255.255.255.0
R4(config-if)#no shutdown
R4(config)#router ospf 1
R4(config-router)#router-id 4.4.4.4
R4(config-router)#network 192.168.3.0 0.0.0.255 area 2
R4(config-router)#network 192.168.20.0 0.0.0.255 area 2
R4(config-router)#end
R4#
R3#conf t
R3(config)#interface gigabitEthernet 3/0
R3(config-if)#ip address 192.168.2.2 255.255.255.0
R3(config-if)#no shutdown
R3(config-if)#exit
R3(config)#interface gigabitEthernet 2/0
R3(config-if)#ip address 192.168.4.1 255.255.255.0
R3(config-if)#no shutdown
R3(config-if)#exit
R3(config)#interface fastEthernet 0/0
R3(config-if)#ip address 192.168.40.1 255.255.255.0
R3(config-if)#no shutdown
R3(config-if)#exit
R3(config)#router ospf 1
R3(config-router)#router-id 3.3.3.3
R3(config-router)#network 192.168.2.0 0.0.0.255 area 0
R3(config-router)#network 192.168.4.0 0.0.0.255 area 3
R3(config-router)#network 192.168.40.0 0.0.0.255 area 3
R3(config-router)#end
R3#
R5#conf t
R5(config)#interface gigabitEthernet 2/0
R5(config-if)#ip address 192.168.4.2 255.255.255.0
R5(config-if)#no shutdown
R5(config-if)#exit
R5(config)#interface fastEthernet 0/0
R5(config-if)#ip address 192.168.50.1 255.255.255.0
R5(config-if)#no shutdown
R5(config-if)#exit
R5(config)#router ospf 1
R5(config-router)#router-id 5.5.5.5
R5(config-router)#network 192.168.4.0 0.0.0.255 area 3
R5(config-router)#network 192.168.50.0 0.0.0.255 area 3
R5(config-router)#end
R5#
Pruebas de Verificación
Aplicando el comando de mostrar obtenemos
R4#show 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
PC4> sh ip
NAME : PC4[1]
IP/MASK : 192.168.30.10/24
GATEWAY : 192.168.30.1
DNS :
MAC : 00:50:79:66:68:03
LPORT : 20054
RHOST:PORT : 127.0.0.1:20055
MTU : 1500
PC4>
Configuraciones de los Routers obtenidas con el comando show run
R1#show running-config
Building configuration...
R1#
R2#show running-config
Building configuration...
R4#show running-config
Building configuration...
R3#show running-config
Building configuration...
R3#
R5#show running-config
Building configuration...
R5#
Tarea: OSPF Multi-Área
Agregar dos Routers después de R5 como se muestra en la figura:
La zona o área 3 servirá de ruta de tránsito entre área 0 y área 4, realizar las configuraciones
necesarias para lograr la comunicación entre las áreas.
Documentar el trabajo.