Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

DHCP from a 1721?

Is it possible to make my 1721 router the DHCP server as well.

I am replacing a linksys unit that did this and I need the Cisco to do it as well.

If you would include the configs or a link to them it would be greatly appreciated.

Thanks

Dale

1 ACCEPTED SOLUTION

Accepted Solutions

Re: DHCP from a 1721?

Hi Dale,

default-router command will be the ip address which you want your clinets to get as a defaut gateway.

As an example if you are configuring your router as DHCP server for your machines in lan then your machines should also get default gateway also fom DHCP server which should be the lan interface of your router so default-router command will make that wprk for you.

HTH, if yes please rate all post.

Ankur

5 REPLIES

Re: DHCP from a 1721?

Hi Dale,

Yes ofcourse 1721 can be configured as DHCP server.

The config will look as follows

ip dhcp pool

network x.x.x.x x.x.x.x

default-router x.x.x.x

!

ip dhcp excluded-address

Check this link to get the details of each and every command which I have mentioned in my config above

http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/fipras_r/1rfdhcp.htm

HTH, if yes please rate the post.

Ankur

Community Member

Re: DHCP from a 1721?

Ankur,

Thanks for your quick reply, yes this looks like this will work, but I have one question. What is the default-router supposed to be. The router I'm putting these commands on is also the gateway router to the internet. do I make it the address of this router?

Please advise.

I will rate the post highly if you can explain this part to me

Thanks

Dale

Hall of Fame Super Gold

Re: DHCP from a 1721?

Dale

The address you put in there will usually be the router interface address. Remember that you are configuring the router to act as a DHCP server and to supply addressing information to PCs that will connect on that subnet. The default router is the default gateway for those PCs and will almost always the be router interface address for that subnet.

HTH

Rick

Re: DHCP from a 1721?

Hi Dale,

default-router command will be the ip address which you want your clinets to get as a defaut gateway.

As an example if you are configuring your router as DHCP server for your machines in lan then your machines should also get default gateway also fom DHCP server which should be the lan interface of your router so default-router command will make that wprk for you.

HTH, if yes please rate all post.

Ankur

Community Member

Re: DHCP from a 1721?

Ankur

Thank you very much for your help.

Yes that solved my issue

Thanks

Dale

113
Views
0
Helpful
5
Replies
CreatePlease to create content