Tp-Link T1700G-28TQ V3 [448/930] Dhcp l2 relay

Tp-Link T1700G-28TQ V3 [448/930] Dhcp l2 relay
Configuring DHCP Service DHCP
Configuration Guide 423
As the following figure shows, no IP addresses are assigned to VLAN 10 and VLAN 20, but
a default relay agent interface is configured with the IP address 192.168.2.1/24. The switch
uses IP address of the default agent interface (192.168.2.1/24) to apply for IP addresses for
clients in both VLAN 10 and VLAN 20. As a result, the DHCP server will assign IP addresses
on 192.168.2.0/24 (the same subnet with the IP address of the default agent interface) to
clients in both VLAN 10 and VLAN 20.
Figure 1-3 Application Scenario of DHCP VLAN Relay
DHCP Server
DHCP Clients
VLAN 10
192.168.2.0/24
DHCP Clients
VLAN 20
192.168.2.0/24
DHCP Relay
Default Agent Interface:
192.168.2.1/24
Note:
If the VLAN already has an IP address, the switch will use the IP address of the VLAN as the re-
lay agent IP address. The default relay agent IP address will not take effect.
A routed port or port channel interface is not associated with a particular VLAN. DHCP VLAN
relay will not work on routed ports or port channel interfaces.
DHCP L2 Relay
Unlike DHCP relay, DHCP L2 Relay is used in the situation that the DHCP server and client
are in the same VLAN. In DHCP L2 Relay, in addition to normally assigning IP addresses to
clients from the DHCP server, the switch can record the location information of the DHCP
client using Option 82. The switch can add Option 82 to the DHCP request packet and
then transmit the packet to the DHCP server. The DHCP server which supports Option 82
can set the distribution policy of IP addresses and the other parameters, providing a more
flexible address distribution way.
Figure 1-4 Application Scenario of DHCP L2 Relay
DHCP Server
DHCP Clients
VLAN 1
DHCP Clients
Switch
DHCP L2 Relay

Содержание

Похожие устройства

Скачать