Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

DHCP for IP phones and computers

Posted on 2014-11-25
2
Medium Priority
?
285 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 31

Accepted Solution

by:
Predrag earned 2000 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

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…
In the world of WAN, QoS is a pretty important topic for most, if not all, networks. Some WAN technologies have QoS mechanisms built in, but others, such as some L2 WAN's, don't have QoS control in the provider cloud.
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…

671 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