Solved

DHCP for IP phones and computers

Posted on 2014-11-25
2
273 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 30

Accepted Solution

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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

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 hope of saving someone else's sanity... About a year ago we bought a Cisco 1921 router with two ADSL/VDSL EHWIC cards to load balance local network traffic over the two broadband lines we have, but we couldn't get the routing to work consi…
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…
Suggested Courses
Course of the Month6 days, 9 hours left to enroll

634 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