User guide

DHCP Client command reference Dynamic Host Configuration Protocol
5-67
iMG/RG Software Reference Manual (System Administration)
5.1.6.1.15 DHCPCLIENT SET INTERFACECONFIG AUTOIP ENABLED|DISABLED
Syntax DHCPCLIENT SET INTERFACECONFIG {<name>|<number>} AUTOIP
{ENABLED | DISABLED}
Description This command enables/disables IP address auto-configuration (Auto-IP).
Auto-IP automatically configures an IP address when a DHCP client fails to contact a
DHCP server and cannot obtain a lease. An IP address on the 169.254 subnet is automat-
ically created, and ARP requests are issued for the suggested IP address. The address is
abandoned if it already exists on the network or if any other host on the network issues
an ARP probe for that IP address.
Once an IP address has been automatically configured, the DHCP client continues to
check whether it can contact a DHCP server. If the client can contact a DHCP server and
obtain a legitimate lease, the legitimate lease will supersede the auto-configured IP
address.
Note: Even if you have enabled Auto-IP using this command, you will not be able to use IP address auto-
configuration if a DHCP server on the same network does not allow it. See the dhcpserver subnet add
option command.
Options The following table gives the range of values for each option that can be specified with
this command and a default value (if applicable).
Example --> dhcpclient set interfaceconfig mycfg autoip enabled
See also DHCPSERVER SUBNET ADD OPTION
For further information on the RFC standard for DHCP IP address auto-configuration, see http://www.ietf.org/
rfc/rfc2563.txt
Option Description Default Value
name An existing DHCP client interface. To display client
interface names, use the
DHCPCLIENT LIST
INTERFACECONFIGS
command.
N/A
number An existing DHCP client interface. To display client
interface numbers, use the
DHCPCLIENT LIST
INTERFACECONFIGS
command.
N/A
enabled Enables Auto-IP on a specified dhcp client. enabled
disabled Disables Auto-IP on a specified dhcp client.