Actividad Red WAN Entre Dos Ciudades-Voip Parte 2
Actividad Red WAN Entre Dos Ciudades-Voip Parte 2
Actividad Red WAN Entre Dos Ciudades-Voip Parte 2
Grupo: 1621652
Segunda Parte
BOGOTA#
BOGOTA#Config t
BOGOTA(config)#ip dhcp excluded-address 172.16.40.1 172.16.40.9
BOGOTA(config)#ip dhcp excluded-address 172.16.50.1 172.16.50.9
BOGOTA(config)#ip dhcp excluded-address 172.16.60.1 172.16.60.9
NOTA: con las anteriores tres líneas se ha restringido entregar las IPs de los
rangos indicados en cada red.
NOTA: Así se ha creado el Dhcp para la VLAN 40, ahora se hace los mismo para las
otras VLAN.
BOGOTA# sh run
Configuración sobre el router MEDELLIN
MEDELLIN#
MEDELLIN #conf t
MEDELLIN (config)#Router eigrp 1
MEDELLIN (config-router)#network 0.0.0.0
MEDELLIN (config-router)#no auto-summary
MEDELLIN (config-router)#^z
MEDELLIN #WR
MEDELLIN #sh ip route
configurar la interfaces VLAN:
MEDELLIN(config)#int f0/1.40
MEDELLIN (config-subif)#encapsulation dot1Q 40
MEDELLIN (config-subif)#ip address 172.16.40.1
255.255.255.0 MEDELLIN (config)#int f0/1.50
MEDELLIN (config-subif)#encapsulation dot1Q 50
MEDELLIN (config-subif)#ip address 172.16.50.1 255.255.255.0
BOGOTA# sh ip route
BOGOTA#sh run (observe que se tiene configurados todos los dhcp desde BOGOTA)
Ahora en el SWITCH MEDELLIN
SW-MEDELLIN>
SW-MEDELLIN>enable
SW-MEDELLIN#config t
SW-MEDELLIN (config)#int f0/1 SW-MEDELLIN (config-
if)#switchport trunk encapsulation dot1q SW-MEDELLIN
(config-if)#switchport mode trunk
SW-MEDELLIN#wr
En el router Medellin
MEDELLIN(config)#int f0/1.40
MEDELLIN(config-subif)#ip helper-address 10.0.0.1
MEDELLIN(config-subif)#^Z MEDELLIN#ping
10.0.0.1 MEDELLIN(config)#int f0/1.50
MEDELLIN(config-subif)#ip helper-address 10.0.0.1
MEDELLIN(config)#int f0/1.60
MEDELLIN(config-subif)#ip helper-address 10.0.0.1
MEDELLIN#wr
En el SWITCH MEDELLIN
SW-MEDELLIN#config t
SW-MEDELLIN(config)#vlan 40 SW-
MEDELLIN(config-vlan)#name VLAN40 SW-
MEDELLIN(config)#vlan 50 SW-MEDELLIN(config-
vlan)#name VLAN50 SW-MEDELLIN(config)#vlan 60
SW-MEDELLIN(config-vlan)#name VLAN60 SW-
MEDELLIN(config-vlan)#name 201 SW-
MEDELLIN(config-vlan)#name VOICE-MEDELLIN
SW-MEDELLIN(config-vlan)#^Z
SW-MEDELLIN#wr
SW-MEDELLIN#sh vlan
SW-MEDELLIN#
SW-MEDELLIN#config t
SW-MEDELLIN(config)#int f0/2 SW-
MEDELLIN(config-if)#switchport VOICE vlan 201
SW-MEDELLIN(config-if)#spanning-tree portfast SW-
MEDELLIN(config-if)#^Z
SW-MEDELLIN#wr
SW-MEDELLIN#sh run
SW-MEDELLIN#
SW-MEDELLIN#conf t
SW-MEDELLIN(config)#
SW-MEDELLIN(config)#int f0/4 SW-
MEDELLIN(config-if)#switchport mode access SW-
MEDELLIN(config-if)#switchport access vlan 60
SW-MEDELLIN(config-if)#switchport voice vlan
201 SW-MEDELLIN(config-if)#switchport mode
access SW-MEDELLIN(config-if)#spanning-tree
portfast SW-MEDELLIN(config-if)# SW-
MEDELLIN(config-if)# ^Z
SW-MEDELLIN#wr
SW-MEDELLIN#
BOGOTA#sh run
En la figura anterior se observa que en la configuración de la VLAN 60, hace falta asignarle la
línea: Default-router 172.16.60.1, entonces la configuramos:
BOGOTA#Conf t
BOGOTA(config)#ip dhcp VLAN60
BOGOTA(dhcp-config)#default-router 172.16.60.1
BOGOTA(dhcp-config)#^z
BOGOTA#wr
BOGOTA#sh run
En la figura anterior se observa que esta duplicada la el dhcp pool para la vlan 60 por consiguiente
se debe borrar una.
BOGOTA#conf t
BOGOTA(config)#no ip dhcp pool VLAN
BOGOTA(config)#dchp pool VLAN60
BOGOTA(dhcp-config)#dns-server 8.8.8.8
BOGOTA(dhcp-config)#^Z
BOGOTA#wr
BOGOTA#sh run
BOGOTA#
BOGOTA#conf t
BOGOTA(config)#ip dhcp pool VLAN60
BOGOTA(dhcp-config)#network 172.16.60.0 255.255.255.0
BOGOTA(dhcp-config)#^Z
BOGOTA#wr
BOGOTA#sh run
BOGOTA#
BOGOTA#conf t
BOGOTA(config)#no ip dhcp pool vlan60
BOGOTA(dhcp-config)#^Z
BOGOTA#wr
BOGOTA#sh run
Ahora se configura la Vlan de Voz de Medellín en el Router Bogotá, para permitir el
tráfico de VOZ.
BOGOTA#
BOGOTA#conf t
BOGOTA(config)# ip dhcp pool VOICE-MEDDELIN
BOGOTA(dhcp-config)#network 192.168.201.0 255.255.255.0
BOGOTA(dhcp-config)#defaul router 192.168.201.1
BOGOTA(dhcp-config)#option 150 ip 192.168.201.1
BOGOTA(dhcp-config)#^Z
BOGOTA#wr
BOGOTA#sh run
MEDELLIN#
MEDELLIN#sh run
MEDELLIN#
MEDELLIN#Conf t
MEDELLIN(config)#interface fastethernet 0/1.201
MEDELLIN(config-subif)#ip helper-address 10.0.0.1
MEDELLIN(config-subif)#^Z
MEDELLIN#wr
MEDELLIN#
MEDELLIN#Conf t
MEDELLIN(config)#telephony-services
MEDELLIN(config-telephony)#max-dn 10
MEDELLIN(config-telephony)#max-ephone 10
MEDELLIN(config-telephony)#ip source_address 192.168.201.1 port 2000
MEDELLIN(config-telephony)#auto assign 1 to 10
MEDELLIN(config-telephony)#^Z
MEDELLIN#wr
MEDELLIN#Conf t
MEDELLIN(config)#ephone-dn 1
MEDELLIN(config-ephone-dn)#number 1101
MEDELLIN(config-ephone-dn)#exit
MEDELLIN(config)#
MEDELLIN(config)#ephone-dn 2
MEDELLIN(config-ephone-dn)#number 1102
MEDELLIN(config-ephone-dn)#exit
MEDELLIN(config)#
MEDELLIN(config)#ephone-dn 3
MEDELLIN(config-ephone-dn)#number 1102
MEDELLIN(config-ephone-dn)#exit
MEDELLIN(config)#
MEDELLIN(config)#ephone-dn 3
MEDELLIN(config-ephone-dn)#number 1103
MEDELLIN(config-ephone-dn)#^Z
MEDELLIN#wr
La grafica anterior muestra la tabla de enrutamiento en Medellín, están las rutas aprehendidas por
IGRP.
BOGOTA#
BOGOTA#sh ip route
En este punto ya puedo verificar que los teléfonos de Medellín se registran:
BOGOTA#
BOGOTA#config t
BOGOTA(config)#dial-peer voice 1 voip
Con este comando se le dice al router que se conecte a un punto de teléfono con el 1
(esta es la sesión (pueden haber muchas sesiones) y que trabaje Voip)
BOGOTA(config-dial-peer)#?
Luego se le indica el destino con el que se debe conectar, observe la anterior figura y
el siguiente comando:
BOGOTA(config-dial-peer)#destination-pattern 11..
BOGOTA(config-dial-peer)#
MEDELLIN#
MEDELLIN #config t
MEDELLIN(config)#dial-peer voice 1 voip
MEDELLIN(config-dial-peer)#destination-pattern 10..
MEDELLIN(config-dial-peer)#
MEDELLIN(config-dial-peer)#session target ipv4:10.0.0.1
MEDELLIN(config-dial-peer)#^Z
MEDELLIN#wr
Ahora verificamos
MEDELLIN#sh run
Ahora podemos marcar de Medellín desde Bogotá y viceversa:
END