03-28-2023 11:55 AM
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
03-28-2023 12:29 PM
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?
03-28-2023 01:00 PM
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
03-28-2023 01:55 PM
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.
03-28-2023 02:20 PM
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.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide