H3C S7500 Series Operation Manual page 639

Hide thumbs Also See for S7500 Series:
Table of Contents

Advertisement

Operation Manual – DHCP
H3C S7500 Series Ethernet Switches
II. Network diagram
10.1 .1.126 /25
Gateway A
DNS server
Figure 2-1 Network diagram for DHCP configuratio
III. Configuration procedure
1)
Configure a VLAN and add a port in this VLAN, and then configure the IP
address of the VLAN interface (omitted).
2)
Configure DHCP service.
# Enable DHCP.
<H3C> system-view
[H3C] dhcp enable
# Configure the IP addresses that are not dynamically assigned. (That is, the IP
addresses of the DNS server, WINS server, and gateways.)
[H3C] dhcp server forbidden-ip 10.1.1.2
[H3C] dhcp server forbidden-ip 10.1.1.4
[H3C] dhcp server forbidden-ip 10.1.1.126
[H3C] dhcp server forbidden-ip 10.1.1.254
# Configure DHCP address pool 0, including address range and DNS server address.
[H3C] dhcp server ip-pool 0
[H3C-dhcp-pool-0] network 10.1.1.0 mask 255.255.255.0
[H3C-dhcp-pool-0] domain-name aabbcc.com
[H3C-dhcp-pool-0] dns-list 10.1.1.2
[H3C-dhcp-pool-0] quit
# Configure DHCP address pool 1, including address range, gateway, and lease time.
[H3C] dhcp server ip-pool 1
[H3C-dhcp-pool-1] network 10.1.1.0 mask 255.255.255.128
[H3C-dhcp-pool-1] gateway-list 10.1.1.126
[H3C-dhcp-pool-1] expired day 10 hour 12
[H3C-dhcp-pool-1] quit
Client
WINS server
10.1.1.4 /25
Vlan -int1
10.1.1 .1/25
10 .1.1.2/25
Vlan-int1
Switch B
Client
Chapter 2 DHCP Server Configuration
Client
Vlan -int2
10.1.1.129/25
Switch A
DHCP server
Client
n
2-20
Client
10 .1 .1.254 /25
Gateway B
Client

Advertisement

Table of Contents
loading

Table of Contents