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

    Routing from Lan1 to Lan2

    Scheduled Pinned Locked Moved Routing and Multi WAN
    6 Posts 2 Posters 493 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.
    • G
      grounddave
      last edited by

      Should be a simple one for all. Here's my network setup:

      Network.png

      I have 2 Netgate routers instead of 1 since I anticipate moving one of the networks in the future. I'd like machines on Lan1 (192.168.1.X) to see machines on Lan2 (192.168.2.X) and optionally vice versa.

      Can anyone tell me how to connect pfSense1 to pfSense2 and then how to configure each router?

      Thanks!!

      1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator
        last edited by

        Well the connection between your routers would be a transit network, lets say 172.16.0.0/30 you could use .1 and .2 as their addresses.

        Now just create gateway on pfsense pointing to .2 and gateway on 2 pointing to .1

        Create your routes pointing to the gateways to get to the network on that pfsense.

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.7.2, 24.11

        1 Reply Last reply Reply Quote 0
        • G
          grounddave
          last edited by

          Thanks for the response!

          Apologies in advance but I'm a relative simpleton when it comes to advanced networking. Can you point me to how to set up the transit networks on each Netgate?

          Thanks again!

          1 Reply Last reply Reply Quote 0
          • johnpozJ
            johnpoz LAYER 8 Global Moderator
            last edited by

            See that line you have drawn between them - where is it connected.. Which interfaces on each pfsense router. If not physical interface you would have to do it with vlan.

            This is not "advanced" routing - this pretty pre basic even. One router talking to another router. ;) How is that not basic?

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.7.2, 24.11

            1 Reply Last reply Reply Quote 0
            • G
              grounddave
              last edited by grounddave

              Well then it seems I suck at solving the most basic networking. I'm a decent learner tho.

              The routers (one an SG-3100 and the other an SG-5100) are currently connected via lan-designated physical ports through a switch. Since the system isn't operational yet I can certainly change that.

              1 Reply Last reply Reply Quote 0
              • johnpozJ
                johnpoz LAYER 8 Global Moderator
                last edited by

                Well pick and interface on your 3100 and 5100 to use as your transit network.. For your 3100 you will prob have to carve out one of the switch ports to use. Put it on a different vlan... The 5100 has discrete interfaces so a bit easier.

                An intelligent man is sometimes forced to be drunk to spend time with his fools
                If you get confused: Listen to the Music Play
                Please don't Chat/PM me for help, unless mod related
                SG-4860 24.11 | Lab VMs 2.7.2, 24.11

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