Page tree
Skip to end of metadata
Go to start of metadata

Successfully pass the free certification exam at IW Academy and become an Infinet Certified Engineer.

To the certification exam


For DHCP protocol regular work, the server and the hosts that get the service should be allocated within one network segment – no routers should be placed in between. If the network consists of several segments, each segment should have its own DHCP server as routers block broadcast packets. One of the alternatives to this solution is installing in each segment that does not have the server DHCP Relay Agent which forwards the requests from network hosts to DHCP server. Some routers may also have a function of DHCP Relay.


DHCP relay cannot be started simultaneously with DHCP server, if the device configuration contains the "dhcpd start" command, the relay start settings will not be applied.


dhcpr [add]|delete SERVERIP
dhcpr (flush|trace|notrace)
dhcpr (lock|unlock) INTERFACE
dhcpr (info|noinfo)
dhcpr (start|stop)



start | stopStarts / stops DHCP relay.
[add]|delete SERVERIP

DHCP servers listing. Adds / deletes DHCP servers to the list for which client’s requests forwarding will be made.

  • "SERVERIP" – the IP-address of DHCP server.
(lock|unlock) INTERFACE

Interface blocking. By default, DHCP Relay accepts client’s requests from all network interfaces. If one of the interfaces needs to be blocked not to forward requests from it, this parameter should be used.

  • "INTERFACE" – a name of one or several (separated by spaces) interfaces.

DHCP Relay control parameters.

  • "trace|notrace" enables/disables writing DHCP Relay’s service messages to the system log.
  • "flush" clears the DHCP Relay’s configurations.

info|noinfoUsing "DHCP Relay agent information" option. In order to identify client’s interface when receiving server’s replies, the relay can use a special DHCP option which he appends to the client’s request packet while relaying. Not all of DHCP servers support this capability. DHCP Relay has this option turned off by default.


Start of DHCP Relay.

dhcpr start

Add DHCP server with IP-address "", delete same server from configuration.

dhcpr add
dhcpr delete

Deny accepting client’s requests from network interface "eth0".

dhcr lock eth0

Allow using "DHCP Relay agent information" option.

dhcpr info