Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    How to setup a shared LAN using two routers?

    Scheduled Pinned Locked Moved NAT
    2 Posts 2 Posters 1.8k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      memothejanitor
      last edited by

      Ok guys, has been a longtime that I have been trying to achieve a simple task.

      Say, I have two el cheapo Linksys WRT54G routers. Network setup as follows:

      WRT54G - WAN IP 68.15.24.36 DHCP Server Enabled 192.168.1.2-100/24
      |         |
      |         |
      |          PC1 12.168.1.2/24
      |
      |
      WRT54G WAN IP 192.168.1.3/24 DHCP Server Enabled 192.168.2.2-100/24
      |
      |
      |
      PC2 192.168.2.1/24

      How can I get these computers on the same network, in other words I want them to see each other. Is there a way that the the PC1 can see PC2 vice versa?

      I know I can do it by disabling DHCP on the second router and avoiding the WAN port on it, Is there any other way? May be I need to create static routes…

      Thanks!

      1 Reply Last reply Reply Quote 0
      • J
        JoelC707
        last edited by

        Is there a purpose behind having two routers back to back like that? If not then I'm sure I don't need to tell you the "easiest way" ;)

        If you must keep them separate I'd suggest replacing those two routers with one pfsense box with three interfaces, one WAN and two LAN. Traffic between the LAN segments will only flow based on what firewall rules you set (by default nothing gets through). Using the two routers like you are there is no way for the two LAN segments to see each other, they are for all intents and purposes two complete separate networks and those routers aren't designed to do what you want.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.