Difference between revisions of "DHCP RELAY over L2TPv3"
PauliusRug (talk | contribs) |
(Under Built) |
||
(13 intermediate revisions by 2 users not shown) | |||
Line 12: | Line 12: | ||
== Configuration Scheme == | == Configuration Scheme == | ||
− | + | I will paste a Topology Image here | |
== DHCP Server Settings == | == DHCP Server Settings == | ||
=== 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 set the LAN network address. | |
+ | [[File:Server a.png|center|thumb|464x464px|LAN network for DHCP server]]Under '''DHCP SERVER''' set parameters for the DHCP pool. | ||
+ | [[File:Server new 02.png|alt=DHCP poll parameters|center|thumb|464x464px|DHCP pool parameters|border]] | ||
− | [[File:Server new | + | === Set up Mobile WAN as Main WAN === |
+ | Enter to 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 new 03.png|alt=Mobile WAN as Main WAN|center|thumb|504x504px|Mobile WAN as Main WAN]] | ||
− | + | === Create L2TPv3 instance === | |
− | + | Go to router’s WebUI, under '''Service > VPN > L2TP > L2TPv3''' and create new '''L2TPV3''' instance. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | ===Create L2TPv3 instance=== | ||
− | Go to router’s WebUI, under '''Service | ||
'''LOCAL SETTING''' | '''LOCAL SETTING''' | ||
− | Local address: 84.15. | + | Local address: 84.15.155.201 |
Tunnel ID: 100 | Tunnel ID: 100 | ||
Line 45: | Line 40: | ||
'''PEER SETTING''' | '''PEER SETTING''' | ||
− | Peer address: 84.15. | + | Peer address: 84.15.249.182 |
Peer Tunnel ID: 10 | Peer Tunnel ID: 10 | ||
Line 63: | Line 58: | ||
Layer 2 specific header type: Linux Default | Layer 2 specific header type: Linux Default | ||
− | [[File:Server new 04 01 | + | [[File:Server new 04 01.png|alt=L2TPv3 Server settings|center|thumb|488x488px|L2TPv3 Server settings]] |
− | + | [[File:Server new 04 02.png|alt=L2TPv3 Server Settings|center|thumb|480x480px|L2TPv3 Server Settings]] | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | [[File:Server new 04 02.png| | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Revision as of 23:50, 22 March 2022
Main Page > General Information > Configuration Examples > Use cases > DHCP RELAY over L2TPv3Introduction
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.
Under DHCP SERVER set parameters for the DHCP pool.
Set up Mobile WAN as Main WAN
Enter to 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.
Create L2TPv3 instance
Go to router’s WebUI, under Service > VPN > L2TP > L2TPv3 and create new L2TPV3 instance.
LOCAL SETTING
Local address: 84.15.155.201
Tunnel ID: 100
Session ID: 100
Cookie: 12ABCDEF
PEER SETTING
Peer address: 84.15.249.182
Peer Tunnel ID: 10
Peer Session ID: 10
Peer Cookie: 12ABCDEF
INSTANCE SETTING
Bridge to: LAN
MTU: 1500
Encapsulation: IP
Layer 2 specific header type: Linux Default