R3721-F3210-F3171-HP High-End Firewalls Network Management Configuration Guide-6PW101

Table Of Contents
179
Figure 102 Network diagram
Configuration procedure
Configure the IP address of GigabitEthernet 0/1 on the Firewall.
<Firewall> system-view
[Firewall] interface GigabitEthernet 0/1
[Firewall-GigabitEthernet0/1] ip address 10.1.1.1 25
[Firewall-GigabitEthernet0/1] quit
Configure the DHCP server.
# Enable DHCP.
[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
# Create DHCP address pool 0, and configure a static binding, DNS server and gateway in it for Router
A.
[Firewall] dhcp server ip-pool 0
[Firewall-dhcp-pool-0] static-bind ip-address 10.1.1.5
[Firewall-dhcp-pool-0] static-bind client-identifier
3030-3066-2e65-3230-302e-3030-3032-2d45-7468-6572-6e65-7430-2f30
[Firewall-dhcp-pool-0] dns-list 10.1.1.2
[Firewall-dhcp-pool-0] gateway-list 10.1.1.126
[Firewall-dhcp-pool-0] quit
# Create DHCP address pool 1, and configure a static binding, DNS server and gateway in it for Router
B.
[Firewall] dhcp server ip-pool 1
[Firewall-dhcp-pool-1] static-bind ip-address 10.1.1.6
[Firewall-dhcp-pool-1] static-bind mac-address 000f-e200-01c0
[Firewall-dhcp-pool-1] dns-list 10.1.1.2
[Firewall-dhcp-pool-1] gateway-list 10.1.1.126
Verifying the configuration
After the preceding configuration is complete, Router A can obtain IP address 10.1.1.5 and other network
parameters, and Router B can obtain IP address 10.1.1.6 and other network parameters from the 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.