How To Use Dhcpv4 Relay On The Switch; Dhcp Relay Tutorial Introduction - ZyXEL Communications XGS2210-28 User Manual

Xgs2210 series. intelligent layer 2 gbe switch
Table of Contents

Advertisement

Connect your DHCP server to port 5 and a computer (as DHCP client) to either port 6 or 7. The computer
9
should be able to get an IP address from the DHCP server. If you put the DHCP server on port 6 or 7, the
computer will not able to get an IP address.
10 To check if DHCP snooping works, go to Advanced Application > IP Source Guard > IPv4 Source Guard
Setup, you should see an IP assignment with the type DHCP-Snooping as shown.
Figure 35 Tutorial: Check the Binding If DHCP Snooping Works
You can also telnet or log into the Switch's console. 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 How to Use DHCPv4 Relay on the Switch

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 DHCP Relay Tutorial Introduction

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.
Figure 36 Tutorial: DHCP Relay Scenario
Chapter 6 Tutorials
IpAddress
---------------
------------
10.10.1.16
6d23h59m20s
XGS2210 Series User's Guide
53
Lease
Type
-------------
dhcp-snooping
VLAN
Port
----
-----
100
7

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents