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

    Simply Static Route Not Working -.-

    Scheduled Pinned Locked Moved Routing and Multi WAN
    4 Posts 2 Posters 1.5k 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.
    • F Offline
      fernandomanuel
      last edited by

      I want to route a subnet 192.168.1.0/24 to another external gateway, so, i go to System/Routing/Routes and add that network, but my PF has default GW of my Lan can re route this simple thing? nothing happens…, What about of rules and policys from wan default route, is a concept problem _?
      Why i cant not make  a simple static route?

      Thanks.

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

        "but my PF has default GW of my Lan"

        Huh??  That makes no sense at all… PFsense default gateway would be out its wan, are you saying pfsense wan is your lan?

        Why don't you draw up your network, and show what your wanting to accomplish..  Do you have a downstream router?  Normally you connect downstream routers with a transit network so you don't run into a asynchronous routing issue.

        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 25.07.1 | Lab VMs 2.8, 25.07.1

        1 Reply Last reply Reply Quote 0
        • F Offline
          fernandomanuel
          last edited by

          I have 2 Gateways,my default gateway is PFsense 2.2 , on 10.20.0.1 , the other gateway is in the same lan  on 10.20.0.10 and i want to make a simple route of 192.168.1.0 from my default gateway to tha gateway(10.20.0.20) , when some client ask for that subnet*addrees then my default gateway re route to that gateway, is clear?, has simple has is, simple static route.

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

            "the other gateway is in the same lan  on 10.20.0.10"

            You don't set a gateway on a LAN interface, or it becomes a WAN..  So you just created a gateway using your LAN interface??  You didn't actual set the gateway on your LAN interface??

            So you have a downstream router that has a interface in your lan (10.20.0/24)  Your lan interface in pfsense would NOT have a gateway set..  You have a possible problem with asynchronous routing if you don't connect this downstream router with a transit network..

            So is this your network?  See below.

            Without a transit network you have issue that when client in 10.20.0/24 wants to talk to 192.168.1.0/24 he sends traffic pfsense 10.20.0.1, which sends to 10.20.0.10.. Now when 192.168.1.0/24 talks back it doesn't have to go through pfsense since that downstream router has interface in the 10.20.0/24 network directly.. This is problem!  Not only do you have a hairpin you also have asynchronous routing.. Your paths are different to and from where your going..  This is normally BAD!!

            Is this downstream router natting? Do you have a switch that supports vlans?  If so you could create a transit network via vlan..  See 2nd image showing a transit network to get to the 192.168.1.0/24 network.

            yoursetup.png
            yoursetup.png_thumb
            transitnetwork.png
            transitnetwork.png_thumb

            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 25.07.1 | Lab VMs 2.8, 25.07.1

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