cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
384
Views
0
Helpful
2
Replies

voip phones getting ip address

carl_townshend
Spotlight
Spotlight

Hi all, can anyone tell me how my voip phones get addresses from my dhcp server, the pc plugs into the phone using untagged vlan, and the phone plugs into the switch, i have helper addresses setup on my switches for both vlans, my question is, how does the switch know which vlan the phone is in initally, do we need to set the vlan in the phone first ?

2 Replies 2

Hieu Cao
Level 4
Level 4

It's good that you had the ip helper address setup in your switches already.

The switch knows which vlan the phone is in by this command "switchport voice vlan xxx".

Is your phone ip address in the same subnet as the pc?

a.cruea1980
Level 3
Level 3

The phones send out a CDP to the switch it's connected to, requesting what VLAN it is supposed to be in (which is why on Cisco switches you have the "switchport voice vlan" command).

The switch responds, letting the phone know what vlan it is supposed to be in, then the phone receives DHCP addresses based on that.

If your phones are connected to a Cisco switch, the PC's traffic is tagged with the vlan that you specify with the "switchport access vlan" command; the vlan info is stripped or added when it gets to the phone.

http://www.cisco.com/en/US/docs/voice_ip_comm/cuipph/7961g_7961g-ge_7941g_7941g-ge/4_1_3/english/administration/guide/61admin.pdf

Look at section 2-9. It'll tell you how the phones start up.

Review Cisco Networking products for a $25 gift card