DHCP client configuration
To configure DHCP client on the G250/G350:
1. Enter the context of the Fast Ethernet interface:
G350-001# interface FastEthernet 10/2
G350-001(config-if:FastEthernet 10/2)#
2. Optionally, configure DHCP client parameters. If you do not configure these parameters,
their default values are used:
Use the ip dhcp client client-id command to set the client-identifier for the
●
DHCP client. By default, the client-identifier is usually the MAC address of the G250/
G350 Fast Ethernet interface.
Use the ip dhcp client hostname command to set the host name for the DHCP
●
client. By default, the DHCP client uses the G250/G350's hostname.
Use the ip dhcp client lease command to set the lease requested by the DHCP
●
client. The lease is the length of time that the IP address provided by the DHCP server
remains in effect. By default, the client does not request a specific lease from the DHCP
server, and uses the lease set by the DHCP server.
Use the ip dhcp client request command to determine which DHCP options the
●
DHCP client requests from the DHCP server. By default, the DHCP client requests all
DHCP options. For information on the specific options, see
user-configurable DHCP options
G350-001(config-if:FastEthernet 10/2)# ip dhcp client client-id hex
01:00:04:0D:29:DC:68
Done!
G350-001(config-if:FastEthernet 10/2)# ip dhcp client hostname "G350-A"
Done!
G350-001(config-if:FastEthernet 10/2)# ip dhcp client lease 1 4 15
Done!
G350-001(config-if:FastEthernet 10/2)# no ip dhcp client request
domain-name
Done!
on page 336.
Configuring DHCP client
Table 22: Common
Issue 1.1 June 2005
97