Options

Help with DHCP - Vlan's

tazdeviltazdevil Member Posts: 55 ■■□□□□□□□□
I seem to be having problems getting my DHCP server to dish out ip's to my voice lan vlan, if I plug the phone into another port set for the data vlan it connets and goes. I have the ip helper setup;

Network;

switch (3550);
vlan 1
vlan 10 - voice
vlan 50 - data

(2621) DHCP Router - Sw1 (fa/10) - access vlan 50

ip dhcp excluded-address 172.16.1.1 172.16.1.10
ip dhcp excluded-address 172.16.2.1 172.16.2.10
!
ip dhcp pool VOICE
network 172.16.1.0 255.255.255.0
default-router 172.16.1.1
dns-server 4.2.2.2
option 150 ip 172.16.1.1
!
ip dhcp pool DATA
network 172.16.2.0 255.255.255.0
default-router 172.16.2.1
dns-server 4.2.2.2
option 150 ip 172.16.1.1


(2650xm) CME Router; - sw1 (fa0/20) - mode trunk encap dot1q

interface FastEthernet0/0.1
encapsulation dot1Q 1 native
ip address 172.16.4.1 255.255.255.0
!
interface FastEthernet0/0.10
description Voice Vlan
encapsulation dot1Q 10
ip address 172.16.1.1 255.255.255.0
ip helper-address 172.16.2.5
!
interface FastEthernet0/0.50
description Data Vlan
encapsulation dot1Q 50
ip address 172.16.2.1 255.255.255.0

if I change a switchport to access vlan 10, and configure a pc with an ip in the range, I can ping to the gateway (172.16.1.1) and to the dhcp server (172.16.2.5) and from the data vlan, I can ping the client PC on the voice vlan (10) and the voice gateway.

I am confused as can be as to what is going on.

any help would be appreciated.

I assume my router-on-a-stick is working since I can ping everything, and the ip helper is suppose to take the address from a broadcast to a unicast and send it to 172.16.2.5.

When I check the dhcp server bindings I see ip address being handed out (172.16.1.11,12,13,14), but nothing seems to happen after that.

I know the CME is working since when I moved the phones to different switchports set only for the data vlan (50) they connected and I can call between the extensions.

thanks in advance..

I am enjoing and learing lots...
ICND1 - Passed March 19/2010
ICND2 - Passed April 8/2010

Comments

  • Options
    essclubessclub Member Posts: 31 ■■■□□□□□□□
    tazdevil wrote: »
    I seem to be having problems getting my DHCP server to dish out ip's to my voice lan vlan, if I plug the phone into another port set for the data vlan it connets and goes. I have the ip helper setup;

    Network;

    switch (3550);
    vlan 1
    vlan 10 - voice
    vlan 50 - data

    (2621) DHCP Router - Sw1 (fa/10) - access vlan 50

    ip dhcp excluded-address 172.16.1.1 172.16.1.10
    ip dhcp excluded-address 172.16.2.1 172.16.2.10
    !
    ip dhcp pool VOICE
    network 172.16.1.0 255.255.255.0
    default-router 172.16.1.1
    dns-server 4.2.2.2
    option 150 ip 172.16.1.1
    !
    ip dhcp pool DATA
    network 172.16.2.0 255.255.255.0
    default-router 172.16.2.1
    dns-server 4.2.2.2
    option 150 ip 172.16.1.1


    (2650xm) CME Router; - sw1 (fa0/20) - mode trunk encap dot1q

    interface FastEthernet0/0.1
    encapsulation dot1Q 1 native
    ip address 172.16.4.1 255.255.255.0
    !
    interface FastEthernet0/0.10
    description Voice Vlan
    encapsulation dot1Q 10
    ip address 172.16.1.1 255.255.255.0
    ip helper-address 172.16.2.5
    !
    interface FastEthernet0/0.50
    description Data Vlan
    encapsulation dot1Q 50
    ip address 172.16.2.1 255.255.255.0

    if I change a switchport to access vlan 10, and configure a pc with an ip in the range, I can ping to the gateway (172.16.1.1) and to the dhcp server (172.16.2.5) and from the data vlan, I can ping the client PC on the voice vlan (10) and the voice gateway.

    I am confused as can be as to what is going on.

    any help would be appreciated.

    I assume my router-on-a-stick is working since I can ping everything, and the ip helper is suppose to take the address from a broadcast to a unicast and send it to 172.16.2.5.

    When I check the dhcp server bindings I see ip address being handed out (172.16.1.11,12,13,14), but nothing seems to happen after that.

    I know the CME is working since when I moved the phones to different switchports set only for the data vlan (50) they connected and I can call between the extensions.

    thanks in advance..

    I am enjoing and learing lots...

    Hi, I had the exact same problem. You need to create a static (or dynamic route) see my thread :http://www.techexams.net/forums/ccna-voice/50298-ccnavoice-pppoe-ntp-config.html

    Cheers

    Esclub
Sign In or Register to comment.