DHCPREQUEST:
DHCPDECLINE:
DHCPRELEASE:
DHCPINFORM:
Packets Sent
BOOTREPLY:
DHCPOFFER:
DHCPACK:
DHCPNAK:
Configuration Procedure (using VLAN interface as an example):
Step Operation
1
Set the link type for port.
2
Create VLAN.
3
Create VLAN interface.
4
Enable DHCP Server.
5
Configure Excluded IP
Address.
6
Configure IP Pool.
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 1 and its IP address is 160.20.30.2.
Displays the Request packet received.
Displays the Decline packet received.
Displays the Release packet received.
Displays the Inform packet received.
Displays the Bootp Reply packet sent.
Displays the Offer packet sent.
Displays the Ack packet sent.
Displays the Nak packet sent.
Description
Required. On the VLAN→802.1Q VLAN→Port Config page,
set the link type for the port basing on its connected device.
Required. On the VLAN→802.1Q VLAN→VLAN Config
page, click the Create button to create a VLAN. Enter the
VLAN ID and the description for the VLAN. Meanwhile,
specify its member ports.
Required. On the Routing→Static Routing→Static Routing
Config page, create the interface IP address of the VLAN.
Required. On the Routing→DHCP Server→DHCP Server
page, enable the DHCP Server function.
Optional. On the Routing→DHCP Server→DHCP Server
page, configure the Excluded IP Address which cannot be
assigned by the switch.
Required. On the Routing→DHCP Server→Pool Setting
page, configure the parameters of IP Pool.
182