PLANET WGSW-52040 User Manual
Page 258
via DHCP relay to the DHCP client.
DHCP Relay Configuration Task List:
1. Enable DHCP relay.
2. Configure DHCP relay to forward DHCP broadcast packet.
3. Configure share-vlan
1. Enable DHCP relay.
Command Explanation
Global Mode
service dhcp
no service dhcp
DHCP server and DHCP relay is enabled as the
DHCP service is enabled.
2. Configure DHCP relay to forward DHCP broadcast packet.
Command Explanation
Global Mode
ip forward-protocol udp bootps
no ip forward-protocol udp bootps
The UDP port 67 is used for DHCP broadcast
packet forwarding.
Interface Configuration Mode
ip helper-address
no ip helper-address
Set the destination IP address for DHCP relay
forwarding; the “no ip helper-address
“command cancels the setting.
3. Configure share-vlan
When the user want to use layer 2 device as DHCP relay, there is the number limitation that
create layer 3 interface on layer 2 device, but using the layer 3 interface of share-vlan (it may
include many sub-vlan, however a sub-vlan only correspond to a share-vlan) can implement
DHCP relay forwarding, and the relay device needs to enable option82 function at the same
time.
Command Explanation
Global Mode
ip dhcp relay share-vlan
sub-vlan
no dhcp relay share-vlan
Create or delete share-vlan and it's sub-vlan.
31-37