3com S7906E Istruzione Sull'Installazione
2-18
Dynamic IP Address Assignment Configuration Example
Network requirements
z
As shown in
, the DHCP server (Switch A) assigns IP addresses to clients in subnet
10.1.1.0/24, which is subnetted into 10.1.1.0/25 and 10.1.1.128/25.
z
The IP addresses of VLAN-interfaces 1 and 2 on Switch A are 10.1.1.1/25 and 10.1.1.129/25
respectively.
z
In address pool 10.1.1.0/25, configure the address lease duration as ten days and twelve hours,
domain name suffix aabbcc.com, DNS server address 10.1.1.2/25, gateway 10.1.1.126/25, and
WINS server 10.1.1.4/25.
z
In address pool 10.1.1.128/25, configure the address lease duration as 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.
z
The domain name 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 can be configured only for
subnet 10.1.1.0/24. Subnet 10.1.1.128/25 can inherit the configuration of subnet 10.1.1.0/24.
In this example, the number of requesting clients connected to VLAN-interface 1 should be less than
122, and that of clients connected to VLAN-interface 2 should be less than 124.
Figure 2-2 DHCP network diagram
Configuration procedure
1) Specify IP addresses for VLAN interfaces (omitted).
2) Configure the DHCP server
# Enable DHCP.
<SwitchA> system-view
[SwitchA] dhcp enable
# Exclude IP addresses (addresses of the DNS server, WINS server and gateways).
[SwitchA] dhcp server forbidden-ip 10.1.1.2