cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
516
Views
19
Helpful
10
Replies

Need help

singh-ashok
Level 1
Level 1

What are the detailed steps to deploy DHCP for IP phones on a router?

10 Replies 10

Jaime Valencia
Cisco Employee
Cisco Employee

there is plenty of documentation on cisco.com if you are a little proactive and search before you ask

i just looked DHCP on CCO and got this:

Configuring DHCP

http://www.cisco.com/en/US/docs/ios/12_2/ip/configuration/guide/1cfdhcp.html

Cisco IOS DHCP Server

http://www.cisco.com/en/US/docs/ios/12_0t/12_0t1/feature/guide/Easyip2.html

only particular need is to add option 150 (TFTP)

HTH

java

if this helps, please rate

HTH

java

if this helps, please rate

Jamie,

Thanks for your help.

I have not worked much on routers / switches & all my experience is on Microsoft platforms. I am a baby on Cisco technologies.

Hence all these basic questions.

Have a nice day.

Thanks & Regards,

Ashok.

At the router where you will deploy DHCP server:

!

ip dhcp pool voice-xxx

network x.x.x.x 255.255.x.x

default-router x.x.x.x

option 150 ip a.a.a.a

!

!

ip dhcp pool data-yyy

network y.y.y.y 255.255.y.y

default-router y.y.y.y

dns-server b.b.b.b

!

option 150 ip would be the TFTP server IP (your publisher hopefully). And the default-router ip would be the Vlan interface IP.

At the access switch:

!

interface FastEthernet1/0/3

switchport access vlan xxx

switchport voice vlan yyy

mls qos trust device cisco-phone

spanning-tree portfast

!

Hope this help.

Please rate if helpful.

Thanks Rahman,

Is a scenario where the data scope is on the Domain Controller & Voice DHCP scope on the router feasible? Is there any special config required on the switch? I mean do we require to configure vlan trunking?

Regards,

Ashok.

Hi, you will need some modification in configuration. If you want so,

first, remove the DHCP pool from you router,

second, configure a vlan for data at switch,

third, keep your windows DHCP server IP at that data vlan.

But I'm not sure how you will populate the TFTP server IP from windows DHCP server (like 'option 150 x.x.x.x' populate the TFTP server IP from router), hope you better know this.

Rahman,

There is no DHCP pool configured on the router right now, all PC's get their IP's from a Windows server & all phones use static IP's. We just want to change this ( the phone part) to DHCP.

My question is - when there is already a DHCP server for data on the Windows server, is it necessay to configure anything extra on the router? I mean some vlan or trunking?

Regards,

Ashok.

>>when there is already a DHCP server for data on the Windows server, is it necessay to configure anything extra on the router?

:::::Yes you will need. Did you configure any data vlan for users? In not, create a vlan for data. Keep your DHCP server in that vlan.

Example:

At DHCP Server

IP Address pool: 192.168.1.0/24

Default Gateway at broadcast mode: 192.168.1.1

TFTP IP at broadcast mode:

At Router

!

interface Vlan

description **** DATA VLAN ****

ip address 192.168.1.1 255.255.255.0

!

Also you should create a voice DHCP pool in the router, set static IP in the phone is not a standard practice.

HTH, post if you need more.

This is a bit weird here , I will explain the scenario - there was a DHCP scope for Voice created on the CCM before but someone has deleted it by accident it seems. On the access switches, I see a vlan for voice ( but no vlan for data ). What I am trying to implement is to re-create the DHCP scope for IP phones on the router instead of the CCM.

There is no vlan for data on any of the switches..

Regards,

Ashok.

That is cool. Then the job very simple!!

Issue the commands at my first post along with these:

!

interface Vlan

description **** VOICE VLAN ****

ip address x.x.x.x 255.255.255.0

!

!

interface Vlan

description **** DATA VLAN ****

ip address y.y.y.y 255.255.y.y

!

Then you will have:

1. seperate vlan for data and voice

2. seperate DHCP pool for data and voice

3. you have configured the access switchport for both the vlans.

You know rest of the things i believe.

Update us if it's done.

Don't need to rate anymore, it's overwhelmed already :)

Hi Mijanur,

Just want to verify , What about Default gateway ? was it defined before or need to define it again?

Regards

Dak

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: