Home  
Friday, 05 September 2008
Home arrow All Router Series arrow How to Configure a Cisco Router as a DHCP Client
Home
Router How-To List
Downloads
Links
Advanced Search
Contact Us
Cisco Routers
All Router Series
1800 Series
2500 Series
2600 Series
Hints and Tips
Ads


Login Form
Username

Password

Remember me
Password Reminder
No account yet? Create one
Subscribe To Our Feed
Get Weekly Email Updates






Bookmark this page on

Subscribe with Bloglines
Add to My Yahoo!


Add to Technorati Favorites
View blog reactions
How to Configure a Cisco Router as a DHCP Client | Print |  E-mail
User Rating: / 9
PoorBest 
Cisco Routers - General
Written by Mohammed Alani   
Tuesday, 08 May 2007

When would you need this: When your ISP gives you dynamic IP address upon each connection or you need to configure the router to obtain its interface IP address automatically.

Special Requirements: None.

 

This is done using a single command,

Router(config-if)#ip address dhcp

Some service providers might ask you to use a client-id and/or a hostname of their own choice. This can be done by adding the following parameters to the command above,

Router(config-if)#ip address dhcp client-id INTNAME hostname HOST

where,

INTNAME is the interface name that will be used for the client-id

HOST is the hostname that will be used for the DHCP binding. This hostname can be different from the one that was set for the router in the global configuration.

You can use both of these parameters, one of them, or none of them.

If you need to use the 'ip nat outside' command at the interface and setup the rest of the NAT configuration as mentioned in the NAT and PAT Configureation Procedure.

 

 

Comments
Inval Input
Written by hankosky on 2007-08-05 17:21:46
When i use this command i get a Invalid Input error

Only registered users can write comments.
Please login or register.

Thank you for leaving a comment

RouterGeek Store
Polls
Did you find the information you needed here?
  
Bookmark Us
 
 
Who's Online
We have 21 guests online
Hit Count

Latest Articles
Popular Articles