Академический Документы
Профессиональный Документы
Культура Документы
OSPF in Multiareas Configuring the network 1. Configure the hostname on all routers and switches as shown in the network diagram. 2. Configure the enable secret password to be cisco in all routers and switches. 3. Configure the enable password to be free on all routers and switches. 4. Configure the VTY password to be cisco on all routers and switches. 5. Configure the IP address on all routers and switches as shown in the network diagram. 6. Configure on all routers not to do domain lookup.
7. Configure the console on all routers not to timeout. 8. Configure Loopback interfaces on BB2 and BB3 as shown in the following table: Interface BB2 Lo0 BB2 Lo1 BB2 Lo2 BB3 Lo0 BB3 Lo1 BB3 Lo2 IP Address 172.26.2.17/28 172.26.2.33/28 172.26.2.49/28 172.26.3.17/28 172.26.3.33/28 172.26.3.49/28
9. Enable OSPF routing protocol on all routers with process 200. 10.Configure the Network interfaces of R1, R2, and R3 as shown in the network diagram to be in OSPF Area 0. 11.Configure the Network interfaces of R1, and BB1 as shown in the network diagram to be in OSPF Area 1. 12.Configure the Network interfaces of R2, and BB2 as shown in the network diagram to be in OSPF Area 2. 13.Configure the Network interfaces of R3, and BB3 as shown in the network diagram to be in OSPF Area 3.
BB1(config)#int f0/1 BB1(config-if)#ip add 172.16.11.254 255.255.255.0 BB1(config-if)#no sh BB1(config-if)#exit BB1(config)#int s0/0/0 BB1(config-if)#ip add 10.1.1.100 255.255.255.0 BB1(config-if)#no sh BB1(config-if)#exit BB1(config)#no ip domain lookup BB1(config)#line console 0 BB1(config-line)#exec-timeout 0 0 BB1(config-line)#exit BB1(config)#route ospf 200 BB1(config-router)#network 172.16.11.0 0.0.0.255 area 1 BB1(config-router)#network 172.16.10.0 0.0.0.255 area 1 BB1(config-router)#network 10.1.1.0 0.0.0.255 area 1 BB1(config-router)#exit BB1(config)#exit BB1#show ip protocol Routing Protocol is "ospf 200" Outgoing update filter list for all interfaces is not set Incoming update filter list for all interfaces is not set Router ID 172.16.11.254 Number of areas in this router is 1. 1 normal 0 stub 0 nssa Maximum path: 4 Routing for Networks: 172.16.11.0 0.0.0.255 area 1 172.16.10.0 0.0.0.255 area 1 10.1.1.0 0.0.0.255 area 1 Routing Information Sources: Gateway Distance Last Update 172.16.11.254 110 00:02:00 192.168.1.49 110 00:02:01 Distance: (default is 110)
R1(config-if)#no sh R1(config-if)#exit R1(config)#int s0/1/0 R1(config-if)#ip add 192.168.1.33 255.255.255.240 R1(config-if)#no sh R1(config-if)#exit R1(config)#int s0/1/1 R1(config-if)#ip add 192.168.1.49 255.255.255.240 R1(config-if)#no sh R1(config-if)#exit R1(config)#no ip domain lookup R1(config)#line console 0 R1(config-line)#exec-timeout 0 0 R1(config-line)#exit R1(config)#route ospf 200 R1(config-router)#network 192.168.1.32 0.0.0.15 area 0 R1(config-router)#network 192.168.1.48 0.0.0.15 area 0 R1(config-router)#network 10.1.1.0 0.0.0.255 area 1 R1(config-router)#exit R1(config)#exit R1#show ip protocol Routing Protocol is "ospf 200" Outgoing update filter list for all interfaces is not set Incoming update filter list for all interfaces is not set Router ID 192.168.1.49 Number of areas in this router is 2. 2 normal 0 stub 0 nssa Maximum path: 4 Routing for Networks: 192.168.1.32 0.0.0.15 area 0 192.168.1.48 0.0.0.15 area 0 10.1.1.0 0.0.0.255 area 1 Routing Information Sources: Gateway Distance Last Update 172.16.11.254 110 00:08:50 192.168.1.49 110 00:08:50 192.168.1.65 110 00:08:51 192.168.1.66 110 00:08:50 Distance: (default is 110)
R2(config-line)#login R2(config-line)#exit R2(config)#int s0/0/0 R2(config-if)#ip add 192.168.1.34 255.255.255.240 R2(config-if)#no sh R2(config-if)#exit R2(config)#int s0/0/1 R2(config-if)#ip add 172.22.2.1 255.255.255.0 R2(config-if)#no sh R2(config-if)#exit R2(config)#int f0/0 R2(config-if)#ip add 192.168.1.65 255.255.255.240 R2(config-if)#no sh R2(config-if)#exit R2(config)#no ip domain lookup R2(config)#line console 0 R2(config-line)#exec-timeout 0 0 R2(config-line)#exit R2(config)#route ospf 200 R2(config-router)#network 192.168.1.32 0.0.0.15 area 0 R2(config-router)#network 192.168.1.64 0.0.0.15 area 0 R2(config-router)#network 172.22.2.0 0.0.0.255 area 2 R2(config-router)#exit R2(config)#exit R2#show ip protocol Routing Protocol is "ospf 200" Outgoing update filter list for all interfaces is not set Incoming update filter list for all interfaces is not set Router ID 192.168.1.65 Number of areas in this router is 2. 2 normal 0 stub 0 nssa Maximum path: 4 Routing for Networks: 192.168.1.32 0.0.0.15 area 0 192.168.1.64 0.0.0.15 area 0 172.22.2.0 0.0.0.255 area 2 Routing Information Sources: Gateway Distance Last Update 172.26.2.49 110 00:15:06 192.168.1.49 110 00:11:25 192.168.1.65 110 00:15:06 192.168.1.66 110 00:11:25 Distance: (default is 110)
R3(config-line)#login R3(config-line)#exit R3(config)#line vty 0 4 R3(config-line)#password ciscotel R3(config-line)#login R3(config-line)#exit R3(config)#int f0/0 R3(config-if)#ip add 192.168.1.66 255.255.255.240 R3(config-if)#no sh R3(config-if)#exit R3(config)#int s0/0/0 R3(config-if)#ip add 172.22.1.1 255.255.255.0 R3(config-if)#no sh R3(config-if)#exit R3(config)#int s0/0/1 R3(config-if)#ip add 192.168.1.50 255.255.255.240 R3(config-if)#no sh R3(config-if)#exit R3(config)#no ip domain lookup R3(config)#line console 0 R3(config-line)#exec-timeout 0 0 R3(config-line)#exit R3(config)#route ospf 200 R3(config-router)#network 192.168.1.48 0.0.0.15 area 0 R3(config-router)#network 192.168.1.64 0.0.0.15 area 0 R3(config-router)#network 172.22.1.0 0.0.0.255 area 3 R3(config-router)#exit R3(config)#exit R3#show ip protocol Routing Protocol is "ospf 200" Outgoing update filter list for all interfaces is not set Incoming update filter list for all interfaces is not set Router ID 192.168.1.66 Number of areas in this router is 2. 2 normal 0 stub 0 nssa Maximum path: 4 Routing for Networks: 192.168.1.48 0.0.0.15 area 0 192.168.1.64 0.0.0.15 area 0 172.22.1.0 0.0.0.255 area 3 Routing Information Sources: Gateway Distance Last Update 172.26.3.49 110 00:12:41 192.168.1.49 110 00:12:40 192.168.1.65 110 00:12:41 192.168.1.66 110 00:12:40 Distance: (default is 110)
BB2(config)#enable secret cisco BB2(config)#enable password bb2 BB2(config)#line con 0 BB2(config-line)#password libre BB2(config-line)#login BB2(config-line)#exit BB2(config)#line vty 0 4 BB2(config-line)#password ciscotel BB2(config-line)#login BB2(config-line)#exit BB2(config)#int s0/0/1 BB2(config-if)#ip add 172.22.2.100 255.255.255.0 BB2(config-if)#no sh BB2(config-if)#exit BB2(config)#int f0/0 BB2(config-if)#ip add 172.21.21.254 255.255.255.0 BB2(config-if)#no sh BB2(config-if)#exit BB2(config)#no ip domain lookup BB2(config)#line console 0 BB2(config-line)#exec-timeout 0 0 BB2(config-line)#exit BB2(config)#int loopback 0 BB2(config-if)#ip add 172.26.2.17 255.255.255.240 BB2(config-if)#exit BB2(config)#int loopback 1 BB2(config-if)#ip add 172.26.2.33 255.255.255.240 BB2(config-if)#exit BB2(config)#int loopback 2 BB2(config-if)#ip add 172.26.2.49 255.255.255.240 BB2(config-if)#exit BB2(config)#route ospf 200 BB2(config-router)#network 172.22.2.0 0.0.0.255 area 2 BB2(config-router)#network 172.21.21.0 0.0.0.255 area 2 BB2(config-router)#exit BB2(config)#exit BB2#sh ip protocol Routing Protocol is "ospf 200" Outgoing update filter list for all interfaces is not set Incoming update filter list for all interfaces is not set Router ID 172.26.2.49 Number of areas in this router is 1. 1 normal 0 stub 0 nssa Maximum path: 4 Routing for Networks: 172.21.21.0 0.0.0.255 area 2 172.22.2.0 0.0.0.255 area 2 Routing Information Sources: Gateway Distance Last Update 172.26.2.49 110 00:00:00 192.168.1.65 110 00:00:00 Distance: (default is 110)
g) Configuracin para Switch SW1: Switch>en Switch#conf t Switch(config)#hostname SW1 SW1(config)#enable secret adminsw1 SW1(config)#enable password sw1 SW1(config)#line con 0 SW1(config-line)#password libre SW1(config-line)#login SW1(config-line)#exit SW1(config)#line vty 0 4 SW1(config-line)#password ciscotel SW1(config-line)#login SW1(config-line)#exit SW1(config)#int vlan 1 SW1(config-if)#ip add 172.16.10.250 255.255.255.0 SW1(config-if)#no sh SW1(config-if)#exit SW1(config)#ip default-gateway 172.16.10.254 SW1(config)# h) Configuracin para Switch SW2:
Switch>en Switch#conf t Switch(config)#hostname SW2 SW2(config)#enable secret adminsw2 SW2(config)#enable password sw2 SW2(config)#line con 0 SW2(config-line)#password libre SW2(config-line)#login SW2(config-line)#exit SW2(config)#line vty 0 4 SW2(config-line)#password ciscotel SW2(config-line)#login SW2(config-line)#exit SW2(config)#int vlan 1 SW2(config-if)#ip add 172.16.11.250 255.255.255.0 SW2(config-if)#no sh SW2(config-if)#exit SW2(config)#ip default-gateway 172.16.11.254 SW2(config)#
i) Configuracin para Switch SW3: Switch>en Switch#conf t Switch(config)#hostname SW3 SW3(config)#enable secret adminsw3 SW3(config)#enable secret sw3 SW3(config)#line vty 0 4 SW3(config-line)#password ciscotel SW3(config-line)#login SW3(config-line)#exit SW3(config)# j) Configuracin para Switch SW4: Switch>en Switch#conf t Switch(config)#hostname SW4 SW4(config)#enable secret adminsw4 SW4(config)#enable password sw4 SW4(config)#line con 0 SW4(config-line)#password libre SW4(config-line)#login SW4(config-line)#exit SW4(config)#line vty 0 4 SW4(config-line)#password ciscotel SW4(config-line)#login SW4(config-line)#exit SW4(config)#int vlan 1 SW4(config-if)#ip add 172.21.21.250 255.255.255.0 SW4(config-if)#no sh SW4(config-if)#exit SW4(config)#ip default-gateway 172.21.21.254 SW4(config)# k) Configuracin para Switch SW5: Switch>en Switch#conf t Switch(config)#hostname SW5 SW5(config)#enable secret adminsw5 SW5(config)#enable password sw5 SW5(config)#line con 0 SW5(config-line)#password libre SW5(config-line)#login SW5(config-line)#exit SW5(config)#line vty 0 4 SW5(config-line)#password ciscotel SW5(config-line)#login
SW5(config-line)#exit SW5(config)#int vlan 1 SW5(config-if)#ip add 172.31.21.250 255.255.255.0 SW5(config-if)#no sh SW5(config-if)#exit SW5(config)#ip default-gateway 172.31.21.254 SW5(config)#
Comentario: La implementacin del protocolo OSPF [MULTI AREA] es similar al anterior pero es un poco ms tedioso, pues se tiene que definir bien las reas a diferencia del SINGLE REA. Nos cost un poco ms trabajo y tiempo, pues hay ciertas funciones que no se tienen bien en claro tal como es el loopback. Alumnos: -Cunya Tejada, Victor A. -Pisfil Huamn, Sofa M.