SROS Command Line Interface Reference Guide
PPP Interface Configuration Command Set
5991-2114
© Copyright 2007 Hewlett-Packard Development Company, L.P.
1097
ip address dhcp
Use the
ip address dhcp
command to use Dynamic Host Configuration Protocol (DHCP) to obtain an
address on the interface. Use the
no
form of this command to remove a configured IP address (using
DHCP) and disable DHCP operation on the interface. Variations of this command include:
ip address dhcp
ip address dhcp
<administrative distance>
ip address dhcp track
<name>
ip address dhcp track
<name>
[
<administrative distance>
]
Syntax Description
<administrative distance>
Optional. Specifies the administrative distance to use when adding the
DHCP gateway into the route table. It is used to determine the best route
when multiple routes to the same destination exist. The smaller the
administrative distance the more reliable the route. Range is 1 to 255.
track
<name>
Optional. Attaches a network monitoring track to the DHCP client. The
DHCP gateway route for this client will only reside in the route table while
the track is in the pass state. For more information on configuring track
objects, refer to
Default Values
By default, the administrative distance value is 1.
Functional Notes
Dynamic Host Configuration Protocol (DHCP) allows interfaces to acquire a dynamically assigned IP
address from a configured DHCP server on the network. Many Internet Service Providers (ISPs) require
the use of DHCP when connecting to their services. Using DHCP reduces the number of dedicated IP
addresses the ISP must obtain. Consult your ISP to determine the proper values for the
client-id
and
hostname
fields.
Usage Examples
The following example enables DHCP operation on the PPP sub-interface 1.1:
ProCurve(config)#
interface ppp 1
ProCurve(config-ppp 1)#
ip address dhcp
The following example enables DHCP operation on the PPP interface 1 and sets the administrative
distance as
5
:
ProCurve(config)#
interface ppp 1
ProCurve(config-ppp 1)#
ip address dhcp 5