4-2
z
An interface can be configured to acquire an IP address in multiple ways, but these ways are
mutually exclusive. The latest configuration will overwrite the previous one.
z
After the DHCP client is enabled on an interface, no secondary IP address can be configured for
the interface.
z
If the IP address assigned by the DHCP server is on the same network segment as the IP
addresses of other interfaces on the device, the DHCP client will not request any IP address from
the DHCP server, unless you delete the conflicting IP address and bring up the interface again by
first executing the
shutdown
command and then the
undo shutdown
command or re-enable the
DHCP client on the interface by executing the
undo ip address dhcp-alloc
command and then
the
ip address dhcp-alloc
command.
Displaying and Maintaining the DHCP Client
To do…
Use the command…
Remarks
Display specified
configuration information
display dhcp client
[
verbose
] [
interface
interface-type interface-number
]
Available in any view
DHCP Client Configuration Example
Network requirements
As shown in
Figure 4-1
, on a LAN, Switch B contacts the DHCP server via VLAN-interface 2 to obtain an
IP address, DNS server address, and static route information. The IP address resides on network
10.1.1.0/24. The DNS server address is 20.1.1.1. The next hop of the static route to network 20.1.1.0/24
is 10.1.1.2.
The DHCP server uses self-defined Option 121 to assign static route information to DHCP clients. The
destination descriptor field comprises two parts, subnet mask length and destination network address.
In this example, the value of the destination descriptor field takes 18 14 01 01, a hexadecimal number
indicating that the subnet mask length is 24 and destination network address is 20.1.1.0, and the value
of the next hop address field takes 0A 01 01 02, a hexadecimal number indicating that the next hop is
10.1.1.2.
Figure 4-1
Network diagram for DHCP client configuration example
Содержание S7902E
Страница 82: ...1 4 DeviceA interface tunnel 1 DeviceA Tunnel1 service loopback group 1 ...
Страница 200: ...1 11 DeviceB display vlan dynamic No dynamic vlans exist ...
Страница 494: ...ii Displaying and Maintaining Tunneling Configuration 1 45 Troubleshooting Tunneling Configuration 1 45 ...
Страница 598: ...ii ...
Страница 1757: ...4 9 ...
Страница 1770: ...6 4 ...
Страница 2017: ...2 11 Figure 2 3 SFTP client interface ...
Страница 2062: ...i Table of Contents 1 URPF Configuration 1 1 URPF Overview 1 1 What is URPF 1 1 How URPF Works 1 1 Configuring URPF 1 2 ...
Страница 2238: ...1 16 DeviceA cfd linktrace service instance 1 mep 1001 target mep 4002 ...
Страница 2442: ...2 4 Set the interval for sending Syslog or trap messages to 20 seconds Device mac address information interval 20 ...