DES-7200 Configuration Guide Chapter 4 DHCP Configuration
4-21
4.8.1.3 Configuration Tips
1. Enable DHCP server on Switch A and create an address pool to configure
dynamic IP address allocation. Meanwhile, create an address pool to bind IP
address manually.
2. Specify the address of Domain Name Server (addresses of DNS Server and
WINS Server in this example) and domain name of client in the corresponding
address pool.
Note
This example only illustrates the configuration of DHCP Server
related features on Switch A. As for Switch B, all access users will
belong to VLAN 1 by default. Access PC will obtain a dynamically
allocated IP address. If you are in need of other applications,
please refer to the relevant configurations.
4.8.1.4 Configuration Steps
Step 1: On Switch A, create a new DHCP address pool and configure dynamic
IP address allocation.
! Configure the name of address pool as "dynamic" and enter DHCP
configuration mode.
SwitchA #configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
SwitchA (config)#ip dhcp pool dynamic
! In DHCP configuration mode, configure an IP address network allocable to
clients and configure the default gateway of this network segment.
SwitchA (dhcp-config)#network 192.168.1.0 255.255.255.0
SwitchA (dhcp-config)#default-router 192.168.1.1 255.255.255.0
Step 2: Specify the DNS Server of "dynamic" address pool and configure the
domain name of client.
! Assuming that the IP address of DNS Server is 192.168.1.2; configure Domain
Name Server in the address pool and configure the domain name of client as
DES-7200.com.
SwitchA (dhcp-config)#dns-server 192.168.1.2
SwitchA (dhcp-config)#domain-name DES-7200.com
Step 3: Specify the WINS Server of "dynamic" address pool and configure the
NetBIOS node type of client.
! Assuming that the IP address of WIN Server is 192.168.1.3; configure
NetBIOS WINS server in the address pool and configure the NetBIOS node
type as Hybrid.