DHCP RELAY over L2TPv3: Difference between revisions

From Teltonika Networks Wiki
(Update)
mNo edit summary
Line 17: Line 17:


=== DHCP Pool ===
=== DHCP Pool ===
Enter the router's WebUI, go to '''Network > Interfaces > Ethernet LAN''' and click the '''<nowiki/>'Edit'''' button on the right side of the interface to modify the DHCP Pool.
Enter the router's WebUI, go to '''Network > Interfaces > Ethernet LAN''' and click the '''<nowiki/>'Edit'''' button on the right side of the interface to set the LAN network address.
[[File:Server a.png|center|thumb|627x627px|DHCP server pool]]
[[File:Server a.png|center|thumb|464x464px|LAN network for DHCP server]]
 
=== Set up Main Mobile WAN ===
=== Set up Main Mobile WAN ===
Enter in the router’s WebUI, go to '''Network > Interfaces''' press mouse click on the Mobile Wan interface, then drag it to the 1<sup>st</sup> position and then press '''Save & Apply'''.
Enter in the router’s WebUI, go to '''Network > Interfaces''' press mouse click on the Mobile Wan interface, then drag it to the 1<sup>st</sup> position and then press '''Save & Apply'''.
[[File:Server b.png|center|thumb|792x792px|Mobile Wan as main interface]]
[[File:Server b.png|center|thumb|792x792px|Mobile Wan as main interface]]

Revision as of 21:53, 22 March 2022

Main Page > General Information > Configuration Examples > Use cases > DHCP RELAY over L2TPv3

Introduction

A DHCP relay agent allows the DHCP clients to obtain IP addresses from a DHCP server that is not configured on the same LAN.

This article provides a configuration example with details on how to set-up a DHCP relay over a L2TPv3 VPN.

Prerequisites

You will need:

  • Two RUT or RUTX devices (one as Server and other as Client)
  • A PC acting as a Host for testing
  • Both routers must have a Public Static or Public Dynamic IP addresses

Configuration Scheme

I will paste a Topology Image here

DHCP Server Settings

DHCP Pool

Enter the router's WebUI, go to Network > Interfaces > Ethernet LAN and click the 'Edit' button on the right side of the interface to set the LAN network address.

LAN network for DHCP server

Set up Main Mobile WAN

Enter in the router’s WebUI, go to Network > Interfaces press mouse click on the Mobile Wan interface, then drag it to the 1st position and then press Save & Apply.

Mobile Wan as main interface