160 
10.4.6  Application Example for DHCP Server and Relay 
  Network Requirements 
  Every building in the campus belongs to separate VLANs with different network segments. 
  The access points in each building are divided into two parts. One part is the fixed computers 
with static IP addresses in the teachers’ offices; the other is the classroom, in which most 
clients are laptops with dynamic IP addresses obtained from the DHCP server. 
  DNS Server is in VLAN 1and its IP address is 160.20.30.2.   
  Network Diagram 
 
Use T2700G-28TQ as the central switch and enable its DHCP server function to allocate IP 
addresses to clients in the network.  Enable the DHCP relay function on each access switch in 
VLAN 10, 20 and 30. For details about DHCP relay, please refer to 10.5 DHCP Relay. 
  Configuration Procedure 
  Configure Central Switch 
Step  Operation  Note 
1 
Create VLAN  Required. On page VLAN→802.1Q VLAN→VLAN  Config, create 
VLAN10, VLAN20 and VLAN30, and configure their ports. 
2 
Enable DHCP 
Server 
Required.  On page Routing→DHCP Server→DHCP Server, 
enable DHCP Server function under the Global Config.