Difference between revisions of "DHCP Relay configuration example new"

From Teltonika Networks Wiki
Line 9: Line 9:
 
----
 
----
 
#For this configuration you will need 2 routers. One as a DHCP Server and the other as a DHCP Relay.
 
#For this configuration you will need 2 routers. One as a DHCP Server and the other as a DHCP Relay.
 
 
#DHCP Relay device WAN port needs to be connected to DHCP server LAN port.
 
#DHCP Relay device WAN port needs to be connected to DHCP server LAN port.
  

Revision as of 14:42, 30 July 2024

Main Page > General Information > Configuration Examples > Router control and monitoring > DHCP Relay configuration example new

The information on this page is updated in accordance with the [1] firmware version .

Introduction


DHCP Relay is a router that forwards IP addresses from the DHCP Server to the user devices, even if the server is on a different network. The main benefit of this approach is that a single DHCP Server can distribute IP addresses to multiple networks. Bellow you will find an example of how to configure a basic DHCP Relay configuration. ​

Prerequisites & Topology


Prerequisites


  1. For this configuration you will need 2 routers. One as a DHCP Server and the other as a DHCP Relay.
  2. DHCP Relay device WAN port needs to be connected to DHCP server LAN port.

Topology


DHCP Relay network settings:

LAN IP/subnet: 192.168.2.1/24
WAN IP: 192.168.4.194

DHCP server network settings:

LAN IP/subnet: 192.168.4.1/24

Networking rutx manual lan static dhcp server relay scheme v2.png

Configuration


If you're having trouble finding this page or some of the parameters described here on your device's WebUI, you should turn on "Advanced WebUI" mode. You can do that by clicking the "Advanced" button, located at the top of the WebUI.

Networking rutos manual webui basic advanced mode 75.gif

DHCP Relay Server Configuration


Configure Relay Server LAN

Configure Relay Client DHCP lease

Configure Route For DHCP Packets To Reach Relay Client


DHCP Relay Client Configuration