Configuracion en Los Routers Para Telefonia Ip

7
CONFIGURACION EN LOS ROUTERS. EN EL ROUTER DE LA SEDE 1. enable configure terminal PRENDEMOS LA INTERFAZ int fa0/0 no shut exit CREAMOS LAS SUBINTERFACES PARA CADA VLAN. int fa0/0.30 encapsulation dot1Q 30 ip add 192.168.10.1 255.255.255.0 exit int fa0/0.50 encapsulation dot1Q 50 ip add 192.168.30.1 255.255.255.0 exit HACEMOS LO MISMO CON LA OTRA INTERFAZ. int fa0/1 no shut exit LA ENCAPSULACION. int fa0/1.30 encapsulation dot1Q 30 ip add 192.168.40.1 255.255.255.0 exit int fa0/1.50 encapsulation dot1Q 50 ip add 192.168.60.1 255.255.255.0 exit CREAMOS EL DHCP EN EL ROUTER SEDE 1. ip dhcp excluded-address 192.168.10.1 ip dhcp pool GESTION network 192.168.10.0 255.255.255.0 default-router 192.168.10.1 option 150 ip 192.168.10.1 exit ip dhcp excluded-address 192.168.30.1 ip dhcp pool VOZ network 192.168.30.0 255.255.255.0 default-router 192.168.30.1 option 150 ip 192.168.30.1 exit ip dhcp excluded-address 192.168.40.1 ip dhcp pool GESTION2 network 192.168.40.0 255.255.255.0

description

Muestra los pasos para poder configurar una practica de telefonía ip con packet tracer.

Transcript of Configuracion en Los Routers Para Telefonia Ip

  • CONFIGURACION EN LOS ROUTERS.

    EN EL ROUTER DE LA SEDE 1.

    enableconfigure terminal

    PRENDEMOS LA INTERFAZint fa0/0no shutexit

    CREAMOS LAS SUBINTERFACES PARA CADA VLAN.int fa0/0.30encapsulation dot1Q 30ip add 192.168.10.1 255.255.255.0exitint fa0/0.50encapsulation dot1Q 50ip add 192.168.30.1 255.255.255.0exit

    HACEMOS LO MISMO CON LA OTRA INTERFAZ.int fa0/1no shutexit

    LA ENCAPSULACION.int fa0/1.30encapsulation dot1Q 30ip add 192.168.40.1 255.255.255.0exitint fa0/1.50encapsulation dot1Q 50ip add 192.168.60.1 255.255.255.0exit

    CREAMOS EL DHCP EN EL ROUTER SEDE 1.ip dhcp excluded-address 192.168.10.1ip dhcp pool GESTIONnetwork 192.168.10.0 255.255.255.0default-router 192.168.10.1option 150 ip 192.168.10.1exit

    ip dhcp excluded-address 192.168.30.1ip dhcp pool VOZnetwork 192.168.30.0 255.255.255.0default-router 192.168.30.1option 150 ip 192.168.30.1exit

    ip dhcp excluded-address 192.168.40.1ip dhcp pool GESTION2network 192.168.40.0 255.255.255.0

  • default-router 192.168.40.1option 150 ip 192.168.40.1exit

    ip dhcp excluded-address 192.168.60.1ip dhcp pool VOZ2network 192.168.60.0 255.255.255.0default-router 192.168.60.1option 150 ip 192.168.60.1exit

    REALIZAMOS LA CONFIGURACIN DE LOS TELEFONOS IP ROUTER SEDE 1.telephony-servicemax-dn 5max-ephones 5ip source-address 192.168.30.1 port 2000 (GATEWAY VLAN VOZ)ip source-address 192.168.60.1 port 2000 (GATEWAY VLAN VOZ1)auto assign 1 to 5ephone-dn 1number 54001exitephone-dn 2number 54002exitephone-dn 3number 54003exitephone-dn 4number 54004exit

    exitwr (GUARDAMOS)exit

    CONFIGURACION EN EL SWITCHES SEDE-1.

    enconfig tervlan 30name GESTIONexit

    vlan 50name VOZexitint fa0/1switchport mode accessswitchport access vlan 30exit

  • int f0/4switchport mode accessswitchport acces vlan 30switchport voice vlan 50spanning-tree portfastexit

    int f0/24switchport mode trunkswitchport trunk allowed vlan 30-50exitexitexit

    SEGUNDO SWITCH..

    enconfig tervlan 30name GESTION2exit

    vlan 50name VOZ2exit

    int fa0/1switchport mode accessswitchport access vlan 30exit

    int range f0/4-f0/5switchport mode accessswitchport acces vlan 30switchport voice vlan 50spanning-tree portfastexit

    int f0/24switchport mode trunkswitchport trunk allowed vlan 30-50exitexitexit

  • REALIZAREMOS LA CONFIGURACION PARA EL ROUTER SEDE 2.

    enableconfigure terminal

    PRENDEMOS LA INTERFAZint fa0/0no shutexit

    CREAMOS LAS SUBINTERFACES PARA CADA VLAN, ESTO ES PARA QUE SEPUEDA HACER PING ENTRE ELLAS.int fa0/0.60encapsulation dot1Q 60ip add 192.170.10.1 255.255.255.0exit

    nt fa0/0.70encapsulation dot1Q 70ip add 192.170.20.1 255.255.255.0exit

    HACEMOS LO MISMO CON LA OTRA INTERFAZint fa0/1no shutexit

    LAS SUBINTERFACES.int fa0/1.60encapsulation dot1Q 60ip add 192.170.40.1 255.255.255.0exit

    int fa0/1.70encapsulation dot1Q 70ip add 192.170.50.1 255.255.255.0exit

    CREAMOS EL DHCP..ip dhcp excluded-address 192.170.10.1ip dhcp pool GESTIONnetwork 192.170.10.0 255.255.255.0default-router 192.170.10.1option 150 ip 192.170.10.1exit

    ip dhcp excluded-address 192.170.30.1ip dhcp pool VOZnetwork 192.170.30.0 255.255.255.0default-router 192.170.30.1option 150 ip 192.170.30.1

  • exitFALTA ESTO DE CONFIGURAR

    ip dhcp excluded-address 192.170.40.1ip dhcp pool GESTION2network 192.170.40.0 255.255.255.0default-router 192.170.40.1option 150 ip 192.170.40.1

    exit

    ip dhcp excluded-address 192.170.60.1ip dhcp pool VOZ2network 192.170.60.0 255.255.255.0default-router 192.170.60.1option 150 ip 192.170.60.1exit

    CONFIGURACION PARA LOS TELEFONOS IPtelephony-servicemax-dn 5max-ephones 5ip source-address 192.170.30.1 port 2000 (GATEWAY DE LA VLAN DE VOZ)ip source-address 192.170.60.1 port 2000 (GATEWAY DE LA VLAN DE VOZ1)auto assign 1 to 5ephone-dn 1number 54005exitephone-dn 2number 54006exitephone-dn 3number 54007exitephone-dn 4number 54008exit

    exitwr (GUARDAMOS)exit

    CONFIGURACION SWITCHES SEDE 2.

    enconfig tervlan 60name GESTIONexitvlan 70name VOZexit

  • int fa0/1switchport mode accessswitchport access vlan 60exitint f0/2switchport mode accessswitchport voice vlan 70spanning-tree portfastexit

    int f0/3switchport mode accessswitchport acces vlan 60switchport voice vlan 70spanning-tree portfastexitint f0/24switchport mode trunkswitchport trunk allowed vlan 60-70exitexitexit

    SEGUNDO SWITCH..

    enconfig tervlan 60name GESTION2exitvlan 70name VOZ2exit

    int fa0/1switchport mode accessswitchport access vlan 60exitint f0/2switchport mode accessswitchport voice vlan 70spanning-tree portfastexit

    int f0/3switchport mode accessswitchport acces vlan 80 /Verificar si va 60 o vlan 80switchport voice vlan 70spanning-tree portfastexitint f0/24switchport mode trunkswitchport trunk allowed vlan 60-80 ////Verificar si va 70 o 80exit

  • exitexit

    //////////////////ENRUTAMIENTO////////////////

    ROUTER SEDE 1Route eigrp 100Network 192.168.10.0 0.0.0.255Network 192.168.20.0 0.0.0.255Network 192.168.30.0 0.0.0.255Network 192.168.40.0 0.0.0.255Network 192.168.50.0 0.0.0.255Network 192.168.60.0 0.0.0.255Network 200.150.0.0 0.0.0.3

    ROUTER SEDE 2Route eigrp 100Network 192.170.10.0 0.0.0.255Network 192.170.20.0 0.0.0.255Network 192.170.30.0 0.0.0.255Network 192.170.40.0 0.0.0.255Network 192.170.50.0 0.0.0.255Network 192.170.60.0 0.0.0.255Network 200.150.0.0 0.0.0.3

    CONFIGURACION DE LOS TELEFONOS A NIVEL WANconfiguracion CME

    ROUTER SEDE 1 (INTERFAZ DEL SERIAL 200.150.0.1)dial-peer voice 1 voipdestination-pattern 5400. (EL PUNTO AL FINAL ES IMPORTANTE)session target ipv4:200.150.0.2 (AQUI VA LA IP DE LA INTERFAZ WAN DELROUTER DE LAS SEDE 2)exit

    ROUTER SEDE 2 (INTERFAZ DEL SERIAL 200.150.0.2)dial-peer voice 1 voipdestination-pattern 5400. (EL PUNTO AL FINAL ES IMPORTANTE)session target ipv4:200.150.0.1 (AQUI VA LA IP DE LA INTERFAZ WAN DELROUTER DE LAS SEDE 1)exit

    PRUEBA..