Changes

no edit summary
Line 146: Line 146:  
==Bridge Configuration ==
 
==Bridge Configuration ==
   −
ZeroTier bridge configuration will allow 2 (or more) LAN's in the same Zerotier network to be interconnected. For this example we will use two RUTX routers. Both of these routers should already have ZeroTier package installed and be connected to the ZeroTier Portal.
+
ZeroTier bridge configuration will allow two (or more) LAN's in the same ZeroTier network to be interconnected. For this example, we will use two RUTX routers. Both of these routers should already have the ZeroTier package installed and be connected to the ZeroTier Portal.
    
===First router===
 
===First router===
Line 153: Line 153:  
*Navigate to '''''Services → VPN → ZeroTier'''''  and access the ZeroTier Instance created previously to edit it for the bridging of LAN’s.
 
*Navigate to '''''Services → VPN → ZeroTier'''''  and access the ZeroTier Instance created previously to edit it for the bridging of LAN’s.
 
[[File:Zerotier Interfacev2.png|border|class=tlt-border|1050x1050px]]
 
[[File:Zerotier Interfacev2.png|border|class=tlt-border|1050x1050px]]
*From the '''''Bridge to''''' dropdown menu select '''''LAN'''''. This extends the network by forwarding traffic between LANs. Bridges operate at the data link layer and facilitate seamless communication between devices on different LAN segments
+
*From the '''''Bridge to''''' dropdown menu, select '''''LAN'''''. This option bridges The ZeroTier interface with the device's LAN interface, which extends the network and allows for Layer 2 communication via ZeroTier. Bridges operate at the data link layer and facilitate seamless communication between devices on different LAN segments
 
*Save & Apply settings
 
*Save & Apply settings
   Line 159: Line 159:  
----
 
----
   −
*Navigate to '''''Services → VPN → Zerotier''''' → and access the ZeroTier Instance and configure it the same way as the first router.
+
*Navigate to '''''Services → VPN → Zerotier''''' → and access the ZeroTier instance, configuring it the same way as the first router.
 
* Navigate to '''''Network → LAN → General settings''''' and change the '''IPv4 address''' to an IP that is in the same subnet as the first router (We will use 192.168.1.2 for this example)
 
* Navigate to '''''Network → LAN → General settings''''' and change the '''IPv4 address''' to an IP that is in the same subnet as the first router (We will use 192.168.1.2 for this example)
 
*Navigate to '''''Network → Interfaces → LAN → DHCP Server''''' and Disable '''DHCP server''' option
 
*Navigate to '''''Network → Interfaces → LAN → DHCP Server''''' and Disable '''DHCP server''' option
 
*Save & Apply settings
 
*Save & Apply settings
[[File:Zerotier configuration physical settings v1.png|border|class=tlt-border|1044x1044px]]
  −
   
[[File:Zerotier configuration rut 2 configuration v1.png|border|class=tlt-border]]
 
[[File:Zerotier configuration rut 2 configuration v1.png|border|class=tlt-border]]
   Line 172: Line 170:  
*Open your ZeroTier Portal (https://my.zerotier.com/) and navigate to your ZeroTier Network.
 
*Open your ZeroTier Portal (https://my.zerotier.com/) and navigate to your ZeroTier Network.
 
*Scroll down to Members and enable '''"Allow Ethernet Bridging"''' option on both devices
 
*Scroll down to Members and enable '''"Allow Ethernet Bridging"''' option on both devices
[[File:Zerotier configuration portal configuration v1.png|500×200]]
+
[[File:ZeroTier Portal Bridging v1.3.png|500×200]][[File:ZeroTier Portal Bridging v1.2.png|500x200]]
*Make sure to turn off '''Auto-Assign from range''' from the '''advanced section'''. This is because, when In ZeroTier network LAN bridging with Layer 2 bridge, managed IP addresses are not necessary because ZeroTier interfaces do not possess individual IP addresses. Instead, Layer 2 bridging allows for direct communication between devices using their local MAC addresses, eliminating the need for IP address management.  
+
*Make sure to turn off '''Auto-Assign from Range''' in the '''advanced section'''. Since this is a Layer 2 bridge configuration, there is no need for IP addresses on the ZeroTier Interfaces and managed IPs. With Layer 2 bridging, devices communicate directly using their local MAC addresses, eliminating the necessity for IP address management.
 +
*'''NOTE: Make sure to remove any Managed IPs that might have stayed when the Auto-assigned feature was turned on (by default, ZeroTier keeps it on).'''
   −
Reference: https://zerotier.com/manual/#5_3_2.
+
*In the '''Advanced section → Managed Routes,''' add the LAN network route (in this case, 192.168.1.0/24), which ensures communication within the bridge. This allows devices in the ZeroTier network to communicate with devices on the LAN.
 +
[[File:Managed Routes.png||500×200]]
   −
*In the '''Advanced section → Managed Routes''' add the LAN network route(in this case,192.168.1.0?24), this ensures connectivity between ZeroTier network and the local LAN. This allows devices in the ZeroTier network to communicate with devices on the local LAN.
+
*To ensure convenience and avoid any IP or routing conflicts, it is recommended to remove any other automatically assigned routes in ZeroTier. By doing so, you can prevent routing issues and ensure smoother communication within the LAN bridge network of 192.168.1.0/24 over the ZeroTier Network.
[[File:ZeroTier Portal Routes.png|798x798px]]
      
If everything was done correctly, you should be able to ping devices connected to separate routers. Let us test this by pinging a laptop connected to the second router (192.168.1.163) from a laptop connected to the first router (192.168.1.220):
 
If everything was done correctly, you should be able to ping devices connected to separate routers. Let us test this by pinging a laptop connected to the second router (192.168.1.163) from a laptop connected to the first router (192.168.1.220):
Line 186: Line 185:     
'''Note:''' If you wish to add more routers to the bridged network, you should configure them according to the second router configuration.
 
'''Note:''' If you wish to add more routers to the bridged network, you should configure them according to the second router configuration.
 +
[[Category:VPN]]