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

Table Of Contents
180
Dynamic IP address assignment configuration example
Network requirements
As shown in Figure 103, the DHCP server (Firewall) assigns IP address to clients on subnet
10 .1.1. 0 / 24 , w h i c h i s s u b n e t t e d i n t o 10 .1.1. 0 / 2 5 a n d 10 .1.1.12 8 / 2 5 .
The IP addresses of GigabitEthernet 0/1 and GigabitEthernet 0/2 on the Firewall are 10.1.1.1/25
a n d 10 .1.1.12 9 / 2 5 r e s p e c t i v e l y.
In subnet 10.1.1.0/25, the address lease duration is ten days and twelve hours, domain name suffix
aabbcc.com, DNS server address 10.1.1.2/25, WINS server address 10.1.1.4/25, and gateway
address 10.1.1.126/25.
In the subnet 10.1.1.128/25, the address lease duration is five days, domain name suffix
aabbcc.com, DNS server address 10.1.1.2/25, and gateway address 10.1.1.254/25 and there is
no WINS server address.
The domain name suffix and DNS server address on subnets 10.1.1.0/25 and 10.1.1.128/25 are the
same. Therefore, the domain name suffix and DNS server address need to be configured only for
s u b n e t 10 .1.1. 0 / 2 4 . S u b n e t 10 .1.1. 0 / 2 5 a n d 10 .1.1.12 8 / 2 5 c a n i n h e r i t t h e c o n f i g u r a t i o n o f s u b n e t
10 .1.1. 0 / 2 4 .
Figure 103 Network diagram
Configuration procedure
Specify IP addresses for interfaces. (Details not shown.)
Configure the DHCP server
# Enable DHCP.
<Firewall> system-view
[Firewall] dhcp enable
# Enable the DHCP server on GigabitEthernet 0/1 and GigabitEthernet 0/2.
[Firewall] interface GigabitEthernet 0/1
[Firewall-GigabitEthernet0/1] dhcp select server global-pool
[Firewall-GigabitEthernet0/1] quit
[Firewall] interface GigabitEthernet 0/2
[Firewall-GigabitEthernet0/2] dhcp select server global-pool
[Firewall-GigabitEthernet0/2] quit
# Exclude IP addresses from dynamic allocation (addresses of the DNS server, WINS server, and
gateways).