Solved

DHCP for IP phones and computers

Posted on 2014-11-25
2
261 Views
Last Modified: 2014-11-29
in the topology below I have Cisco IP phone connected to Cisco Switch and a computer connected to IP Phone. I have seen this scenario in the environment I worked in.

Well, let 's say IP phone needs to be in Vlan 10 and the computer needs to be in Vlan 20.
How do you configure the Switch to be able to hand out IP addresses for IP phone and computer?

Assuming Windows DHCP server is connected somewhere in the Network (to a different switch than the one shown in the topology)

Any illustration will be very much appreciated.

Thank you.
ip
0
Comment
Question by:jskfan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 29

Accepted Solution

by:
Predrag Jovic earned 500 total points
ID: 40465059
Usual way at Cisco switch you configure port as access port (but there are few ways), and then you configure the same port as part of voice VLAN.

(config)# interface fa 0/1
(config-if)# switchport mode access
(config-if)# switchport access vlan 20
(config-if)# switchport voice vlan 10

You need to configure ip-helper on VLAN interface for addresses for DHCP server, configure QoS, set trust boundary for QoS etc...
DHCP server need to be configured with address of TFTP server (in Cisco case  option 150 - for Microsoft I think it is option 66)

For cable connection you have just one cable from switch to phone (usually marked as 10/100 SW ) and other cable from phone to PC (10/100 PC).
If PoE is present on switch, you need to enable it under interface, command is:
power inline {auto [max max-wattage] | never | static [max max-wattage]}
If PoE is not present - you need power adapter, or PoE injector.
0
 

Author Closing Comment

by:jskfan
ID: 40471673
Thank you !
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Problem Description:   Couple of months ago we upgraded the ADSL line at our branch office from Home to Business line. The purpose of transforming the service to have static public IP’s. We were in need for public IP’s to publish our web resour…
I recently purchased a Bluetooth headset called the Music Jogger (model BSH10). The control buttons on it look like this: One of my goals is to use it as the microphone and speakers for Skype calls. In that respect, it works well. However, I …
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question