Solved

DHCP for IP phones and computers

Posted on 2014-11-25
2
229 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
2 Comments
 
LVL 26

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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

There are two basic ways to configure a static route for Cisco IOS devices. I've written this article to highlight a case study comparing the configuration of a static route using the next-hop IP and the configuration of a static route using an outg…
As companies replace their old PBX phone systems with Unified IP Communications, many are finding out that legacy applications such as fax do not work well with VoIP. Fortunately, Cloud Faxing provides a cost-effective alternative that works over an…
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…

707 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now