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

    Two Lans, possible routing issue

    General pfSense Questions
    4
    10
    614
    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
      guyz
      last edited by guyz

      Hi Guys

      I have an odd issue with my pfsense setup. I have one pfsense device, connected to one wan (bge0) and two lans (bge1, bge2).

      first lan 192.168.0.0/24 uses dhcp with some static leases and has connectivity simple setup and works. pfsense interface (bge1) on this one is 192.168.0.1
      second lan 10.224.0.0/16: don't need dhcp since all devices there has static setup. pfsense interface (bge2) on this one is 10.224.0.1.
      I have once device connect to second lan with static ip of 10.224.50.100 subnet 255.255.0.0 gw 10.224.0.1
      both lans only have ipv4 any to any rule for now and 192.168.0.0 also has anti lockout rule.

      when I login to a device on lan one say at 192.168.0.100 I have full internet access, i can ping 10.224.0.1 but can't ping 10.224.50.100.
      when i enabled dhcp on the second network and had a device using dhcp (not the 10.224.50.100) i was able to ping 10.224.50.100, so i guess it wasn't firewall issue but routing.

      why can't i ping it without the dhcp on the second lan, ideas?

      V johnpozJ JKnottJ 3 Replies Last reply Reply Quote 0
      • V
        viragomann @guyz
        last edited by

        @guyz
        The only reason, I can think of to cause this behavior, would be wrong network settings, either the network mask or the gateway.
        Verify that the settings are applied correctly with ipconfig / ifconfig or similar.

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

          @guyz yeah I would agree with @viragomann that really points to issue with settings. If works with dhcp but not when you set static on the device itself that really screams something wrong with the settings, typo quiet possible on either the mask or gateway address. or maybe just different IP then what was thought to be set..

          I would agree if works with dhcp but not static that kinds of says not a host firewall on the host device trying to talk too.

          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
            guyz
            last edited by

            odd might end up as typo, I'll keep digging ... thanks for the sanity check :)

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

              @guyz never heard of a firewall or security software that would allow access from other networks when it gets via dhcp, but would block if static that is for sure..

              The only thing that would come close is say a windows machine setting a private/public/domain profile on the firewall. So guess in theory if a profile loaded from AD or something that might allow remote networks?

              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
              • JKnottJ
                JKnott @guyz
                last edited by

                @guyz said in Two Lans, possible routing issue:

                I have an odd issue with my pfsense setup.

                Why don't people ever have even issues? 😉

                I agree with the other guys. It's likely a config problem.

                PfSense running on Qotom mini PC
                i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
                UniFi AC-Lite access point

                I haven't lost my mind. It's around here...somewhere...

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

                  Had an even issue right before that one but managed to sort it out :)... retried and set everything from scratch, and all works well, probably a typo i just missed and couldn't find.

                  thanks everyone for the support.

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

                    @guyz so your now working with your static settings?

                    Out of curiosity only - why are you using such a large mask.. /16 seems way over the top for any actual network.. That would be used in maybe say a cidr rule on a firewall.. or a route.. 65K address sure seems like a lot of devices to put on a segment..

                    And people wonder how your run out of IP space in rfc1918 ;)

                    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
                      guyz
                      last edited by

                      Just because some of the devices on this one come from the factory with a 10.224.0.0/16 IP already and it saves me time to reconfigure ...

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

                        @guyz said in Two Lans, possible routing issue:

                        come from the factory with a 10.224.0.0/16 IP already and it saves me time to reconfigure ...

                        haha - thanks.. Well that makes sense then..

                        didthematch.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.7.2, 24.11

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