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

    Odd LAN Addressing Issue

    Scheduled Pinned Locked Moved Firewalling
    11 Posts 5 Posters 2.3k 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.
    • M
      mikeisfly
      last edited by

      What subnet mask were you trying to use?

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

        You mean 192.168.2.0 as the network right? Or were you assigning 192.168.2.0 as the interface address?

        If it ain't broke, you haven't tampered enough with it

        1 Reply Last reply Reply Quote 0
        • ghostshellG
          ghostshell
          last edited by

          192.168.2.0/24

          GW 192.168.2.1

          Cant ping 8.8.8.8 nor 192.168.2.1 when connected if i switch it to another number besides 2 it works just fine, 2.X is not used anywhere else

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

            So what is the exact IP address assigned to your LAN interface? 192.168.2.0? Why there is a gateway on the LAN?

            Sorry, I still don't understand your network

            If it ain't broke, you haven't tampered enough with it

            1 Reply Last reply Reply Quote 0
            • ghostshellG
              ghostshell
              last edited by

              OK!

              I went to Interfaces>Opt 4

              Choose Static IPv4

              Entered 192.168.2.1 for the IP with /24 as the subnet.

              No DHCP enabled.

              If i connect with any static address 192.168.2.2-254 i cannot PING 8.8.8.8 nor 192.168.2.1

              If i enable DHCP and let any device get its address 192.168.2.2-254 i still cannot PING 8.8.8.8 nor 192.168.2.1

              If i switch the address to 192.168.3-anything other then 2 it works just fine.1

              i can work around this by not choose 2, i am just curious why it doesnt like .2

              1 Reply Last reply Reply Quote 0
              • N
                nothing
                last edited by

                Quite odd as you describe it  :)
                What are your NAT rules?
                Can you paste the ipv4 part of netstat -nr?

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

                  I went to Interfaces>Opt 4

                  And what are you firewall rules on this OPT interface?  Since opt interfaces have no rules by default..

                  Also what are you Ips on all your other interfaces.. Sure you don't have say a 192.168.1.0/23 which would overlap your 192.168.2.0/24

                  Also as mentioned there really should not be a GW on a lan interface.

                  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 0
                  • ghostshellG
                    ghostshell
                    last edited by

                    No gateway was chosen, first thing i learned when first starting out with PFSense, i love PFSense all around, i am referring to the IP entered in the box next to the subnet drop down box, if I switch it from 192.168.2.0/24 to lets say anything other then 2 such as 192.168.3.0/24 it works.

                    In the IP box next to the subnet drop down i entered 192.168.X.1 for this interface/network

                    192.168.2.X is not used anywhere else

                    As for rules i have just the normal ones to allow traffic from one subnet to another or to block one subnet from accessing these devices on this interface, i do not see however how a rule would not allow me to use 2.X but allow any other number 3.X, 4.X, 5.X, 88.X etc…

                    If it was a rule issue i would assume that i would not be able to use it regardless of the number and i would not be able to use the workaround of just switching to the next number up.

                    1 Reply Last reply Reply Quote 0
                    • ghostshellG
                      ghostshell
                      last edited by

                      After looking through everything including logs and all configurations i figured it out

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

                        and what was it for the next guy reading this thread

                        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 0
                        • First post
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.