Virtual Switching for joining two LANs
Posted: Thu May 08, 2014 7:49 am
Hello,
I have two residential houses who wish to connect their two separate LANs with a site-to-site VPN. Each house has ADSL and use the ISP provided routers. One is with BT (BT HomeHub v5) and the other Virgin Media (Virgin Super Hub 2).
So far SoftEther Server/Bridge has been installed on two Raspberry Pi's (RPi) (following the excellent instructions by Tom at http://tomearp.blogspot.co.uk/2013/11/s ... ether.html)
Each RPi has been deployed in the respective home and gets a DHCP address from the respective router within the home. The routers ensure that the RPi always gets the same local IP address.
The following has been successfully configured on both RPi:
- SoftEther Virtual Hub
- SoftEther Cascade Connection
- SoftEther Local Bridge to eth0 on the RPi
- Dynamic DNS configured
The VPN connects and when you look in the IP Address Table List within both Virtual Hubs you see IP addresses from the respective remote network.
The understanding is that the two networks are properly connected at Layer 2.
However the bit we're struggling with is Layer 3. How do we get two different networks talking to each other?
The BT household uses DHCP, network: 192.168.1.0/24, using the BT HomeHub as the Default Gateway (DG) of 192.168.1.254
The Virgin household uses DHCP, network 10.2.10.0/24, using the Virgin Super Hub 2 as the DG 10.2.10.100
At the moment if you ping a host on the other network the packet goes to the DG and goes no-where.
Can we use Layer 3 Virtual Switches within SoftEther VPN to resolve the routing issues?
We would like all traffic to continue to route to the respective DG but traffic for the other network to route down the VPN.
Thanks,
Keith
I have two residential houses who wish to connect their two separate LANs with a site-to-site VPN. Each house has ADSL and use the ISP provided routers. One is with BT (BT HomeHub v5) and the other Virgin Media (Virgin Super Hub 2).
So far SoftEther Server/Bridge has been installed on two Raspberry Pi's (RPi) (following the excellent instructions by Tom at http://tomearp.blogspot.co.uk/2013/11/s ... ether.html)
Each RPi has been deployed in the respective home and gets a DHCP address from the respective router within the home. The routers ensure that the RPi always gets the same local IP address.
The following has been successfully configured on both RPi:
- SoftEther Virtual Hub
- SoftEther Cascade Connection
- SoftEther Local Bridge to eth0 on the RPi
- Dynamic DNS configured
The VPN connects and when you look in the IP Address Table List within both Virtual Hubs you see IP addresses from the respective remote network.
The understanding is that the two networks are properly connected at Layer 2.
However the bit we're struggling with is Layer 3. How do we get two different networks talking to each other?
The BT household uses DHCP, network: 192.168.1.0/24, using the BT HomeHub as the Default Gateway (DG) of 192.168.1.254
The Virgin household uses DHCP, network 10.2.10.0/24, using the Virgin Super Hub 2 as the DG 10.2.10.100
At the moment if you ping a host on the other network the packet goes to the DG and goes no-where.
Can we use Layer 3 Virtual Switches within SoftEther VPN to resolve the routing issues?
We would like all traffic to continue to route to the respective DG but traffic for the other network to route down the VPN.
Thanks,
Keith