R3166-R3206-HP High-End Firewalls Network Management Configuration Guide-6PW101

134
As shown in Figure 64, the DHCP client (Router) obtains its IP address and PXE server addresses from the
DHCP server (Firewall). The IP address belongs to subnet 10.1.1.0/24. The PXE server addresses are
1.2.3.4 and 2.2.2.2.
The DHCP server assigns PXE server addresses to DHCP clients through Option 43, a self-defined option.
The value of Option 43 configured on the DHCP server in this example is 80 0B 00 00 02 01 02 03 04
02 02 02 02. The number 80 is the value of the sub-option type. The number 0B is the value of the
sub-option length. The numbers 00 00 are the value of the PXE server type. The number 02 indicates the
number of servers. The numbers 01 02 03 04 02 02 02 02 indicate that the PXE server addresses are
1.2.3.4 and 2.2.2.2.
Figure 64 Network diagram for self-defined option configuration
2. Configuration procedure
a. Specify IP address for interface GigabitEthernet 0/1 (omitted).
b. Configure the DHCP server
# Enable DHCP.
<Firewall> system-view
[Firewall] dhcp enable
# Enable the DHCP server on GigabitEthernet 0/1.
[Firewall] interface GigabitEthernet 0/1
[Firewall-GigabitEthernet0/1] dhcp select server global-pool
[Firewall-GigabitEthernet0/1] quit
# Configure DHCP address pool 0.
[Firewall] dhcp server ip-pool 0
[Firewall-dhcp-pool-0] network 10.1.1.0 mask 255.255.255.0
[Firewall-dhcp-pool-0] option 43 hex 80 0B 00 00 02 01 02 03 04 02 02 02 02
c. Verification
After the preceding configuration is complete, Router can obtain its IP address on 10.1.1.0/24 and PXE
server addresses from Firewall. You can use the display dhcp server ip-in-use command on the DHCP
server to view the IP addresses assigned to the clients.
Troubleshooting DHCP server configuration
Symptom
A client’s IP address obtained from the DHCP server conflicts with another IP address.
Analysis
A host on the subnet may have the same IP address.
Solution
1. Disable the client’s network adapter or disconnect the client’s network cable. Ping the IP address
of the client from another host to check whether there is a host using the same IP address.