1.
Al igual que la anterior, seleccionamos los dispositivos y los conectamos,
empezamos a configurar el router.
Con este comando ingresamos al modo EXEC.
enable
Con este comando ingresamos al modo de configuración del terminal.
config t
Con este comando damos nombre al Router
hostname R0
Con estos comandos ingresamos a la interfaz FastEthernet0/0, Con el NO SHUT
habilitamos la interfaz y luego salimos de esta
int fa0/0
no shut
exit
##### R0 #####
int fa0/0.10
encapsulation dot1q 10
ip add 170.17.10.1 255.255.255.128
exitASDASDCSADSD
exit
int fa0/0.30
encapsulation dot1q 30
ip add 170.17.30.1 255.255.255.128
exit
int fa0/1
no shut
exit
int fa0/1.10
encapsulation dot1q 10
ip add 170.17.10.129 255.255.255.128
exit
int fa0/1.20
encapsulation dot1q 20
ip add 170.17.20.129 255.255.255.128
exit
int fa0/1.30
encapsulation dot1q 30
ip add 170.17.30.129 255.255.255.128
exit
##### R1 #####
int fa0/0.40
encapsulation dot1q 40
ip add 170.17.40.1 255.255.255.128
exit
int fa0/0.50
encapsulation dot1q 50
ip add 170.17.50.1 255.255.255.128ASDAS
exit
int fa0/0.60
encapsulation dot1q 60
ip add 170.17.60.1 255.255.255.128
exit
int fa0/1
no shut
exit
int fa0/1.40
encapsulation dot1q 40
ip add 170.17.40.129 255.255.255.128
exit
int fa0/1.50
encapsulation dot1q 50
ip add 170.17.50.129 255.255.255.128
exit
int fa0/1.60
encapsulation dot1q 60
ip add 170.17.60.129 255.255.255.128
exit
Acá asignamos dirección IP al enlace serial del R0
int se0/0/0
ip add 170.17.1.1 255.255.255.252
clock rate 56000
no shut
exit
2. Para evitarnos doble configuración de servidores DHCP, solo el R0 será el
distribuidor de direcciones IP.
Vamos a excluir cada una de las puertas de enlace de las VLANs
ip dhcp excluded-address 170.17.10.1ASDSADSADA
exit
ip dhcp pool vlan20
network 170.17.20.0 255.255.255.128
default-router 170.17.20.1
option 150 ip 170.17.20.1
exit
ip dhcp pool vlan30
network 170.17.30.0 255.255.255.128
default-router 170.17.30.1
option 150 ip 170.17.30.1ASDSADASDAS
ip dhcp pool vlan30-1
network 170.17.30.128 255.255.255.128
default-router 170.17.30.129
option 150 ip 170.17.30.129
exit
ip dhcp pool vlan40
network 170.17.40.0 255.255.255.128
default-router 170.17.40.1
option 150 ip 170.17.40.1
exit
ip dhcp pool vlan50
network 170.17.40.0 255.255.255.128
default-router 170.17.50.1
option 150 ip 170.17.50.1
exit
ip dhcp pool vlan60
network 170.17.60.0 255.255.255.128ASDSA
max-ephones 10
ip source-address 170.17.30.1 port 2000
auto assign 4 to 6
auto assign 1 to 5
exit
##### R1 #####
telephony-service
max-dn 10ASDSDSA
exit
ephone-dn 3
number 203
exit
ephone-dn 4
number 204
exit
##### R1 #####
ephone-dn 1
number 205
exit
ephone-dn 2
number 206
exit
ephone-dn 3
number 207
exit
ephone-dn 4
number 208
exitASDASDSDVDFGHDFVHSDRTBRFGBFZ
net 170.17.30.0
net 170.17.10.128
net 170.17.20.128
net 170.17.30.128
net 170.17.1.0
no auto-summary
exit
##### R1 #####
router eigrp 1
net 170.17.40.0
net 170.17.50.0
net 170.17.60.0
net 170.17.40.128
net 170.17.50.128
net 170.17.60.128
net 170.17.1.0
no auto-summary
exit
##### R0 #####
dial-peer voice 1 voip
destination-pattern 20.
session target ipv4:170.17.1.2
exit
##### R1 #####
dial-peer voice 1 voip
destination-pattern 20.
session target ipv4:170.17.1.1
exit
6. Verificar información suministrada
7. Guardamos la configuración en la memoria (si todo está correcto)
8. Configurar el Switch
#### Sw0 y Sw1 ####
enable
config t
hostname Sw0
vlan 10
exit
vlan 20
exit
vlan 30
exit
int range fa0/1-5
switchport mode access
switchport access vlan 10
exit
int range f0/6-10
switchport mode access
switchport access vlan 20
exit
int range f0/11-15
switchport voice vlan 30
exit
#### Sw2 y Sw3 ####
enable
config t
hostname Sw2
vlan 40
exit
vlan 50
exit
vlan 60
exit
int range fa0/1-5
switchport mode access
switchport access vlan 40
exit
int range f0/6-10
switchport voice vlan 60
exit
9. Esto es para que los PCs conectados a los teléfonos IP reciban su IP
correspondiente a la Vlan en la que se encuentran, como uno esta conectado a la
interfaz F0/11 y el otro en F0/12, será así.
#### Sw0 y Sw1 ####
int f0/11
switchport mode access
switchport access vlan 10
exit
int f0/12
switchport mode access
switchport access vlan 20
exit
#### Sw2 y Sw3 ####
int f0/6
switchport mode access
switchport access vlan 50
exit
10.Ahora configurare la f0/24 como modo trunk, la cual va ser la conductora de
todas las VLANS
int f0/24
switchport mode trunk
switchport trunk allowed vlan 40,50,60
exit
enable secret itm2023
line vty 0 4
password conver2023
login