cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
386
Views
1
Helpful
4
Replies

voice vlan does not get gateway!

rdrigues
Level 1
Level 1

Hello,
I have a problem that is difficult to solve;

I have set up a voice vlan, but the phones get IP, but do not get the gateway;

The phone is on port 1/0/13;


vlan 222
name VOICE


interface GigabitEthernet1/0/13
switchport mode access
switchport voice vlan 222

interface GigabitEthernet1/0/48
description 10.128.221.3
switchport mode trunk


interface Vlan1
ip address 10.128.221.15 255.255.255.0
!
interface Vlan222
ip address 10.129.222.15 255.255.255.0
ip helper-address 10.129.222.9
ip helper-address 10.150.0.32
ip helper-address 10.150.0.33
no ip redirects
no ip unreachables
!
ip default-gateway 10.128.221.9
ip http server
ip http secure-server

4 Replies 4

Hello,

 The gateway on this case is an attribute informed by DHCP server.  Something is wrong on the DHCP scope.

What to you use for DHCP server?

On vlan 1 it delivers the ip and the gateway and vlan 222 which has DHCP scope created does not deliver gw;

ip helper-address 10.150.0.32
ip helper-address 10.150.0.33

Compare the dhcp config for vlan 1 and vlan 222. You might get the answer. 

 Remainding the DHCP server must inform the default gateway to clients it is not associated with vlan itself.

Joseph W. Doherty
Hall of Fame
Hall of Fame

ip address 10.129.222.15 255.255.255.0
ip helper-address 10.129.222.9

BTW, as one of your DHCP servers appears to have an IP on same network, helper-address shouldn't be needed for that.

As you list 3 helper-addresses, like the other posters, I would double check your DHCP configurations.

Review Cisco Networking for a $25 gift card