10-14-2024 04:40 AM
I have a cisco 3750X-48P switch and a D-Link DPH-400SE phone, where the phone is connected to the G2/0/35 interface, with the configuration below:
interface GigabitEthernet2/0/35
switchport access vlan 153
switchport mode access
switchport voice vlan 99
no snmp trap link-status
spanning-tree portfast
end
I have two pools for each of the vlans.
ip dhcp pool DATA
network 10.189.153.0 255.255.255.0
default-router 10.189.153.254
domain-name inacom.local
option 43 hex 3a02.009a.ff
dns-server 192.168.1.4 192.168.1.5
lease 0 10
!
ip dhcp pool VOIP
network 192.168.99.0 255.255.255.0
default-router 192.168.99.1
dns-server 8.8.8.8
option 66 ip 192.168.1.10
!
Despite this configuration, the phone continues to obtain IP from the data network and not the voice network. I have already enabled LLDP on the switch and on the phone.
SW-Andar-1#sh lldp neighbors
Device ID Local Intf Hold-time Capability Port ID
LAPTOP-BRUNOMAR Gi2/0/25 3601 d0ad.08bc.6051
"T2XD" Gi2/0/39 180 B,T 0015.6580.b622
SIP-T21P_E2 Gi2/0/41 180 T 0015.65b0.62b8
DPH-400SE Gi2/0/35 60 B,T 908d.7804.2873
80e8.2c17.c7e1 Gi2/0/38 3601 80e8.2c17.c7e1
10-14-2024 05:39 AM
wondering if the sequence of the DHCP scope is playing any interference here. You have a plain switch with two scope, we dont have anything tied to scope, meaning, the client will ask around by sending broadcast packet. The only explanation I can think of is the first pool is replying first.
I believe you could interfere on this behavior by using the "client-identifier " under the pool configuration.
ip dhcp pool VOIP
network 192.168.99.0 255.255.255.0
default-router 192.168.99.1
dns-server 8.8.8.8
option 66 ip 192.168.1.10
client-identifier 908d.7804.2873
10-14-2024 06:28 AM - edited 10-14-2024 06:31 AM
Do you have LLDP enabled?
lldp run
By default the switch will only run CDP which I doubt the D-link phone would recognize. CDP/LLDP are the most common mechanisms that phones use to discover the voice VLAN.
Edit: Sorry, you did say you have LLDP enabled. Is there anything on the phone that needs to be enabled to support LLDP-MED? You didn't list the switch IOS version. If it is too old, it might not support LLDP-MED. That would also be required for the phone to discover the voice VLAN.
10-15-2024 07:16 AM
I enabled LLDP on the phone and tried to proceed with the lldp-med configuration but I had the result in the image below.
I manually configured the Data (153) and Voice VLAN (99).
the phone continues to receive IP from the voice vlan
10-15-2024 10:27 AM
Have you tested DHCP in the voice VLAN? My suggestion would be to plug a work station in to a port that is using 99 as the access vlan and no voice vlan set. See if DHCP works. If not, you need to resolve that first.
10-14-2024 09:38 AM
Hello
on the switch..
sh ip int brief
sh ip route
sh ip arp
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