Changes

no edit summary
Line 4: Line 4:  
==Configuration overview and prerequisites==
 
==Configuration overview and prerequisites==
   −
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.
    
'''Prerequisites:'''
 
'''Prerequisites:'''
   −
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.
    
DHCP Relay network settings:
 
DHCP Relay network settings:
Line 26: Line 26:  
==Configuration Steps==
 
==Configuration Steps==
   −
1. Enable DHCP Relay feature on device which will relay DHCP requests. In WebUI navigate to '''Network -> Interface -> LAN -> DHCP Server''' and change '''Enable DHCP''' field value from Enable to Relay and then type in the DHCP Server IP and click on Save & Apply.
+
1. Enable DHCP Relay feature on device which will relay DHCP requests. In WebUI navigate to '''Network -> Interface -> LAN -> DHCP Server''' and change '''Enable DHCP''' field value from Enable to Relay and then type in the DHCP Server IP address and click on Save & Apply.
    
[[File:Networking_rutx_manual_lan_static_dhcp_server_dhcp_relay_configuration_v1.png|border|class=tlt-border]]
 
[[File:Networking_rutx_manual_lan_static_dhcp_server_dhcp_relay_configuration_v1.png|border|class=tlt-border]]
Line 32: Line 32:  
2. Modify Enable-DHCP-renew firewall rule in '''Network -> Firewall -> Traffic rules''' to additionally allow destination port 67.
 
2. Modify Enable-DHCP-renew firewall rule in '''Network -> Firewall -> Traffic rules''' to additionally allow destination port 67.
   −
[[File:Networking_rutx_manual_firewall_trafic_rules_configuration_for_dhcp_relay_v2.png|border|class=tlt-border]]
+
[[File:Networking_rutx_manual_firewall_trafic_rules_configuration_for_dhcp_relay_v1.png|border|class=tlt-border]]
    
3. DHCP Server must be able to assign addresses from 192.168.2.0/24 IP address pool. If DHCP Server is a Teltonika device running RUTOS then you can add this address pool via router's CLI by running command:
 
3. DHCP Server must be able to assign addresses from 192.168.2.0/24 IP address pool. If DHCP Server is a Teltonika device running RUTOS then you can add this address pool via router's CLI by running command:
Line 42: Line 42:  
* 12h - specifies DHCP lease time
 
* 12h - specifies DHCP lease time
   −
4. In this topology DHCP Server has no route to DHCP Relay's network so it must be added manually.
+
4. In this topology DHCP Server has no route to DHCP Relay's network so it must be added manually. Static route can be added via '''Network -> Routing -> Static IPv4 routes'''.
Static route can be added via '''Network -> Routing -> Static IPv4 routes'''.
     −
[[File:Networking_rutx_manual_routing_ip4_static_routes_configuration_v2.png|border|class=tlt-border]]
+
[[File:Networking_rutx_manual_routing_ip4_static_routes_configuration_v1.png|border|class=tlt-border]]
    
* Interface: Network interface where DHCP Relay resides
 
* Interface: Network interface where DHCP Relay resides
Line 56: Line 55:     
'''Note:''' It's strongly recommended to use static IP configuration for DHCP Relay WAN interface otherwise there might be cases when WAN interface will receive new IP address which will cause static route to stop working.
 
'''Note:''' It's strongly recommended to use static IP configuration for DHCP Relay WAN interface otherwise there might be cases when WAN interface will receive new IP address which will cause static route to stop working.
 +
 +
[[Category:Router control and monitoring]]

Navigation menu