Configuration Guide DHCP Relay Configuration
To configure DHCP option82, execute the following commands in the global
configuration mode:
Ruijie(config)# ip dhcp relay
information option82
Enable the DHCP option82 function.
Ruijie(config)# no ip dhcp relay
information option82
Disable the DHCP option82 function.
Configuring DHCP relay check server-id
After the ip dhcp relay check server-id command is configured, the device
resolves DHCP SERVER-ID option upon receiving DHCP relay. If this option is
set, the DHCP request message is sent to this server only, instead of other
configured servers.
To configure DHCP relay check server-id function, execute the following
commands in the global configuration mode:
Ruijie(config)# ip dhcp relay check
server-id
Enable the DHCP relay check server-di
function.
Ruijie(config)# no ip dhcp relay
check server-id
Disable the DHCP relay check server-id
function.
Configuring DHCP Relay Suppression
After the ip dhcp relay suppression command is configured, the port will not
relay the DHCP request broadcast packet by transforming it into the unicast
form. However, it will not suppress the normal forwarding of broadcast packets
received.
To configure DHCP relay suppression, execute the following commands in the
interface configuration mode:
Ruijie(config-if)# ip dhcp relay
Suppression
Enable the DHCP relay suppression
function.
Ruijie(config-if)# no ip dhcp relay
Suppression
Disable the DHCP relay suppression
function.
DHCP Configuration Example
The following commands enable the DHCP relay function and add two groups
of IP addresses of the DHCP server: