LAN as WAN RutOS: Difference between revisions

From Teltonika Networks Wiki
No edit summary
No edit summary
 
(8 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
<p style="color:red">The information in this page is updated in accordance with [https://wiki.teltonika-networks.com/view/FW_%26_SDK_Downloads'''00.07.08'''] firmware version.</p>
==Introduction==
==Introduction==


This article contains instructions on how to set up LAN port as WAN on RUTxxx if you have a need for multiple wired WAN connections.
This article contains instructions on how to set up LAN port as WAN on RUTxxx if you have a need for multiple wired WAN connections.


[[File:Networking rutx manual webui basic advanced mode v1.gif|border|class=tlt-border]]
[[File:Networking_rutos_manual_webui_basic_advanced_mode_75.gif|border|center|class=tlt-border|1102x93px]]


==Configuration overview and prerequisites==
==Configuration overview and prerequisites==
Line 31: Line 31:
* On newly created VLAN ID (3 in this example), from drop-down list, select <strong>Untagged</strong>, on same port.
* On newly created VLAN ID (3 in this example), from drop-down list, select <strong>Untagged</strong>, on same port.
* After performing these actions press <strong>Save & Apply</strong> in VLAN settings.
* After performing these actions press <strong>Save & Apply</strong> in VLAN settings.
[[File:Network RUTOS manual lan as wan vlan.png|border|class=tlt-border|1102px]]
[[File:RutOS_Lan_as_Wan_VLAN_config.png|border|center|class=tlt-border|798x239px]]
 
===Add new WAN interface===
===Add new WAN interface===
----
----


Go to <strong>Network > Interfaces</strong> WebUI section.
Go to <strong>Network > WAN</strong> WebUI section.
* Enter new <strong>Interface Name</strong>.
* Click on <strong>Add</strong> button.
* Click on <strong>Add</strong> button.
[[File:Network RUTOS manual lan as wan create interface.png|border|class=tlt-border|1102px]]
[[File:RutOS_Lan_as_Wan_WAN_ADD.png|border|center|class=tlt-border|901x453px]]
----
----


After doing that you will be redirected to new window to set up new interface, when there:
After doing that you will be redirected to new window to set up new interface, when there:
* Choose <strong>DHCP</strong> Protocol from drop-down list.
* Choose <strong>DHCP</strong> Protocol from drop-down list.
* Press on <strong>Switch Protocol</strong>.
[[File:RutOS_Lan_as_Wan_WAN_DHCP.png|border|center|class=tlt-border|870x261px]]
[[File:Network RUTOS manual lan as wan interface setup dhcp.png|border|class=tlt-border|1102px]]
If there is need to use a '''static IP''' instead of '''DHCP option''' select '''Static''' option and specify:
If there is need to use a '''static IP''' instead of '''DHCP option''' select '''Static''' option and specify:
* IPv4 address
* IPv4 address
Line 52: Line 49:
* IPv4 broadcast
* IPv4 broadcast
* DNS servers
* DNS servers
[[File:Network RUTOS manual lan as wan interface setup static_v2.png|border|class=tlt-border|1102px]]
[[File:RutOS_Lan_as_Wan_WAN_static.png|border|center|class=tlt-border|848x351px]]
----
----


After switching protocol More setting options will appear.
After switching protocol More setting options will appear.
* Go to <strong>Physical Settings</strong>.
* Go to <strong>Physical Settings</strong>.
* From drop-down list choose previously created VLAN interface (in this example it is eth0.300)
* From drop-down list choose previously created VLAN interface (in this example it is eth0.3)
* Press <strong>Apply & Save</strong>.
* Press <strong>Apply & Save</strong>.
[[File:Network RUTOS manual lan as wan interface physical settings.png|border|class=tlt-border|1102px]]
[[File:RutOS_Lan_as_Wan_WAN_physical.png|border|center|class=tlt-border|866x281px]]
 
===Set/Check Firewall===
----
 
Go to <strong>Network > Firewall > General Settings</strong> WebUI section. Click on Edit button on WAN zone.
[[File:Network RUTOS manual lan as wan firewall general.png|border|class=tlt-border|1102px]]
----
 
In WAN zone settings
* Make sure that yours newly created interface is selected in Covered networks list.
* Click Save & Apply.
[[File:Network RUTOS manual lan as wan firewall zone.png|border|class=tlt-border|1102px]]


==Check new WAN interface==
==Check new WAN interface==


Insert WAN cable in selected port, go to <strong>Network > Interfaces</strong> WebUI section and if you followed steps correctly yours newly created WAN interface should be running and have an IP.
Insert WAN cable in selected port, go to <strong>Network > WAN</strong> WebUI section and if you followed steps correctly yours newly created WAN interface should be running and have an IP.
[[File:Network rutos manual lan as wan check.png|border|class=tlt-border]]
[[File:RutOS_Lan_as_Wan_WAN_status.png|border|class=tlt-border|1100px]]


==Testing the configuration==
==Testing the configuration==


If everything went well, your device should now have two wired WAN connections. To test this go to the <i>Network → WAN</i> page and check if the new interface is enabled and if it has an IP address.
Your device should now have two wired WAN connections.


<ul>
<ul>
     <li>Set the Wired (WAN) interface as the main WAN connection.</li>
     <li>Set the Wired (WAN) interface as the main WAN connection.</li>
     <li>Set the new interface as WAN failover and save the changes.<br>[[File:Networking_rutxxx_configuration_examples_use_lan_as_wan_7_v1.png|border|class=tlt-border]]</li>
     <li>Set the new interface as WAN [[RUT955_Failover|failover]] and save the changes.
     <li>Go to [www.whatsmyip.com] and check your public IP address.<br>[[File:0011.png|border|class=tlt-border|960px]]</li>
     <li>Go to [www.whatsmyip.com] and check your public IP address.<br></li>
     <li>Then unplug the main WAN cable and check again. If the interface failed over correctly, the website should a different IP address than before.<br>[[File:0012.png|border|class=tlt-border|960px]]</li>
     <li>Then unplug the main WAN cable and check again. If the interface failed over correctly, the website should show a different IP address than before.<br></li>
     <li>Plug the main WAN cable back in and wait a bit. Refresh the website; the IP should have change back to the one shown in the first place.</li>
     <li>Plug the main WAN cable back in and wait a bit. Refresh the website; the IP should have change back to the one shown in the first place.</li>
</ul>
</ul>
 
[[Category:LAN]]
[[Category:-Network Control]] [[Category:RUT955 Config Examples]] [[Category:RUT950 Config Examples]] [[Category:RUT900 Config Examples]] [[Category:RUT240 Config Examples]] [[Category:RUT230 Config Examples]]
[[Category:Update | hidden=yes]]

Latest revision as of 15:01, 29 July 2024

Main Page > General Information > Configuration Examples > LAN > LAN as WAN RutOS

The information in this page is updated in accordance with 00.07.08 firmware version.

Introduction

This article contains instructions on how to set up LAN port as WAN on RUTxxx if you have a need for multiple wired WAN connections.

Configuration overview and prerequisites

Before we begin, let's overview the configuration that we are attempting to achieve and the prerequisites that make it possible.

Prerequisites:

  • One RUTxxx series router.
  • At least two wired Internet connections.
  • An end device for test the configuration.

Configuration scheme:

Setting up second WAN interface

To change LAN port purpose to WAN you will have to perform changes in 3 different locations of RUTxxx WebUI

Creating additional VLAN


Go to Network > VLAN section in device WebUI and perform following actions:

  • Create new VLAN ID by clicking ADD button.
  • On VLAN ID: 1 (LAN interface), select Off from drop-down list, on port that you want to use as secondary WAN.
  • On newly created VLAN ID (3 in this example), from drop-down list, select Untagged, on same port.
  • After performing these actions press Save & Apply in VLAN settings.

Add new WAN interface


Go to Network > WAN WebUI section.

  • Click on Add button.

After doing that you will be redirected to new window to set up new interface, when there:

  • Choose DHCP Protocol from drop-down list.

If there is need to use a static IP instead of DHCP option select Static option and specify:

  • IPv4 address
  • IPv4 netmask
  • IPv4 gateway
  • IPv4 broadcast
  • DNS servers

After switching protocol More setting options will appear.

  • Go to Physical Settings.
  • From drop-down list choose previously created VLAN interface (in this example it is eth0.3)
  • Press Apply & Save.

Check new WAN interface

Insert WAN cable in selected port, go to Network > WAN WebUI section and if you followed steps correctly yours newly created WAN interface should be running and have an IP.

Testing the configuration

Your device should now have two wired WAN connections.

  • Set the Wired (WAN) interface as the main WAN connection.
  • Set the new interface as WAN failover and save the changes.
  • Go to [www.whatsmyip.com] and check your public IP address.
  • Then unplug the main WAN cable and check again. If the interface failed over correctly, the website should show a different IP address than before.
  • Plug the main WAN cable back in and wait a bit. Refresh the website; the IP should have change back to the one shown in the first place.