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

    I won't reach the subnet

    Scheduled Pinned Locked Moved Routing and Multi WAN
    13 Posts 3 Posters 1.2k 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
      gusto @Gertjan
      last edited by

      @gertjan
      I just want to learn how routing works.
      it was necessary to turn off the firewall in asus and ping to subnet 192.168.10.0/24 worked.
      asus.png

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

        @gusto Lets take any firewall or natting out the equation for your downstream asus router.

        Your still asymmetrical.. So yeah your going to get
        From 192.168.1.1: icmp_seq=1 Redirect Host(New nexthop: 192.168.1.156)

        To not be asymmetrical you need to use a transit network. between your routers. A transit network is a network that connects routers that has no hosts on it. In your scenario you 192.168.1.2 device would need a route on it saying hey to get to 192.168.10/24 talk to 192.168.1.156

        transit.jpg

        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.8, 24.11

        G 1 Reply Last reply Reply Quote 0
        • G
          gusto @johnpoz
          last edited by

          @johnpoz said in I won't reach the subnet:

          @gusto Lets take any firewall or natting out the equation for your downstream asus router.

          Your still asymmetrical.. So yeah your going to get
          From 192.168.1.1: icmp_seq=1 Redirect Host(New nexthop: 192.168.1.156)

          To not be asymmetrical you need to use a transit network. between your routers. A transit network is a network that connects routers that has no hosts on it. In your scenario you 192.168.1.2 device would need a route on it saying hey to get to 192.168.10/24 talk to 192.168.1.156

          transit.jpg

          I don't know if I understand that well.
          In my case, I don't need to do routing?
          How do I get from 192.168.1.2 to 192.168.10.0/24?

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

            @gusto from your drawing.. Your downstream router almost promise you is doing natting, so you would need to setup a port forward on it, and access the services via the 1.156 IP that it would forward behind it.

            If it was routing, then you would need a host route on your device on the 192.168.1 network.

            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.8, 24.11

            G 1 Reply Last reply Reply Quote 0
            • G
              gusto @johnpoz
              last edited by

              @johnpoz
              I understand
              When I was looking for static routing information, I found this guide.
              Scenario 1
              I think it's also better to use NAT than routing in this case.

              ?

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

                @gusto their scenario is crap.. And again asymmetrical, should never be setup that way ever in the first place. And if it was - then you would create the route on the client on how to get to that 172.30.30 network.

                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.8, 24.11

                GertjanG 1 Reply Last reply Reply Quote 1
                • GertjanG
                  Gertjan @johnpoz
                  last edited by

                  I still didn't see the reason why the ASUS must be a router.
                  Convert it onto a real AP, and all your issues are gone.
                  No more need to define routs, no need for NAT.
                  Just stop using the WAN port - hook up pfsense to a LAN port. Define the gateway in the router as the IP of the LAN interface of pfSense, shut down DHCP, firewall, DNS etc and done.

                  No "help me" PM's please. Use the forum, the community will thank you.
                  Edit : and where are the logs ??

                  G 1 Reply Last reply Reply Quote 1
                  • G
                    gusto @Gertjan
                    last edited by

                    @gertjan
                    Now I understand the routing.
                    Routing is applied if there are 2 or more routers on the path.
                    I just wanted to learn more about routing, so I set the device to router mode and not AP.

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

                      @gusto said in I won't reach the subnet:

                      Routing is applied if there are 2 or more routers on the path.

                      Routing is way more than that.. What you were doing is not really routing, its a icmp redirection by 1 router.. Its a work around fix when you want to tell a client where to go to get somewhere, but you can not actually route on the client.

                      What they show in that example you linked to is just crap, it really should never be setup that way.. While icmp redirection can work, not always. You need to make sure the client will actually accept them and leverage them, and then they will only be used for some specific amount of time, there is a cache set for the length of this "temp" route on the host, etc.

                      They show such an example because their soho router can not really do multiple networks/vlans that would allow for proper routing.

                      edit: If you want your wifi on a different network and you want to route from pfsense lan to this new network, then as mentioned used that device as a AP and just connect it to another interface on pfsense on a different network.. Now pfsense is routing between these networks.

                      If you want to play with routing, then use another pfsense box, or something that can actually do routing where you can setup transit networks, etc.. So your not asymmetrical and do not have to use icmp redirection to tell a client where to go to get somewhere..

                      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.8, 24.11

                      G 1 Reply Last reply Reply Quote 1
                      • G
                        gusto @johnpoz
                        last edited by

                        @johnpoz
                        This procedure takes a bit to look like this.

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

                          @gusto again what they are showing is a horrible example of working with their limited devices.

                          That first link goes over what you can do to get around using asymmetrical routing, but asymmetrical should not be something you would actually setup on purpose..

                          If your wanting to learn about routing - I sure wouldn't start with what amounts to a shit show ;)

                          Your downstream router should use a transit network to connect to the upstream router.

                          Here is a diagram that should help with doing routing on pfsense for multiple network, and adding a downstream router into the mix.

                          pfsense-layer-3-switch.png

                          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.8, 24.11

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