Can't Connect Trunk in Small VoIP Network

download Can't Connect Trunk in Small VoIP Network

of 15

Transcript of Can't Connect Trunk in Small VoIP Network

  • 7/30/2019 Can't Connect Trunk in Small VoIP Network

    1/15

    We want to create a small VoIP network. After configuring the switch, route,r windows server and

    asterisk server and the telephone extensions in each side we cant connect to the other group

    telephone. The network is composing of two router two switche 2 desktelephone SIP compatibles and 2

    servers:

    ASTERISK 2.10 Server 2

    FREEPBX 2.10

    Windows server 2008 R2 Server 1

    CISCO Switch CATALYST 2950 SERIES IOS 12.1

    Router cisco 1760

    Configurations:

    Switch version 12.1

    no service pad

    service timestamps debug uptime

    service timestamps log uptime

    no service password-encryption

    !

    hostname GrupoA

    !

    enable password cisco

    !

    ip subnet-zero

    !

    spanning-tree mode pvst

    no spanning-tree optimize bpdu transmission

    spanning-tree extend system-id

    !

    interface FastEthernet0/1

  • 7/30/2019 Can't Connect Trunk in Small VoIP Network

    2/15

    description Windows Server

    switchport access vlan 10

    switchport mode access

    !

    interface FastEthernet0/2

    description Asterisk Server

    switchport access vlan 10

    switchport mode access

    !

    interface FastEthernet0/9

    description Computer

    switchport access vlan 20

    switchport mode access

    !

    interface FastEthernet0/10

    description Computer

    switchport access vlan 20

    switchport mode access

    !

    interface FastEthernet0/11

    description VoIP

    switchport access vlan 30

    switchport mode access

    !

    interface FastEthernet0/12

  • 7/30/2019 Can't Connect Trunk in Small VoIP Network

    3/15

    description VoIP

    switchport access vlan 30

    switchport mode access

    !

    !

    interface FastEthernet0/24

    description Test Port Trunk

    switchport trunk allowed vlan 10,20,30

    switchport mode trunk

    !

    interface Vlan1

    no ip address

    no ip route-cache

    shutdown

    !

    interface Vlan2

    description GrupoA Connection for Managment

    ip address 10.255.255.2 255.255.255.248

    no ip route-cache

    !

    ip default-gateway 10.255.255.1

    ip http server

    !

    line con 0

    password cisco

  • 7/30/2019 Can't Connect Trunk in Small VoIP Network

    4/15

    line vty 0 4

    password cisco

    login

    line vty 5 15

    login

    Router

    Grupo1-RT#show run

    Building configuration...

    Current configuration : 1802 bytes

    !

    version 12.3

    service timestamps debug datetime msec

    service timestamps log datetime msec

    no service password-encryption

    !

    hostname Grupo1-RT

    !

    boot-start-marker

    boot-end-marker

    !

    enable password cisco

    !

  • 7/30/2019 Can't Connect Trunk in Small VoIP Network

    5/15

    mmi polling-interval 60

    no mmi auto-configure

    no mmi pvc

    mmi snmp-timeout 180

    no aaa new-model

    ip subnet-zero

    ip cef

    !

    !

    !

    no ftp-server write-enable

    !

    !

    !

    !

    interface Loopback0

    description Router ID for OSPF

    ip address 1.1.1.1 255.255.255.255

    !

    interface Ethernet0/0

    description BkBn Connection to R4 | Int s1/0

    ip address 192.168.255.6 255.255.255.252

    ip ospf network point-to-point

    half-duplex

    !

  • 7/30/2019 Can't Connect Trunk in Small VoIP Network

    6/15

    interface FastEthernet0/0

    description Group1 Connection to Grp1-SW1 | Int 6

    no ip address

    speed auto

    !

    interface FastEthernet0/0.2

    description Group1 Connection for Equipment Management

    encapsulation dot1Q 2

    ip address 10.255.255.1 255.255.255.248

    !

    interface FastEthernet0/0.10

    description Group1 Connection for Servers

    encapsulation dot1Q 10

    ip address 172.16.0.1 255.255.255.240

    !

    interface FastEthernet0/0.20

    description Group1 Connection for PCs

    encapsulation dot1Q 20

    ip address 172.17.0.1 255.255.255.224

    ip helper-address 172.16.0.6

    !

    interface FastEthernet0/0.30

    description GroupA Connection VoIP

    encapsulation dot1Q 30

    ip address 172.18.0.1 255.255.255.224

  • 7/30/2019 Can't Connect Trunk in Small VoIP Network

    7/15

    ip helper-address 172.16.0.6

    !

    --More--

    *Mar 2 09:10:23.639: %CDP-4-DUPLEX_MISMATCH: duplex mismatch discovered on Ethernet0/0 (not

    full duplex), with Bkbn-Sw FastEthernet0/1 (fulinterface Ethernet1/0

    no ip address

    shutdown

    half-duplex

    !

    router ospf 1

    router-id 1.1.1.1

    log-adjacency-changes

    network 1.1.1.1 0.0.0.0 area 10.1.0.1

    network 10.255.255.1 0.0.0.0 area 10.1.0.1

    network 172.16.0.1 0.0.0.0 area 10.1.0.1

    network 172.17.0.1 0.0.0.0 area 10.1.0.1

    network 172.18.0.1 0.0.0.0 area 10.1.0.1

    network 192.168.255.6 0.0.0.0 area 10.1.0.1

    !

    ip classless

    no ip http server

    !

    !

    line con 0

    line aux 0

    line vty 0 4

  • 7/30/2019 Can't Connect Trunk in Small VoIP Network

    8/15

    password cisco

    login

    !

    DeskPhone Extension Configuration:

  • 7/30/2019 Can't Connect Trunk in Small VoIP Network

    9/15

  • 7/30/2019 Can't Connect Trunk in Small VoIP Network

    10/15

  • 7/30/2019 Can't Connect Trunk in Small VoIP Network

    11/15

  • 7/30/2019 Can't Connect Trunk in Small VoIP Network

    12/15

  • 7/30/2019 Can't Connect Trunk in Small VoIP Network

    13/15

    Trunk Configuration

  • 7/30/2019 Can't Connect Trunk in Small VoIP Network

    14/15

    Assignment IP address

    Windows 2008 R2 172.16.0.6

    AsteriskNow 2.0 172.16.0.7

    Servers Gateway 172.16.0.1

    Servers Network

    mask & Range

    255.255.255.240

    172.16.0.1-172.16.0.14

    Client-PCs Network 255.255.255.224

  • 7/30/2019 Can't Connect Trunk in Small VoIP Network

    15/15

    Mask & Range 172.17.0.1-172.17.0.30

    LAN VoIP Network

    Mask & Range

    255.255.255.224

    172.18.0.1-172.18.0.30

    Server MAC address

    Windows Server 00:1B:78:75:75:48

    AsteriskNow 2.0 00:1A:A0:D2:78:85