Tutorial: Enable DHCP Snooping on this VLAN
Fig ure 58
8
Click
at the top right corner of the Web Configurator to save the configuration permanently.
Sa ve
9
Connect your DHCP server to port 4 and a computer (as DHCP client) to either port 5 or 6. The computer
should be able to get an IP address from the DHCP server. If you put the DHCP server on port 5 or 6, the
computer will NOT be able to get an IP address.
10 To check if DHCP snooping works, connect to the Switch via Telnet. Use the command "show dhcp
snooping binding" to see the DHCP snooping binding table as shown next.
sysname# show dhcp snooping binding
MacAddress
-----------------
00:02:00:00:00:1c
Total number of bindings: 1
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 T uto ria l Intro duc tio n
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
number in the DHCP request. Client
Chapter 6 Tutorials
IpAddress
---------------
------------
10.10.1.16
6d23h59m20s
connects to the Switch's port 2 in VLAN 102.
A
GS1350 Series User's Guide
77
Lease
Type
-------------
dhcp-snooping
based on the system name, VLAN ID and port
A
VLAN
Port
----
-----
100
5