cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
479
Views
5
Helpful
4
Replies

Cisco IOS and DHCP

MarkJeffers
Level 1
Level 1

Is the Cisco DHCP server part of the IOS? In other words can any Cisco managed switch or router capable of providing DHCP to include layer 2 managed switches?

Can someone point me to a set of instructions on configuring DHCP on a 3560 Layer 3 switch? I don’t want to do anything fancy, just run DHCP server on a particular block of IP address. Cisco instructions seem to be incomplete.

I’m running IOS 12.2

Is there a “show” command or something similar that will show me the current DHCP configuration?

Thanks for any information you can provide!

4 Replies 4

rhltechie
Level 1
Level 1

This is the config I have on one of my 3560 switches:

ip dhcp excluded-address 192.168.2.1

ip dhcp excluded-address 192.168.2.2

!

ip dhcp pool test

network 192.168.2.0 255.255.255.0

dns-server

default-router 192.168.2.1

As you can see its quite simple. start off with the commands "ip dhcp" in global config mode and see all of the available ones to use. its fairly straight forward from there.

This small article should help you out a little.

http://techrepublic.com.com/5100-1035_11-5690240-2.html

HTH

Anand Narayana
Level 6
Level 6

this is the working configuration of dhcp server in my office, which will be very simple for you to understand.

ip dhcp pool department1

network 10.1.0.0 255.255.255.0

domain-name yourcomapny.com

dns-server 10.2.1.1

default-router 10.1.1.252

lease 3

!

ip dhcp snooping

ip dhcp-server 10.187.1.250

rate this post

Hi Netpros

I do have some query, cisco router configuration i did.

But how to configure cisco serial interface to become DHCP client. if other end of the interface is atteched with the router configured as DHCP server.

I am using this configuration on my LAB environment.

So is it required to configure domain name on DHCP derver. as i don hav any domail name on my LAB environment.

Thanks

DK

hi dhaval,,,

u can configure your interface for the client using command

ip address dhcp client-id interface

please rate this post if it helps

regards

Devang