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

LAN client cannot connect

General pfSense Questions
2
101
13.4k
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.
  • S
    stephenw10 Netgate Administrator
    last edited by Oct 26, 2023, 6:06 PM

    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 S 2 Replies Last reply Oct 26, 2023, 6:10 PM Reply Quote 1
    • S
      Spectrum @stephenw10
      last edited by Oct 26, 2023, 6:10 PM

      @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
      • S
        stephenw10 Netgate Administrator
        last edited by Oct 26, 2023, 6:14 PM

        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 Oct 26, 2023, 6:17 PM Reply Quote 0
        • S
          Spectrum @stephenw10
          last edited by Oct 26, 2023, 6:17 PM

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

          1 Reply Last reply Reply Quote 0
          • S
            stephenw10 Netgate Administrator
            last edited by Oct 26, 2023, 6:18 PM

            Yes

            S 1 Reply Last reply Oct 26, 2023, 7:56 PM Reply Quote 0
            • S
              Spectrum @stephenw10
              last edited by Oct 26, 2023, 7:56 PM

              @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
              • S
                stephenw10 Netgate Administrator @stephenw10
                last edited by Oct 26, 2023, 8:20 PM

                @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 Oct 26, 2023, 8:22 PM Reply Quote 0
                • S
                  Spectrum @stephenw10
                  last edited by Oct 26, 2023, 8:22 PM

                  @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
                  • S
                    stephenw10 Netgate Administrator
                    last edited by Oct 26, 2023, 8:24 PM

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

                    S 2 Replies Last reply Oct 26, 2023, 8:25 PM Reply Quote 0
                    • S
                      Spectrum @stephenw10
                      last edited by Oct 26, 2023, 8:25 PM

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

                      1 Reply Last reply Reply Quote 0
                      • S
                        Spectrum @stephenw10
                        last edited by Oct 26, 2023, 8:27 PM

                        @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
                        • S
                          stephenw10 Netgate Administrator
                          last edited by Oct 26, 2023, 8:32 PM

                          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 Oct 26, 2023, 8:54 PM Reply Quote 0
                          • S
                            Spectrum @stephenw10
                            last edited by Oct 26, 2023, 8:54 PM

                            @stephenw10 how? console 2 and after?

                            1 Reply Last reply Reply Quote 0
                            • S
                              stephenw10 Netgate Administrator
                              last edited by Oct 26, 2023, 9:06 PM

                              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 Oct 26, 2023, 9:18 PM Reply Quote 0
                              • S
                                Spectrum @stephenw10
                                last edited by Oct 26, 2023, 9:18 PM

                                @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
                                • S
                                  stephenw10 Netgate Administrator
                                  last edited by Oct 26, 2023, 9:55 PM

                                  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 Oct 26, 2023, 10:43 PM Reply Quote 0
                                  • S
                                    Spectrum @stephenw10
                                    last edited by Oct 26, 2023, 10:43 PM

                                    @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
                                    • S
                                      stephenw10 Netgate Administrator
                                      last edited by Oct 26, 2023, 10:45 PM

                                      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 Oct 26, 2023, 11:07 PM Reply Quote 0
                                      • S
                                        Spectrum @stephenw10
                                        last edited by Oct 26, 2023, 11:00 PM

                                        @stephenw10 if you agree i start with a reset to factory defaults.
                                        right after that i install realtek. after that i would like to do step by step.

                                        1 Reply Last reply Reply Quote 0
                                        • S
                                          stephenw10 Netgate Administrator
                                          last edited by Oct 26, 2023, 11:04 PM

                                          You just need to set the LAN to a different subnet. I'm not sure how you managed to install the Realtek pkg with conflicting subnets like that. You can start over if you want.

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