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 15.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.
    • stephenw10S
      stephenw10 Netgate Administrator
      last edited by

      What error do you see when you try to connect to some external site?

      Can you ping by IP address, for example, 8.8.8.8?

      What does the pfSense WAN address show as?

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

        @stephenw10 the wan network gives me 192.168.1.xxx

        i disconnected the cable to the pc (not the pfsense) and then reconnected it hours later and it won't connect me anymore.
        wan and lan in the pfsense are the same as before.
        in the "ifconfig" shell it tells me that wan and lan are active. re1 states me as wan while re0 gives no description.

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

          @Spectrum wan v4/dhcp4 : 192.168.1.XxX - v6/dhcp6 : XXXX:xxx:XXXX:xxxx:XXXX:xxxx/XXXX/XX

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