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

    Multiple gateways on same subnet

    IPsec
    2
    3
    4.7k
    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.
    • R
      riaano
      last edited by

      Hi,

      I have 2 PfSense boxes on the same network / subnet (10.0.0.0/24) serving as 2 different gateways. lets call them G1 and G2.
      G1 and G2 both have their own DSL lines and connect to different adsl accounts.
      Now some of the workstations on my network use G1 and others use G2.

      I setup IPsec on G2 connecting to my remote offices which are also running PfSense boxes.

      Everything seems 100% as i added the related routes on G2 and the remote PfSense to be able to ping ips on the
      remote network and visa versa.

      My question now is : from the remote office (10.1.102.0/24) PfSense i can only ping the workstations on the main network (10.0.0.0/24) that use
      G2 as their gateway, not the ones using G1 as their gateway. is there any way to put a route in so they can ping the workstations
      using G1 as their gateway ?

      i hope this made sense….

      Thanks

      1 Reply Last reply Reply Quote 0
      • S
        SeventhSon
        last edited by

        If the workstation with G1 as a gateway needs to send anything to something else than the subnet directly connected, it will send it to it's default gateway (if no static routes are there on the workstation). So you should add a static route from G1 to G2 for the 10.1.102.0/24 network, otherwise the packet will stop at G1.

        1 Reply Last reply Reply Quote 0
        • R
          riaano
          last edited by

          Thanks a mil SeventhSon, sorted my problem :) cant believe i missed it :P

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