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.5k 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

      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
      • S
        Spectrum @stephenw10
        last edited by

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

          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
          • S
            Spectrum @stephenw10
            last edited by Spectrum

            @stephenw10 i try this. in the pc i see the connection icon called network5 but it says "network unavailable". i type 192.168.100.1 is it gets me into the web gui, i load another page like google and it doesn't work.

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

              Ok, what does the console show for the interfaces now?

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

                @stephenw10 wan re1 v4/dhcp4: 192.168.1.101/24 - v6/dhcp6: xxxxxxxxxxxxxxxxxxxx
                lan re0 v4: 192.168.100.1/24

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

                  Ok great.

                  Use console menu option 7 to try to ping out from pfSense to 8.8.8.8. Then test to google.com

                  If either of those fail what error is shown?

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

                    @stephenw10 "Unable to reach the site
                    Unable to find the IP address of the duckduckgo.com server.

                    Try:
                    Checking the connection
                    Checking the proxy, firewall, and DNS configuration
                    Running the Windows Network Diagnostics tool
                    ERR_NAME_NOT_RESOLVED" on pc when try google.com

                    side console putting 7 then 8.8.8.8 indicates 3 packets transmitted, 0 packets received, 100% packets lost.

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

                      Ok, great so pfSense cannot connect out.

                      So in the pfSense webgui check Status > Gateways.
                      I assume it shows 192.168.1.1 as the gateway?
                      Does it show the gateway as down?

                      Go to Diag > Routes.
                      Does it show a default route for IPv4?

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

                        @Spectrum wan WAN_DHCP6 (default) gateway: xxxxxxx status connect
                        WAN_DHCP gateway: 192.168.1.xxx status connect
                        LANGW gateway: 192.168.100.1 status suspended

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

                          @Spectrum said in Hardware driver:

                          192.168.1.xxx

                          That is a private IP address there is no need to obscure it.

                          @Spectrum said in Hardware driver:

                          LANGW gateway: 192.168.100.1 status suspended

                          You should not have a gateway on LAN. Go to Interfaces > LAN and remove it.

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

                            @stephenw10 -General Configuration: enable interface
                            -Static IPv4 configuration: IPv4 address.
                            192.168.100.1/24
                            IPv4 Upstream gateway: none
                            -Reserved networks: Block private networks and loopback addresses and Block bogon networks (not active).

                            What exactly should I remove from these?

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

                              @stephenw10 i find how to eliminate gateway lan.. and i do. but pc is offline, life before rete5

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

                                Ok upstream gateway is correct.

                                Go to System > Routing > Gateways.

                                Make sure there is only WAN gateway. Remove a LAN gateway if it shows there.

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

                                  @stephenw10 now i see only wan, not see lan in the System > Routing > Gateways.

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

                                    Go to Diag > Routes.
                                    Does it show a default route for IPv4 via the WAN gateway?

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

                                      @stephenw10
                                      i see default re0 (lan)
                                      i dont see default in re1 (wan)

                                      but

                                      if i see ipv6 .. re1 (wan) is default

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

                                        @Spectrum said in Hardware driver:

                                        i see default re0 (lan)

                                        Ok, that's bad. That's why it's broken.

                                        Set the IPv4 default gateway to WAN_DHCP.

                                        The delete the LAN gateway.

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

                                          @stephenw10 good morning. last night i turned off pfsense and unplugged the wan cable, today i turned on and plugged the cable in and it gives me connected. i went into the settings it said and it no longer gives me re0 (lan) as default. i don't know what is going on in my settings, but i am sure if i turn off or reboot now it will give me the problem again. how can i save these settings?

                                          IPv4 route
                                          127.0.0.X lo0
                                          192.168.1.X/24 re1 (wan)
                                          192.168.1.XXX lo0
                                          192.168.100.X/24 re0 (lan)
                                          192.168.100.X lo0

                                          Now only in ipv6 I see the wan in default, like this:
                                          IPv6 route
                                          default xxxxxxxx%re1 re1 (wan)

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

                                            @Spectrum although it tells me "connected" pero any site comes up as impossible to access

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