DHCP Server Configuration Example
145
The DHCP settings of the 10.1.1.0/25 network segment are as follows:
■
Lease time: 10 days plus 12 hours
■
Domain name: aabbcc.com
■
DNS server: 10.1.1.2
■
NetBIOS server: none
■
Gateway: 10.1.1.126
The DHCP settings of the 10.1.1.128/25 network segment are as follows:
■
Lease time: 5 days
■
Domain name: aabbcc.com
■
DNS server: 10.1.1.2
■
NetBIOS server: 10.1.1.4
■
Gateway: 10.1.1.254
Network diagram
Figure 34
Network diagram for DHCP configuration
Configuration procedure
1
Enter system view.
<S5500> system-view
2
Enable DHCP.
[S5500] dhcp enable
3
Configure the IP addresses that are not dynamically assigned. (That is, the IP
addresses of the DNS server, NetBIOS server, and gateways.)
[S5500]
dhcp server forbidden-ip 10.1.1.2
[S5500]
dhcp server forbidden-ip 10.1.1.4
[S5500]
dhcp server forbidden-ip 10.1.1.126
[S5500]
dhcp server forbidden-ip 10.1.1.254
4
Configure DHCP address pool 1, including address range, domain name, DNS server
address, gateway address, and lease time.
[S5500]
dhcp server ip-pool 1
[S5500-dhcp-pool-1] network 10.1.1.0 mask 255.255.255.128
[S5500-dhcp-pool-1] domain-name aabbcc.com
[S5500-dhcp-pool-1] dns-list 10.1.1.2
[S5500-dhcp-pool-1] gateway-list 10.1.1.126
[S5500-dhcp-pool-1] expired day 10 hour 12
Summary of Contents for 5500 SI - Switch - Stackable
Page 24: ...24 ABOUT THIS GUIDE...
Page 50: ...50 CHAPTER 1 GETTING STARTED...
Page 54: ...54 CHAPTER 2 ADDRESS MANAGEMENT CONFIGURATION...
Page 78: ...78 CHAPTER 3 PORT OPERATION...
Page 88: ...88 CHAPTER 4 XRN CONFIGURATION...
Page 122: ...122 CHAPTER 8 VLAN VPN CONFIGURATION...
Page 216: ...216 CHAPTER 15 SSH TERMINAL SERVICES...
Page 268: ...268 CHAPTER 16 IP ROUTING PROTOCOL OPERATION...
Page 308: ...308 CHAPTER 17 NETWORK PROTOCOL OPERATION...
Page 349: ...349...
Page 350: ...350 CHAPTER 18 MULTICAST PROTOCOL...
Page 522: ...522 CHAPTER 22 FILE SYSTEM MANAGEMENT...
Page 584: ...584 CHAPTER 30 PASSWORD CONTROL CONFIGURATION OPERATIONS...
Page 600: ...600 CHAPTER 31 MSDP CONFIGURATION...
Page 614: ...614 CHAPTER 32 CLUSTERING...
Page 670: ...670 CHAPTER C AUTHENTICATING THE SWITCH 5500 WITH CISCO SECURE ACS...