Displaying and maintaining the dhcp client, Dhcp client configuration example, Network requirements – H3C Technologies H3C SecPath F1000-E User Manual
Page 230: Configuration procedure
205
Displaying and maintaining the DHCP client
Task Command
Remarks
Display specified
configuration information.
display dhcp client [ verbose ] [ interface
interface-type interface-number ] [ | { begin |
exclude | include } regular-expression ]
Available in any view
DHCP client configuration example
Network requirements
As shown in
, on a LAN, the SecPath contacts the DHCP server via GigabitEthernet 0/1 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 Option 121 to assign static route information to DHCP clients.
shows the
format of Option 121. 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 117 Option 121 format
Figure 118 Network diagram
Configuration procedure
•
Configure Router A:
# Specify the IP address of GigabitEthernet 0/1.
[RouterA] interface GigabitEthernet 0/1
[RouterA-GigabitEthernet0/1] ip address 10.1.1.1 24
SecPath
DHCP Client
DNS server
Router A
DHCP server
GE0/1
10.1.1.1/24
GE0/1
Router B
10.1.1.2/24
20.1.1.2/24
20.1.1.1/24
- H3C SecPath F5000-A5 Firewall H3C SecPath F1000-A-EI H3C SecPath F1000-E-SI H3C SecPath F1000-S-AI H3C SecPath F5000-S Firewall H3C SecPath F5000-C Firewall H3C SecPath F100-C-SI H3C SecPath F1000-C-SI H3C SecPath F100-A-SI H3C SecBlade FW Cards H3C SecBlade FW Enhanced Cards H3C SecPath U200-A U200-M U200-S H3C SecPath U200-CA U200-CM U200-CS H3C SecBlade LB Cards H3C SecPath L1000-A Load Balancer