cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
621
Views
0
Helpful
5
Replies

D-link phone only receives IP from data VLAN

delciocarlos
Level 1
Level 1

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

5 Replies 5

@delciocarlos 

 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

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.

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).

 

delciocarlos_0-1729001164979.png

the phone continues to receive IP from the voice vlan

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.

Hello
on the switch..
sh ip int brief
sh ip route
sh ip arp


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul