Sei sulla pagina 1di 4

SEM ACAD: 2011-III Laboratorio : 1 ASIGNATURA: REDES TELEMATICAS 3 PROFESOR: Ing. Nstor Bautista T.

APELLIDOS Y NOMBRES: INSTRUCCIONES: El examen es sin copias ni apuntes y escriba con letra clara.

FECHA: HORA: TUR/SEC: TIEMPO: Fecha de Entrega:

20/09/11 20:20:00 3/A 100 min. 20/09/11

LABORATORIO N 1 TELEFONIA IP Parte 1: Registro de Telfonos IPs sobre una LAN de Voz Elegir la topologa bsica de un Router 2811, 1 Switch 2960 y 2 Anexo IP del Software PackTracer y seguir los procedimientos: Configurar la Interface LAN del Router donde se registrarn los Telfonos IP: R0>enable R0#configure terminal R0(config)#interface FastEthernet0/0 R0(config-if)#ip address 172.16.10.1 255.255.255.0 R0(config-if)#no shutdown Habilitar el Servicio DHCP para los Telefonos DHCP server es necesario para proveer una direccin IP y la locacin del TFTP Server para cada Telfono IP conectado a la Red. R0(config)#ip dhcp pool VOZ10 #Crear el Pool DHCP pool llamado VOZ10 R0(dhcp-config)#network 172.16.10.0 255.255.255.0 R0(dhcp-config)#default-router 172.16.10.1 R0(dhcp-config)#option 150 ip 172.16.10.1 /Obligatorio para la configuracin VoIP, servicio TFTP Broadcast que require el Telefono IP. El Router tiene integrado un Call Manager R0(config)#telephony-service R0(config-telephony)#max-dn 5 #Definir el nmero mximo del directorio# R0(config-telephony)#max-ephones 5 #Definir el nmero mximo de telfonos# R0(config-telephony)#ip source-address 172.16.10.1 port 2000 #IP del CCM# R0(config-telephony)#auto assign 4 to 6 # Asignacin automtica de nmeros de extensin a los botones R0(config-telephony)#auto assign 1 to 5 # Asignacin automtica de nmeros de extensin a los botones
SW0(config)#interface range fa0/1 5 SW0(config-if-range)#switchport mode access SW0(config-if-range)#switchport voice vlan 1 ( es la vlan donde se manejaran los paquetes de voz) En el Call Manager R0(config)#ephone-dn 1 #Definir la primera entrada en el directorio#

Configurar el Switch

UIGV

R0(config-ephone-dn)#number 60001 #Asignar el nmero telefnico para esta entrada# En el CCM La salida del comando R0#show ephone ephone-1 Mac:00E0.8FA7.C722 TCP socket:[1] activeLine:0 REGISTERED in SCCP ver 12 and Server in ver 8 mediaActive:0 offhook:0 ringing:0 reset:0 reset_sent:0 paging 0 debug:0 caps:8 IP:172.16.10.11 1026 7960 keepalive 43 max_line 2 button 1: dn 1 number 60001 CH1 IDLE Donde SCCP es el Protocolo de comunicacin Skinny puerto 2000

Parte 2: Registro de Telfonos IPs sobre una LAN de Voz y Datos


Para esto es necesario crear 2 subinterfaces en el puerto Fasethernet 0/0 del Router R0 Donde la VLAN 6 ser la nativa, siendo para VOZ, con la red 172.16.10.0/24, y La Vlan de Datos ser VLAN 3, con la red 192.168.10.1/24.

En el Call Manager R0(config)#interface F0/0.6 R0(config-subif)#encapsulation dot1q 6 native R0(config-subif)# ip address 172.16.10.1 255.255.255.0 R0(config)#interface F0/0.3 R0(config-subif)#encapsulation dot1q 3 R0(config-subif)# ip address 192.168.10.1 255.255.255.0 En el Call Manager

R0(config)#telephony-service R0(config-telephony)#max-dn 5 #Definir el nmero mximo del directorio# R0(config-telephony)#max-ephones 5 #Definir el nmero mximo de telfonos# R0(config-telephony)#ip source-address 172.16.10.1 port 2000 #IP del CCM# R0(config-telephony)#auto assign 4 to 6 # Asignacin automtica de nmeros de extensin a los botones UIGV 2

R0(config-telephony)#auto assign 1 to 5 # Asignacin automtica de nmeros de extensin a los botones Luego aadimos los nmeros de los telfonos a conectar: R0(config)# ephone-dn 1 R0(config-ephone-dn)# number 60001 R0(config)# ephone-dn 2 R0(config-ephone-dn)# number 60002 Configurar el Switch
Ahora que se van a combinar sobre la LAN, una red de Datos y una de Voz, es necesario diferenciarlo creando 2 vlans: Nombre de VLAN DATOS VOZ ID VLAN 3 6

SW0(config)#vlan 3 SW0(config-vlan)#name DATOS SW0(config)#vlan 6 SW0(config-vlan)#name VOZ Aunque ambas se crean de la misma forma, se diferenciara sobre un puerto donde se conecte un telfono, como el puerto F0/2 y F0/3 SW0(config)# interface FastEthernet0/2 SW0(config-if)# switchport access vlan 3 SW0(config-if)# switchport mode access SW0(config-if)# switchport voice vlan 6 SW0(config)# interface FastEthernet0/3 SW0(config-if)# switchport access vlan 3 SW0(config-if)# switchport mode access SW0(config-if)# switchport voice vlan 6 Ahora definiremos el Trunking en el puerto F0/1, que conecta a R0 que es el Call Manager y Router de la red de Datos. Debido a que la vlan nativa en R0 es 6, entonces lo cambiaremos sobre el trunking, para que ambos tanto Switch como Router, permitan la sealizacin y control de protocolos de los dispositivos, como el VTP, VoIP, etc. SW0(config)# interface FastEthernet0/1 SW0(config-if)# switchport trunk native vlan 6 SW0(config-if)# switchport mode trunk SW0(config-if)# switchport voice vlan 6 Registro de Telfonos Finalmente, conectaremos los telfonos tal como muestra la figura: Primero el Switch, luego el Telfono y finalmente la PC. Recordar que ambos tienen configuracin automtica via DHCP. Por lo que puede demorar unos segundos su registro, adems de la negociacin de los puertos. R0#show ephone ephone-1 Mac:00E0.8FA7.C722 TCP socket:[1] activeLine:0 REGISTERED in SCCP ver 12 and Server in ver 8 mediaActive:0 offhook:0 ringing:0 reset:0 reset_sent:0 paging 0 debug:0 caps:8 IP:172.16.10.11 1025 7960 keepalive 43 max_line 2 button 1: dn 1 number 60001 CH1 IDLE

UIGV

ephone-2 Mac:0001.6323.79ED TCP socket:[1] activeLine:0 REGISTERED in SCCP ver 12 and Server in ver 8 mediaActive:0 offhook:0 ringing:0 reset:0 reset_sent:0 paging 0 debug:0 caps:8 IP:172.16.10.12 1025 7960 keepalive 43 max_line 2 button 1: dn 2 number 60002 CH1 IDLE

Realicemos una llamada desde el anexo 60001 al 60002 y verifiquemos la salida en el Router
R0#show ephone ephone-1 Mac:00E0.8FA7.C722 TCP socket:[1] activeLine:1 REGISTERED in SCCP ver 12 and Server in ver 8 mediaActive:1 offhook:1 ringing:1 reset:0 reset_sent:0 paging 0 debug:0 caps:8 IP:172.16.10.11 1025 7960 keepalive 43 max_line 2 button 1: dn 1 number 60001 CH1 CONNECTED Active Call on DN 1chan 1 :60001 172.16.10.11 1025 to 172.16.10.1 2000 via 172.16.10.11 G729 20 bytes no vad Tx Pkts 0 bytes 0 Rx Pkts 0 bytes 0 Lost 0 Jitter 0 Latency 0 callingDn -1 calledDn -1 (media path callID 17 srcCallID 18) ephone-2 Mac:0001.6323.79ED TCP socket:[1] activeLine:1 REGISTERED in SCCP ver 12 and Server in ver 8 mediaActive:1 offhook:1 ringing:1 reset:0 reset_sent:0 paging 0 debug:0 caps:8 IP:172.16.10.12 1025 7960 keepalive 43 max_line 2 button 1: dn 2 number 60002 CH1 CONNECTED Active Call on DN 2chan 1 :60002 172.16.10.12 1025 to 172.16.10.1 2000 via 172.16.10.12 G729 20 bytes no vad Tx Pkts 0 bytes 0 Rx Pkts 0 bytes 0 Lost 0 Jitter 0 Latency 0 callingDn -1 calledDn -1 (media path callID 17 srcCallID 18)

Parte3:RealiceellaboratoriovirtualusandoGNS3dondelosanexossernsoftphonesIPCommunicator CadaPCdeLaboratoriodebercontarconSoftphone EnunaPCdeberejecutarseelCallManagerqueestaintegradoenunRouterconectadoalaRedFisica


Ing.NstorBautista

UIGV

Potrebbero piacerti anche