HP 4800G Series Configuration Manual page 286

24/48 port
Table of Contents

Advertisement

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 less than 124.
Figure 2-2 DHCP network diagram
Configuration procedure
Specify IP addresses for VLAN interfaces (omitted).
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
[SwitchA] dhcp server forbidden-ip 10.1.1.4
[SwitchA] dhcp server forbidden-ip 10.1.1.126
[SwitchA] dhcp server forbidden-ip 10.1.1.254
# Configure DHCP address pool 0 (address range, client domain name suffix, and DNS server
address).
[SwitchA] dhcp server ip-pool 0
[SwitchA-dhcp-pool-0] network 10.1.1.0 mask 255.255.255.0
[SwitchA-dhcp-pool-0] domain-name aabbcc.com
[SwitchA-dhcp-pool-0] dns-list 10.1.1.2
[SwitchA-dhcp-pool-0] quit
# Configure DHCP address pool 1 (address range, gateway, lease duration, and WINS server).
[SwitchA] dhcp server ip-pool 1
2-18

Advertisement

Chapters

Table of Contents
loading

Table of Contents