Changes

14 bytes removed ,  09:16, 19 April 2018
no edit summary
Line 18: Line 18:  
[[File:Configuration examples relayd scheme v3.png]]
 
[[File:Configuration examples relayd scheme v3.png]]
   −
The scheme depicts two RUT routers - RUT1 and RUT2. RUT1 has access to the Internet through an undefined type of WAN (it can be any). RUT2 acts as a Wi-Fi Station (STA) and gains access to the Internet via RUT1's Wi-Fi 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 Relayd.
+
The scheme depicts two RUT 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 Relayd.
    
So in short, this type of configuration connects devices from different networks into a single network, making it possible for the devices to communicate with each other and providing the devices with an Internet connection.
 
So in short, this type of configuration connects devices from different networks into a single network, making it possible for the devices to communicate with each other and providing the devices with an Internet connection.
   −
'''NOTE''': the parameters displayed in the scheme above will be used in further examples of this guide. Parameters like LAN IP addresses and Wi-Fi SSID should be chosen in accordance with your own needs.
+
'''NOTE''': the parameters displayed in the scheme above will be used in further examples of this guide. Parameters like LAN IP addresses and WiFi SSID should be chosen in accordance with your own needs.
    
==Router configuration==
 
==Router configuration==
Line 33: Line 33:     
* An active data connection (WAN type doesn't matter; use what is available to you or what best suits your needs)
 
* An active data connection (WAN type doesn't matter; use what is available to you or what best suits your needs)
* An active Wi-Fi Access Point (AP)
+
* An active WiFi Access Point (AP)
 
* An active DHCP Server
 
* An active DHCP Server
   −
A Wi-Fi Access Point (AP) and DHCP Server are enabled by default on RUT routers, but if you wish to make changes, you can find the configuration pages of these services by logging in to the router's WebUI and visiting the '''Network → Wireless''' section for Wi-Fi and '''Network → LAN''' for DHCP. For additional information on these pages, visit their respective Manual chapters:
+
A WiFi Access Point (AP) and DHCP Server are enabled by default on RUT routers, but if you wish to make changes, you can find the configuration pages of these services by logging in to the router's WebUI and visiting the '''Network → Wireless''' section for WiFi and '''Network → LAN''' for DHCP. For additional information on these pages, visit their respective Manual chapters:
    
* '''[[Wireless#Wireless_Access_Point|Wireless Access Point]]'''
 
* '''[[Wireless#Wireless_Access_Point|Wireless Access Point]]'''
Line 45: Line 45:  
The key things you need to configure in RUT2 are:
 
The key things you need to configure in RUT2 are:
   −
* Enable Wi-Fi WAN and connect to RUT1's Wi-Fi Access Point
+
* Enable WiFi WAN and connect to RUT1's WiFi Access Point
 
* Enable Relayd and disable DHCP Server
 
* Enable Relayd and disable DHCP Server
   −
These 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 Wi-Fi WAN.
+
These 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.
   −
====Wi-Fi WAN====
+
====WiFi WAN====
 
----
 
----
To set up Wi-Fi WAN, log in to the router's WebUI and navigate to the '''WAN''' section found under the '''Network tab'''. Choose WiFi as your Main WAN option and click the '''Save''' button. After this, a '''Scan''' button should appear. Click it and it will initiate a scan for nearby Wi-Fi Access Points. Choose RUT1's Access Point and click '''Join network''':
+
To set up WiFi WAN, log in to the router's WebUI and navigate to the '''WAN''' section found under the '''Network tab'''. Choose WiFi as your Main WAN option and click the '''Save''' button. After this, a '''Scan''' button should appear. Click it and it will initiate a scan for nearby WiFi Access Points. Choose RUT1's Access Point and click '''Join network''':
    
[[File:Relayd configuration example how to set up wifi wan.png]]
 
[[File:Relayd configuration example how to set up wifi wan.png]]
   −
You can visit the '''[[Wireless#Wireless_Station|Wireless Station]]''' chapter for additional information on Wi-Fi WAN.
+
You can visit the '''[[Wireless#Wireless_Station|Wireless Station]]''' chapter for additional information on WiFi WAN.
    
====Relayd and DHCP Server====
 
====Relayd and DHCP Server====
Line 76: Line 76:  
An important issue to bring up is that the two routers will not be able to communicate with each other via their LAN IPs if they have LAN IP addresses in different subnets. If that is the case, there are still a few options you can take without changing either of the routers IP addresses:
 
An important issue to bring up is that the two routers will not be able to communicate with each other via their LAN IPs if they have LAN IP addresses in different subnets. If that is the case, there are still a few options you can take without changing either of the routers IP addresses:
   −
* When communicating between routers, use RUT2's WAN IP instead of its LAN IP. This will work because RUT1 will lease the WAN IP address to RUT2 from its LAN network. If that is the case you chose, then don't forget to check RUT2's WAN IP after completing the '''[[Relayd#Wi-Fi_WAN|3.2.1]]''' step of this guide
+
* When communicating between routers, use RUT2's WAN IP instead of its LAN IP. This will work because RUT1 will lease the WAN IP address to RUT2 from its LAN network. If that is the case you chose, then don't forget to check RUT2's WAN IP after completing the '''[[Relayd#WiFi_WAN|3.2.1]]''' step of this guide
 
* Add Static Routes to each router in the '''Network → Routing → Static Routes''' section. This must be done from both ends, i.e., you must configure a route both in RUT1 and in RUT2
 
* Add Static Routes to each router in the '''Network → Routing → Static Routes''' section. This must be done from both ends, i.e., you must configure a route both in RUT1 and in RUT2
    
The communication between RUT1 and the end devices in either network will work regardless of what RUT2's LAN IP address is.
 
The communication between RUT1 and the end devices in either network will work regardless of what RUT2's LAN IP address is.

Navigation menu