Jump to content

RUTOS relay / Wi-Fi extender / repeater / bridge configuration: Difference between revisions

no edit summary
No edit summary
No edit summary
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==


Line 7: Line 8:
'''''Note:''' If you can not see Relay Configuration section displayed, Relay feature is additional software that can be installed from the '''System''' → '''Package Manager''' page. UDP Broadcast Relay is also an additional software that can be installed from the '''System''' → '''Package Manager page'''.''
'''''Note:''' If you can not see Relay Configuration section displayed, Relay feature is additional software that can be installed from the '''System''' → '''Package Manager''' page. UDP Broadcast Relay is also an additional software that can be installed from the '''System''' → '''Package Manager page'''.''


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 "Basic" button under "Mode", which is located at the top-right corner of the WebUI.  
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.
[[File:Networking_rutos_manual_webui_basic_advanced_mode_75.gif|border|center|class=tlt-border|1102x93px]]


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


Line 24: Line 25:
'''Configuration scheme''':
'''Configuration scheme''':


[[File:RUTX relay configuration topology.png|1123x1123px]]
[[File:RUTX relay configuration topology.png|1100x1100px]]


The scheme depicts two RUTxxx routers - RUT1 and RUT2. RUT1 has access to the Internet through an undefined type of WAN (it can be any). RUT2 acts as a WiFi Station (STA) and gains access to the Internet via RUT1's WiFi Access Point (AP) (SSID: RUT_WiFi). RUT2's DHCP Server is disabled. This is done so that the end devices connected to RUT2 get IP addresses from RUT1's DHCP Server with the help of Relay.
The scheme depicts two RUTxxx routers - RUT1 and RUT2. RUT1 has access to the Internet through an undefined type of WAN (it can be any). RUT2 acts as a WiFi Station (STA) and gains access to the Internet via RUT1's WiFi Access Point (AP) (SSID: RUT_WiFi). RUT2's DHCP Server is disabled. This is done so that the end devices connected to RUT2 get IP addresses from RUT1's DHCP Server with the help of Relay.
Line 44: Line 45:
*An active DHCP Server
*An active DHCP Server


A WiFi Access Point (AP) and DHCP Server are enabled by default on RUTxxx routers, but if you wish to make changes, you can find the configuration pages for the services by logging in to the router's WebUI and visiting the '''Network → Interfaces''' click [[File:Networking rutx manual edit button v1.png]] '''Edit''' button on the right side of interface for DHCP settings.
A WiFi Access Point (AP) and DHCP Server are enabled by default on RUTxxx routers, but if you wish to make changes, you can find the configuration pages for the services by logging in to the router's WebUI and visiting the '''Network → DHCP → Server settings''' click '''Edit''' button on the right side of interface for DHCP settings.


[[File:Networking rutos manual lan configuration edit button v1.png|1140x1140px]]
[[File:RutOS_Relay_WIFI_extender_7.8_dhcp_edit.png|1100x1100px]]


Got to '''Network → Wireless''' section and click [[File:Networking rutx manual edit button v1.png]] '''Edit''' button on the right side of wireless network for WiFi settings.
Got to '''Network → Wireless → SSIDs''' section and click '''Edit''' button on the right side of a wireless network for WiFi settings.


[[File:Networking rutos manual wifi configuration edit button v1.png|1140x1140px|alt=]]
[[File:RutOS_Relay_WIFI_extender_7.8_wifi_edit.png|1100x1100px]]


===RUT2===
===RUT2===
Line 57: Line 58:


* Enable WiFi WAN and connect to RUT1's WiFi Access Point
* Enable WiFi WAN and connect to RUT1's WiFi Access Point
*Enable Relay and disable DHCP Server
* Enable Relay and disable DHCP Server


'''NOTE''': in this case, the steps should be taken in the order they are presented in, because if you disable RUT2's DHCP Server first, you may lose access to your router. So let's begin by setting up WiFi WAN.
'''NOTE''': in this case, the steps should be taken in the order they are presented in, because if you disable RUT2's DHCP Server first, you may lose access to your router. So let's begin by setting up WiFi WAN.
Line 63: Line 64:
====WiFi WAN ====
====WiFi WAN ====
----
----
*To set up WiFi WAN, login to the router's WebUI and navigate to the Network section found the Wireless tab by side ('''Network → Wireless'''):
*To set up WiFi WAN, login to the router's WebUI and navigate to the Network section found the Wireless tab by side ('''Network → Wireless → SSIDs''')


[[File:Networking rutos manual wireless configuration tab v1.png|border|1140x1140px|alt=]]
----
----
*To begin configuring WiFi Client first click the 'Scan' button to scan the surrounding area and attempt to connect to a new wireless access point. You can choose whether to scan '''2.4 GHz''' or '''5 GHz''' wireless networks:
*To begin configuring WiFi Client first click the 'Scan' button to scan the surrounding area and attempt to connect to a new wireless access point. You can choose whether to scan '''2.4 GHz''' or '''5 GHz''' wireless networks:


[[File:Networking rutos manual wifi scan button example v1.png|border|1140x1140px|alt=]]
[[File:RutOS_Relay_WIFI_extender_7.8_wifi_scan.png|border|1100x1100px|alt=]]


*Once the scan is complete, you will be presented with a list of nearby WiFi Access Points. Locate and choose RUT1's Access Point and click "'''Join network'''":
*Once the scan is complete, you will be presented with a list of nearby WiFi Access Points. Locate and choose RUT1's Access Point and click "'''Join network'''":


[[File:Networking rutos manual wifi join network button v1.png|1139x1139px|alt=]]
[[File:RutOS_Relay_WIFI_extender_7.8_wifi_scan_connect.png|1100x1100px|alt=]]


*You again will be redirected to following window, where you will need to enter '''WPA passphrase''' or other security password depending on AP that you are connecting to, name yours network (it will be name of your wireless WAN interface) and assign firewall rule.
*You will be redirected again to following window, where you will need to enter '''WPA passphrase''' or other security password depending on AP that you are connecting to.
[[File:RutOS_Relay_WIFI_extender_7.8_wifi_scan_connect_join.png|1100x1100px|border|class=tlt-border]]


[[File:Networking rutos manual joining network v1.png|border|class=tlt-border]]
* Next window that opens will be '''Wireless client Configuration'''. Values there, mostly, should be left unchanged to avoid connection problems, because they are dictated by ''Access'' Point. Other than that, only difference from Access Point settings are in ''Interface Configuration'' → ''General Setup section'', where '''Mode''' is set to '''Client''', and '''Network''' attached to this wireless interface is '''WAN''' instead of LAN:


* Next window that opens will be '''Device Configuration'''. Values there, mostly, should be left unchanged to avoid connection problems, because they are dictated by ''Access'' Point. Other than that, only difference from Access Point settings are in ''Interface Configuration'' → ''General Setup section'', where '''Mode''' is set to '''Client''', and '''Network''' attached to this wireless interface is '''WAN''' instead of LAN:
[[File:RutOS_Relay_WIFI_extender_7.8_wifi_client_interface.png|1100x1100px|alt=]]
 
[[File:Networking rutos manual interface configuration general setup v1.png|1140x1140px|alt=]]


*Click Save & Apply and if you configured correctly, you will have Wireless Client working.
*Click Save & Apply and if you configured correctly, you will have Wireless Client working.
Line 87: Line 86:
====Relay and DHCP Server ====
====Relay and DHCP Server ====
----
----
*Configuration for both DHCP and Relay takes place in the ''Interfaces'' section of the router's ''WebUI''. Login and navigate to the ''Interfaces'' section which is located by side of Network tab ('''Network → Interfaces''') and click [[File:Networking rutx manual edit button v1.png]] '''Edit''' button:
*Configuration for Relay takes place in the ''Relayd'' section and DHCP in the ''LAN'' section of the router's ''WebUI''. Log in and navigate to the ''Relayd'' section which is located by side of Network tab ('''Network → Wireless → Relayd'''):


[[File:Networking rutos manual lan settings editting v1.png|1140x1140px|alt=]]
# Enable '''Relay'''
# Select interface - '''lan'''
# Select Wireless interface - '''wifi1'''


*After you clicked '''Edit''' button settings window will appear. Above LAN interface settings section you will see '''DHCP server''' settings section, where you will be available to '''disable''' DHCP server:
[[File:RutOS_Relay_WIFI_extender_7.8_wifi_client_relayd.png|1100x1100px|alt=]]


[[File:Networking rutos manual dhcp server configuration general setup v1.png|border|class=tlt-border]]
'''NOTE''': In this case scenario we choose interface named ''wifi1'', because we named wireless network to which we connect as client as ''wifi1''.
----
*After we configured relay, we will need to disable '''DHCP''' settings on our '''LAN''' interface. Go to '''Network → LAN''' and click on the button '''Edit''':
[[File:RutOS_Relay_WIFI_extender_7.8_lan_edit.png|1100x1100px|alt=]]


*After you disable DHCP server, scroll down until you will see '''Relay configuration''' section. Enable '''Relay''' and select interface:
*After you clicked '''Edit''' button settings window will appear. Below LAN interface settings section you will see '''DHCPv4 and DHCPv6''' settings section, where you will be available to '''disable''' DHCP server:


[[File:Networking rutos manual relay configuration enabling example v1.png|1140x1140px|alt=]]
# Disable '''DHCPv4'''
# Disable '''DHCPv6'''


'''NOTE''': In this case scenario we choose interface named ''Access_Point'', because we named wireless network to wich we connect as client as ''Access_Point''.
[[File:RutOS_Relay_WIFI_extender_7.8_lan_dhcp_off.png|1100x1100px|border|class=tlt-border]]


==Testing the set up==
==Testing the set up==


If you've taken all of the steps described above, the configuration is done. But as with any other configuration, it is always wise to test the set up in order to make sure that it works properly. To test this particular set up, login to any of the routers go to '''Services → CLI'''. Login with user name: '''root''' and the router's admin password. You should then be able to '''ping''' the other router or any of the end devices that you have connected to either of the two router's. To execute a ping command, type '''ping <devices_ip>''' into the console and press the Enter key:  
If you've taken all of the steps described above, the configuration is done. But as with any other configuration, it is always wise to test the set up in order to make sure that it works properly. To test this particular set up, login to any of the routers go to '''System → Maintenance → CLI'''. Login with user name: '''root''' and the router's admin password. You should then be able to '''ping''' the other router or any of the end devices that you have connected to either of the two routers. To execute a ping command, type '''ping <devices_ip>''' into the console and press the Enter key:  


[[File:Networking rutos relay configuration pinging example v1.png]]
[[File:Networking rutos relay configuration pinging example v1.png]]
Line 119: Line 124:
* Enable Relay and disable DHCP Server.
* Enable Relay and disable DHCP Server.


If you've taken all of the steps described above, the RUT2 relay configuration is done. Since there is a DHCP server running, there is one change that should be done in RUT1 LAN settings. Navigate to '''Network → Interfaces → LAN''' and click the [[File:Networking rutx manual edit button v1.png]] '''Edit''' button.
If you've taken all of the steps described above, the RUT2 relay configuration is done. Since there is a DHCP server running, there is one change that should be done in RUT1 LAN settings. Navigate to '''Network → LAN''' and click the '''Edit''' button.


[[File:Laneditbutton.png|1100px|border|class=tlt-border]]
[[File:RutOS_Relay_WIFI_extender_7.8_lan_edit.png|1100px|border|class=tlt-border]]


After you have clicked the '''Edit''' button, the settings window will appear. In the '''General Settings''' section click on '''Protocol''' and select '''DHCP''' from the list. Press '''Save & Apply'''.
After you have clicked the '''Edit''' button, the settings window will appear. In the '''General Settings''' section disable '''DHCPv4 and DHCPv6'''. Press '''Save & Apply''' once done.


[[File:Lanenabledhcpip.png|border|class=tlt-border]]
[[File:RutOS_Relay_WIFI_extender_7.8_lan_edit_second.png|1100x1100px|border|class=tlt-border]]


Once done, Log into your DHCP servers Web interface and navigate to '''Status → Network → LAN'''. Here you should be able to see the DHCP leases from the DHCP server’s IP pool.   
Once done, Log into your DHCP servers Web interface and navigate to '''Status → Network → LAN'''. Here you should be able to see the DHCP leases from the DHCP server’s IP pool.   


[[File:RUT3 DHCP LEASES.png|border|class=tlt-border]]
[[File:RutOS_Relay_WIFI_extender_7.8_lan_status.png|1100x1100px|border|class=tlt-border]]


==Additional notes==
==Additional notes==