Escolar Documentos
Profissional Documentos
Cultura Documentos
PRACTICA 2
Tabla de direccionamiento
Descripcin
Servidor VTP
Cliente VTP
Cliente VTP
Sucursal
Dispositivo
Switch1
Switch2
Switch3
r1
Oficina Central r2
ISP
r3
PC1
PC2
PC3
SERVER
Asignaciones
VLAN 10
VLAN 20
VLAN 30
VLAN 40
VLAN 99
Interfaz
VLAN 99
VLAN 99
VLAN 99
Fa0/0
S0/0/1
S0/0/1
S0/0/0
S0/0/1
Fa0/0
NIC
NIC
NIC
NIC
Direccin IP
172.16.3.193
172.16.3.194
172.16.3.195
172.16.3.196
10.1.1.1
209.165.200.226
10.1.1.2
209.165.200.225
209.165.201.1
172.16.3.2
172.16.2.3
172.16.0.3
209.165.201.2
Mscara de subred
255.255.255.248
255.255.255.248
255.255.255.248
255.255.255.248
255.255.255.252
255.255.255.252
255.255.255.252
255.255.255.252
255.255.255.240
255.255.255.128
255.255.255.0
255.255.254.0
255.255.255.240
Gateway
172.16.3.198
172.16.3.198
172.16.3.198
172.16.3.198
N/A
N/A
N/A
172.16.3.1
172.16.2.1
172.16.0.1
209.165.201.1
Direccin IP
172.16.3.1/25
172.16.2.1/24
172.16.0.2/23
172.16.3.129/26
172.16.3.198/29
Contrasea
cisco
Cisco
Cisco
router#ena
router#config t
Enter configuration commands, one per line. End with CNTL/Z.
router(config)#hostname r1
r1(config)#int se0/0/1
r1(config-if)#ip address 10.1.1.1 255.255.255.252
r1(config-if)#encapsulation ppp
r1(config-if)#ppp authentication PAP
r1(config-if)#PPP PAP SENT-USERNAME r1 password sameone
r1(config-if)#no shut
%LINK-5-CHANGED: Interface Serial0/0/1, changed state to down
r1(config-if)#
Configuracin PAP del router 2
Router>ena
Router#config t
r2>enable
r2#config t
Enter configuration commands, one per line. End with CNTL/Z.
r2(config)#username r3
r2(config)#username r3 password sameone
r2(config)#int s0/0/1
r2(config-if)#ip address 209.165.200.225 255.255.255.252
r2(config-if)#encapsulation ppp
r2(config-if)#ppp authentication chap
r2(config-if)#no shut
%LINK-5-CHANGED: Interface Serial0/0/1, changed state to down
Router>ena
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname r3
r3(config)#username r2 password someone
r3(config)#int se 0/0/1
r3(config-if)#ip address 209.165.200.226 255.255.255.252
r3(config-if)#encapsulation ppp
r3(config-if)#ppp authentication chap
r3(config-if)#no shut
r3(config-if)#
%LINK-5-CHANGED: Interface Serial0/0/1, changed state to up
Creacin de VLAN
SWITCH1
Switch#
Switch#enab
Switch#config t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#vlan 10.
Switch(config-vlan)#ip address 172.16.3.1 255.255.255.128
Switch(config-vlan)#interface vlan 10
Switch(config-if)#
%LINK-5-CHANGED: Interface Vlan10, changed state to up
Switch(config-if)#ip address 172.16.3.1 255.255.255.128
Switch(config-if)#end
SWITCH2
Switch#config t
Switch# r1>ena
r1#config t
Enter configuration commands, one per line. End with CNTL/Z.
r1(config)#int fa0/0.10
r1(config-subif)#encapsulation dot1Q 10
r1(config-subif)#ip address 172.16.3.1 255.255.255.128
r1(config-subif)#no shut
r1(config)#int fa0/0.20
r1(config-subif)#encapsulation dot1Q 20
r1(config-subif)#ip address 172.16.2.1 255.255.255.0
r1(config-subif)#no shut
Configuracion de RIP
Router 1:
r1(config)#router rip
r1(config-router)#version 2
r1(config-router)#network 172.16.0.0
r1(config-router)#network 10.0.0.0
Router 2:
r2>ena
r2#config t
Enter configuration commands, one per line. End with CNTL/Z.
r2(config)#router rip
r2(config-router)#version 2
r2(config-router)#network 10.0.0.0
r2(config-router)#network 209.165.200.0
Router 3:
r3>ena
r3#config t
Enter configuration commands, one per line. End with CNTL/Z.
r3(config)#router rip
r3(config-router)#version 2
r3(config-router)#network 209.165.201.0
r3(config-router)#network 209.165.200.0