Beruflich Dokumente
Kultur Dokumente
Objetivos
Configurar las direcciones IP en las interfaces ethernet en cada uno de los dos routers.
El objetivo de esta prctica de laboratorio es integrar los conocimientos adquiridos en los mdulos 1, 2 y 3.
Mdulo 1, Direccionamiento IP
Mdulo 2, Configuracin de Switches, Enlaces Troncales, VLANs y DHCP
Mdulo 3, Configuracin de routers y encaminamiento dinmico con OSPF.
Actividades
Agregue 6 routers segn la siguiente topologa de interconexin.
Nombre
R1
R2
R3
R4
R5
R6
IP de Loopback
10.0.0.1/32
10.0.0.2/32
10.0.0.3/32
10.0.0.4/32
10.0.0.5/32
10.0.0.6/32
Contraseas
Consola
consola
VTY
vty123
Enable
Redes1
Router>enable
Router#configure terminal
Router(config)#hostname R2
R2(config)#line console 0
R2(config-line)#password consola
R2(config-line)#login
R2(config-line)#exit
R2(config)#line vty 0 15
R2(config-line)#password vty123
R2(config-line)#login
R2(config-line)#exit
R2(config)#enable secret Redes1
R2(config)#
R2(config)#interface loopback 0
R2(config-if)#ip address 10.0.0.2 255.255.255.255
R2(config-if)#end
R2#
Router>enable
Router#configure terminal
Router(config)#hostname R3
R3(config)#line console 0
R3(config-line)#password consola
R3(config-line)#login
R3(config-line)#exit
R3(config)#line vty 0 15
R3(config-line)#password vty123
R3(config-line)#login
R3(config-line)#exit
R3(config)#enable secret Redes1
R3(config)#
R3(config)#interface loopback 0
R3(config-if)#ip address 10.0.0.3 255.255.255.255
R3(config-if)#end
R3#
Router>enable
Router#configure terminal
Router(config)#hostname R4
R4(config)#line console 0
R4(config-line)#password consola
R4(config-line)#login
R4(config-line)#exit
R4(config)#line vty 0 15
R4(config-line)#password vty123
R4(config-line)#login
R4(config-line)#exit
R4(config)#enable secret Redes1
R4(config)#
R4(config)#interface loopback 0
2) Realice la configuracin de las interfaces de cada router segn la informacin de la siguiente tabla.
Router
R1
R1
R2
R2
R3
R4
R4
R5
Interface
gi1/0
gi2/0
gi3/0
gi4/0
gi1/0
gi3/0
gi2/0
gi1/0
Descripcin
InterfaceR1aR2
InterfaceR1aR3
InterfaceR2aR3
InterfaceR2aR6
InterfaceR3aR4
InterfaceR4aR5
InterfaceR4aR6
InterfaceR5aR6
IP
10.1.2.1
10.1.3.1
10.2.3.1
10.2.6.1
10.3.4.1
10.4.5.1
10.4.6.1
10.5.6.1
Mscara
255.255.255.252
255.255.255.252
255.255.255.252
255.255.255.252
255.255.255.252
255.255.255.252
255.255.255.252
255.255.255.252
Router
R2
R3
R3
R6
R4
R5
R6
R6
Interface
gi1/0
gi2/0
gi3/0
gi4/0
gi1/0
gi3/0
gi2/0
gi1/0
Descripcin
InterfaceR2aR1
InterfaceR3aR1
InterfaceR3aR2
InterfaceR6aR2
InterfaceR4aR3
InterfaceR5aR4
InterfaceR6aR4
InterfaceR6aR5
IP
10.1.2.2
10.1.3.2
10.2.3.2
10.2.6.2
10.3.4.2
10.4.5.2
10.4.6.2
10.5.6.2
Mscara
255.255.255.252
255.255.255.252
255.255.255.252
255.255.255.252
255.255.255.252
255.255.255.252
255.255.255.252
255.255.255.252
configure terminal
interface gi1/0
ip address 10.1.2.1 255.255.255.252
description InterfaceR1aR2
no shutdown
exit
interface gi2/0
ip address 10.1.3.1 255.255.255.252
description InterfaceR1aR3
no shutdown
end
R2
configure terminal
interface gi1/0
ip address 10.1.2.2 255.255.255.252
description InterfaceR2aR1
no shutdown
exit
interface gi3/0
ip address 10.2.3.1 255.255.255.252
description InterfaceR2aR3
no shutdown
exit
interface gi4/0
ip address 10.2.6.1 255.255.255.252
description InterfaceR2aR6
no shutdown
end
R3
configure terminal
interface gi1/0
ip address 10.3.4.1 255.255.255.252
description InterfaceR3aR4
no shutdown
exit
interface gi2/0
ip address 10.1.3.2 255.255.255.252
description InterfaceR3aR1
no shutdown
exit
interface gi3/0
ip address 10.2.3.2 255.255.255.252
description InterfaceR3aR2
no shutdown
end
R4
configure terminal
interface gi1/0
ip address 10.3.4.2 255.255.255.252
description InterfaceR4aR3
no shutdown
exit
interface gi2/0
ip address 10.4.6.1 255.255.255.252
description InterfaceR4aR6
no shutdown
exit
interface gi3/0
ip address 10.4.5.1 255.255.255.252
description InterfaceR4aR5
no shutdown
end
R5
configure terminal
interface gi1/0
ip address 10.5.6.1 255.255.255.252
description InterfaceR5aR6
no shutdown
exit
interface gi3/0
R6
configure terminal
interface gi1/0
ip address 10.5.6.2 255.255.255.252
description InterfaceR6aR5
no shutdown
exit
interface gi2/0
ip address 10.4.6.2 255.255.255.252
description InterfaceR6aR4
no shutdown
exit
interface gi4/0
ip address 10.2.6.2 255.255.255.252
description InterfaceR6aR2
no shutdown
end
IP-Address
unassigned
unassigned
10.1.2.1
10.1.3.1
unassigned
unassigned
unassigned
10.0.0.1
OK?
YES
YES
YES
YES
YES
YES
NO
YES
Method
unset
unset
manual
manual
unset
unset
unset
manual
Status
administratively
administratively
up
up
administratively
administratively
up
up
R1#ping 10.1.2.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.2.2, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 8/17/24 ms
R1#ping 10.1.3.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.3.2, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 8/16/24 ms
R1#show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
Protocol
down down
down down
up
up
down down
down down
up
up
C
C
C
R1#
C
C
C
C
OK?
YES
YES
YES
YES
YES
YES
NO
YES
Method
unset
unset
manual
manual
manual
unset
unset
manual
Status
Protocol
administratively down down
administratively down down
up
up
up
up
up
up
administratively down down
up
up
up
up
R3#ping 10.3.4.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.3.4.2, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 4/9/12 ms
R3#ping 10.1.3.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.3.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/13/24 ms
R3#ping 10.2.3.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.2.3.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/14/28 ms
R3#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
Gateway of last resort is not set
C
C
C
C
IP-Address
unassigned
unassigned
10.3.4.2
10.4.6.1
10.4.5.1
unassigned
unassigned
10.0.0.4
OK?
YES
YES
YES
YES
YES
YES
NO
YES
Method
unset
unset
manual
manual
manual
unset
unset
manual
Status
Protocol
administratively down down
administratively down down
up
up
up
up
up
up
administratively down down
up
up
up
up
R4#ping 10.3.4.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.3.4.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/10/12 ms
R4#ping 10.4.6.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.4.6.2, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 8/9/12 ms
R4#ping 10.4.5.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.4.5.2, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 8/11/12 ms
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
Gateway of last resort is not set
C
C
C
C
OK?
YES
YES
YES
YES
YES
YES
NO
YES
Method
unset
unset
manual
unset
manual
unset
unset
manual
Status
administratively
administratively
up
administratively
up
administratively
up
up
R5#ping 10.5.6.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.5.6.2, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 8/11/12 ms
R5#ping 10.4.5.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.4.5.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/15/36 ms
R5#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
Protocol
down down
down down
up
down down
up
down down
up
up
C
C
C
OK?
YES
YES
YES
YES
YES
YES
NO
YES
Method
unset
unset
manual
manual
unset
manual
unset
manual
Status
Protocol
administratively down down
administratively down down
up
up
up
up
administratively down down
up
up
up
up
up
up
R6#ping 10.5.6.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.5.6.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/9/12 ms
R6#ping 10.4.6.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.4.6.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/15/36 ms
R6#ping 10.2.6.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.2.6.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 12/22/36 ms
R6#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
Gateway of last resort is not set
C
C
C
C
Pool
LAN50
LAN30
LAN20
Red
192.168.50.0
192.168.30.0
192.168.20.0
DHCP Server
Mscara
Default-router
255.255.255.0 192.168.50.1
255.255.255.0 192.168.30.1
255.255.255.0 192.168.20.1
IPs Excluidas
192.168.50.1 a 10
192.168.30.1 a 10
192.168.20.1 a 10
Se recomienda ir configurando RIP de a un router a la vez y verificando si los vecinos aprenden las
rutas.
R1#show ip route
R1#show ip rip database
192.161.10.0/24
192.161.20.0/24
192.161.30.0/24
192.162.10.0/24
192.162.20.0/24
192.162.30.0/24
192.166.10.0/24
192.166.20.0/24
192.166.30.0/24
Ahora debemos realizar la configuracin de 1 servidor DHCP para cada una de las VLANs. Para esto primero excluiremos
los rangos de direcciones IP que deseamos reservar para asignar en forma esttica.
ip dhcp excluded-address 192.161.10.1 192.168.10.10
ip dhcp excluded-address 192.161.20.1 192.168.20.10
ip dhcp excluded-address 192.161.30.1 192.168.30.10
Ahora configuramos los pools de direcciones IPs para cada VLAN.
ip dhcp pool VLAN10_R1
network 192.161.10.0 255.255.255.0
default-router 192.161.10.1
exit