Nothing Special   »   [go: up one dir, main page]

Actividad Red WAN Entre Dos Ciudades-Voip Parte 2

Descargar como pdf o txt
Descargar como pdf o txt
Está en la página 1de 24

ACTIVIDAD 11 CONFIGURACIÓN DE UNA RED DE DATOS Voip

ENTRE DOS CIUDADES

Fecha: Agosto 26 de 2019

Grupo: 1621652

Segunda Parte

Configuración Red Voip Medellín a Bogotá


Ahora se va a configurar el DHCP en el router BOGOTA para las VLAN de MEDELLIN

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.

BOGOTA(config)#ip dhcp pool VLAN40 BOGOTA(dhcp-


config)#network 172.16.40.0 255.255.255.0
BOGOTA(dhcp-config)#default-router 172.16.40.1
BOGOTA(dhcp-config)#dns-server 8.8.8.8 BOGOTA(dhcp-
config)#^z

NOTA: Así se ha creado el Dhcp para la VLAN 40, ahora se hace los mismo para las
otras VLAN.

BOGOTA(config)#ip dhcp pool VLAN50 BOGOTA(dhcp-


config)#network 172.16.50.0 255.255.255.0
BOGOTA(dhcp-config)#default-router 172.16.50.1
BOGOTA(dhcp-config)#dns-server 8.8.8.8 BOGOTA(dhcp-
config)#^z

BOGOTA(config)#ip dhcp pool VLAN60 BOGOTA(dhcp-


config)#network 172.16.60.0 255.255.255.0
BOGOTA(dhcp-config)#default-router 172.16.60.1
BOGOTA(dhcp-config)#dns-server 8.8.8.8 BOGOTA(dhcp-
config)#^z
BOGOTA#wr

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

MEDELLIN (config)#int f0/1.60


MEDELLIN (config-subif)#encapsulation dot1Q 60 MEDELLIN
(config-subif)#ip address 172.16.60.1 255.255.255.0
MEDELLIN (config-subif)# ^Z (Ctrl Z) MEDELLIN #

Ahora creamos una sub-subinterfaz más para la Voip: (Interfaz telefónica)


MEDELLIN(config)#int f0/1.201
MEDELLIN (config-subif)#encapsulation dot1Q 201
MEDELLIN (config-subif)#ip address 192.168.201.1 255.255.255.0
MEDELLIN (config-subif)# no shutdown
MEDELLIN #sh ip route

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)#int f0/2 SW-


MEDELLIN(config-if)#switchport mode access SW-
MEDELLIN(config-if)#switchport access vlan 40

Como no se encuentran creadas las VLAN, entonces se crean:

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

Ahora verificamos que desde Bogotá se esté entregando DHP:


SW-MEDELLIN(config)#
SW-MEDELLIN(config)#int f0/3
SW-MEDELLIN(config-if)#switchport mode access
SW-MEDELLIN(config-if)#switchport access vlan 50
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)# ^Z

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#

Verificamos que el Pc4 y PC5 Tengan Ip por DHCP


Observamos que no hay IP de Gateway configurado, entonces verificamos en el router
Bogota:

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

Ahora sobre el router MEDELLIN

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

Ahora se configure el servicio de teléfono:

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

Bien hasta acá es Bueno analizar que se ha configurado en la RED:


Observemos:
1). En el router Bogotá se configuraron todos los pool de todas las vlan, tanto de
Bogotá como de Medellin.
Ahora en Medellín se configuraron los servicios de teléfono:
Ahora en la siguiente grafica se observa que

El Comando Ip helper-address, es el que activa la función DHCP RELAY.


MEDELLIN#
MEDELLIN# sh ip Route

La grafica anterior muestra la tabla de enrutamiento en Medellín, están las rutas aprehendidas por
IGRP.

Ahora verificamos en Bogotá:

BOGOTA#
BOGOTA#sh ip route
En este punto ya puedo verificar que los teléfonos de Medellín se registran:

La anterior grafica muestra que el teléfono ha obtenido la extensión 1102:

AHORA OBSERVE QUE SI SE LLAMA DEL 1102 AL 1001, muestra el


mensaje número desconocido:

Esto se presenta porque los usuarios están en VLAN diferentes


Para la comunicación intervilan , se requiere de otra configuración:

Entonces vamos al router de BOGOTA y se realiza la siguiente configuración:

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)#

Ahora indicamos la sesión:

BOGOTA(config-dial-peer)#session target ipv4:10.0.0.2


Ahora en MEDELLIN se hace lo mismo, hacia BOGOTA

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:

Hernando Piracoca P. Msc.


Instructor - Telecomunicaciones
Centro de Electricidad, Electrónica y Telecomunicaciones
Regional Distrito Capital
Correo electrónico: hpiracoca4@misena.edu.co

END

También podría gustarte