Chapter 6 Tutorials
GS2220 Series User’s Guide
88
Fig ure 66 Tutorial: Check the Binding If DHCP Snooping Works
You can also telnet. Use the command “show dhcp snooping binding” to see the DHCP snooping
binding table as shown next.
6.3 Ho w to Use DHC Pv4 Re la y o n the Switc h
This tutorial describes how to configure your Switch to forward DHCP client requests to a specific DHCP
server. The DHCP server can then assign a specific IP address based on the information in the DHCP
requests.
6.3.1 DHC P Re la y Tuto ria l Intro duc tion
In this example, you have configured your DHCP server (192.168.2.3) and want to have it assign a
specific IP address (say 172.16.1.18) to DHCP client A based on the system name, VLAN ID and port
number in the DHCP request. Client A connects to the Switch’s port 2 in VLAN 102.
Fig ure 67 Tutorial: DHCP Relay Scenario
6.3.2 C re a te a VLAN
Follow the steps below to configure port 2 as a member of VLAN 102.
1 Access the Web Configurator through the Switch’s management port.
2 Go to Ba sic Se tting > Switc h Se tup and set the VLAN type to 802.1Q . Click Apply to save the settings to
the run-time memory.
sysname# show dhcp snooping binding
MacAddress IpAddress Lease Type VLAN Port
----------------- --------------- ------------ ------------- ---- -----
00:02:00:00:00:1c 10.10.1.16 6d23h59m20s dhcp-snooping 100 6
Total number of bindings: 1