cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
615
Views
0
Helpful
3
Replies

Configuring 2 LAN into same subnet over WAN?

wenqi
Level 1
Level 1

Hi all,

Any help is much appreciated. Currently I have 2 networks connected through leased line. The two networks are in different location but having the same local subnet. Can I route them both together in the same VLAN to communicate between each other? Main purpose is so that both the networks are linked together.

Network 1:

Router 1: LAN IP: 10.0.0.1/24 WAN IP: 172.24.252.1

PC: 10.0.0.10/24

Device: 10.0.0.11/24

Network 2:

Router 2: LAN IP: 10.0.0.2/24 WAN IP: 172.24.252.2

PC: 10.0.0.51/24

Device: 10.0.0.61/24

Can I route everything from R1 to R2 and R2 to R1 to let PC and devices from Network 1 communicate with Network 2? Or how should I configure the routers to let Network 1 communicate with Network 2?

Thanks in advance!

*update: added photo for network diagram.

3 Replies 3

Joseph W. Doherty
Hall of Fame
Hall of Fame

Disclaimer

The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.

Liability Disclaimer

In no event shall Author be liable for any damages wha2tsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.

Posting

You would need a L2 tunnel or you might NAT.

Hi Joseph,

Thank you for the reply. Would normal VLAN work? Configuring both into same VLAN.

I.E from Router 1, can I configure ip route 0.0.0.0 0.0.0.0 10.0.0.2 

Router 2: ip route 0.0.0.0 0.0.0.0 10.0.0.1

Would this enable communication between these two networks? Or would there be complications?

*update: added photo for network diagram.