|
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.
|
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 |