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

    Gateway in WAN for static route

    Scheduled Pinned Locked Moved Routing and Multi WAN
    3 Posts 2 Posters 288 Views 2 Watching
    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 Offline
      mimu
      last edited by

      Hello.
      I have an internet-connection, which is used by multiple networks. I have a "core" network (10.0.0.0/24) as shown in the image and multiple networks connecting to this.
      Untitled Diagram.jpg
      Everything works fine, but now i would like to configure a static route on pfSense (10.0.0.3) to the network 192.168.2.0/24.
      The default gateway is already configured (10.0.0.1), I added a gateway (10.0.0.2) and a static route to 192.168.2.0/24 using this new gateway.
      The static route from 192.168.1.0 to 192.168.2.0 is not working. Using the packet capture tool shows me, that the packets contain the mac address of the default gateway (10.0.0.1) and not that of the new gateway (10.0.0.2).
      What could be the problem? Any ideas?

      Thanks,
      Michael

      1 Reply Last reply Reply Quote 0
      • V Offline
        viragomann
        last edited by

        Consider that you need also a static route for the other direction.
        So 10.0.0.2 you have to add a static route for the network 192.168.1.0/24 pointing to 10.0.0.3.

        1 Reply Last reply Reply Quote 0
        • M Offline
          mimu
          last edited by mimu

          Hello.
          You're right, but for now that's not the problem. Packets to 192.168.2.0 don't reach 10.0.0.2, as they are sent to the mac address of 10.0.0.1.
          The static route does not work. The problem could be, that both gateways are on the same network (10.0.0.0)? If I deactivate the upstream for the wan interface the static route works...

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