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

    LAN client cannot connect

    Scheduled Pinned Locked Moved General pfSense Questions
    101 Posts 2 Posters 14.0k 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.
    • stephenw10S
      stephenw10 Netgate Administrator
      last edited by

      Ok that's the problem then. The WAN and LAN subnets are conflicting which breaks routing.

      Set the LAN subnet to something else, for example: 192.168.100.1/24

      Steve

      S 1 Reply Last reply Reply Quote 0
      • S
        Spectrum @stephenw10
        last edited by

        @stephenw10 wan 192.168.1.101/24 lan 192.168.1.1/24
        so i change lan ip to 192.168.100.1/24? or change the wan ip?
        for this modify probabily i can't use web gui , so i use the shell?

        1 Reply Last reply Reply Quote 0
        • stephenw10S
          stephenw10 Netgate Administrator
          last edited by

          You can change either but changing the LAN is usually much easier because you can just set it in pfSense.

          If you set it at the console using menu option 2 it will set the dhcp server range etc for you.

          S stephenw10S 2 Replies Last reply Reply Quote 1
          • S
            Spectrum @stephenw10
            last edited by

            @stephenw10 I tried to go into the web gui 192.168.1... on the pc and it gave it to me and it connected me, I disconnected the wifi on the phone and I find myself connected with the pfsense. how is this possible? however any other web address shows me " Unable to reach the site" .

            1 Reply Last reply Reply Quote 0
            • stephenw10S
              stephenw10 Netgate Administrator
              last edited by

              You can reach the GUI because you are in the same subnet no routing required. When you try to reach something else pfSense has to route that traffic via it's own gateway. But it doesn't know which interface to use because both are in the 192.168.1.0/24 subnet. Since you can reach it it's probably trying to find the gateway on LAN and failing.

              S 1 Reply Last reply Reply Quote 0
              • S
                Spectrum @stephenw10
                last edited by

                @stephenw10 so the best thing to do is to change the ip address of the lan?

                1 Reply Last reply Reply Quote 0
                • stephenw10S
                  stephenw10 Netgate Administrator
                  last edited by

                  Yes

                  S 1 Reply Last reply Reply Quote 0
                  • S
                    Spectrum @stephenw10
                    last edited by

                    @stephenw10 I changed lan ip address, it disconnected me and never reconnected me. i tried to put the old ip address back and even there it doesn't let me connect to the pc anymore. (I mean not even going into the web gui)

                    1 Reply Last reply Reply Quote 0
                    • stephenw10S
                      stephenw10 Netgate Administrator @stephenw10
                      last edited by

                      @stephenw10 said in Hardware driver:

                      If you set it at the console using menu option 2 it will set the dhcp server range etc for you.

                      Like that?

                      If not then you probably need to set a static IP on your client to reach it. Or use the console to check what IP it's using now and set a new one if required.

                      S 1 Reply Last reply Reply Quote 0
                      • S
                        Spectrum @stephenw10
                        last edited by

                        @stephenw10 yeah yeah.. i did exactly as you said. now i reset the old ip address is still not going. yes the lan is static now

                        1 Reply Last reply Reply Quote 0
                        • stephenw10S
                          stephenw10 Netgate Administrator
                          last edited by

                          Check the console and see what it's currently configured as.

                          S 2 Replies Last reply Reply Quote 0
                          • S
                            Spectrum @stephenw10
                            last edited by

                            @stephenw10
                            wan re1 - dhcp- dhcp6
                            lan re0 - static

                            1 Reply Last reply Reply Quote 0
                            • S
                              Spectrum @stephenw10
                              last edited by

                              @stephenw10 by any chance do I need to see the modem settings??? do I need to disable something from the modem?

                              1 Reply Last reply Reply Quote 0
                              • stephenw10S
                                stephenw10 Netgate Administrator
                                last edited by

                                No, not if it's passing a dhcp lease to pfSense.

                                You need to check the IP addresses and subnets being used. It should show at the console.

                                S 1 Reply Last reply Reply Quote 0
                                • S
                                  Spectrum @stephenw10
                                  last edited by

                                  @stephenw10 how? console 2 and after?

                                  1 Reply Last reply Reply Quote 0
                                  • stephenw10S
                                    stephenw10 Netgate Administrator
                                    last edited by

                                    Above the console menu the current interface status is show. Something like this:

                                    *** Welcome to Netgate pfSense Plus 22.05-RELEASE (amd64) on plusdev-3 ***
                                    
                                     WAN (wan)       -> em0        -> v4/DHCP4: 172.21.16.133/24
                                     LAN (lan)       -> vtnet1     -> v4: 192.168.184.1/24
                                    

                                    You need to check what subnet the LAN is using and make sure it doesn't conflict with the WAN.

                                    S 1 Reply Last reply Reply Quote 0
                                    • S
                                      Spectrum @stephenw10
                                      last edited by

                                      @stephenw10 *** Welcome to Netgate pfSense 2.7.0-RELEASE (amd64) on plutonplanet***

                                      WAN (wan) ->re1 -> v4/DHCP4: 192.168.1.101/24, v6/DHCP6:
                                      LAN (lan) -> re0 -> v4: 192.168.1.1/24

                                      1 Reply Last reply Reply Quote 0
                                      • stephenw10S
                                        stephenw10 Netgate Administrator
                                        last edited by

                                        Ok so the WAN and LAN are still conflicting, both in 192.168.1.0/24.

                                        Use menu option 2 to change the LAN to 192.168.100.1/24 and correct the dhcp range for LAN. Then reconnect to the LAN to get a lease in the new subnet.

                                        S 2 Replies Last reply Reply Quote 0
                                        • S
                                          Spectrum @stephenw10
                                          last edited by

                                          @stephenw10 i try like this, but not working. can we do the step - by - step steps? I don't know what to do.

                                          1 Reply Last reply Reply Quote 0
                                          • stephenw10S
                                            stephenw10 Netgate Administrator
                                            last edited by

                                            Do this:

                                             WAN (wan)       -> em0        -> v4/DHCP4: 172.21.16.133/24
                                             LAN (lan)       -> vtnet1     -> v4: 192.168.184.1/24
                                            
                                             0) Logout (SSH only)                  9) pfTop
                                             1) Assign Interfaces                 10) Filter Logs
                                             2) Set interface(s) IP address       11) Restart webConfigurator
                                             3) Reset webConfigurator password    12) PHP shell + Netgate pfSense Plus tools
                                             4) Reset to factory defaults         13) Update from console
                                             5) Reboot system                     14) Disable Secure Shell (sshd)
                                             6) Halt system                       15) Restore recent configuration
                                             7) Ping host                         16) Restart PHP-FPM
                                             8) Shell
                                            
                                            Enter an option: 2
                                            
                                            Available interfaces:
                                            
                                            1 - WAN (em0 - dhcp, dhcp6)
                                            2 - LAN (vtnet1 - static)
                                            
                                            Enter the number of the interface you wish to configure: 2
                                            
                                            Enter the new LAN IPv4 address.  Press <ENTER> for none:
                                            > 192.168.100.1
                                            
                                            Subnet masks are entered as bit counts (as in CIDR notation) in Netgate pfSense Plus.
                                            e.g. 255.255.255.0 = 24
                                                 255.255.0.0   = 16
                                                 255.0.0.0     = 8
                                            
                                            Enter the new LAN IPv4 subnet bit count (1 to 32):
                                            > 24
                                            
                                            For a WAN, enter the new LAN IPv4 upstream gateway address.
                                            For a LAN, press <ENTER> for none:
                                            > 
                                            
                                            Enter the new LAN IPv6 address.  Press <ENTER> for none:
                                            > 
                                            
                                            Do you want to enable the DHCP server on LAN? (y/n) y
                                            Enter the start address of the IPv4 client address range: 192.168.100.10
                                            Enter the end address of the IPv4 client address range: 192.168.100.100
                                            Disabling IPv6 DHCPD...
                                            
                                            Do you want to revert to HTTP as the webConfigurator protocol? (y/n) n
                                            
                                            Please wait while the changes are saved to LAN...
                                             Reloading filter...
                                             Reloading routing configuration...
                                             DHCPD...
                                            
                                            The IPv4 LAN address has been set to 192.168.100.1/24
                                            You can now access the webConfigurator by opening the following URL in your web browser:
                                            		https://192.168.100.1/
                                            
                                            Press <ENTER> to continue.
                                            
                                            S 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.