LAN client cannot connect
-
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.
-
@stephenw10 how? console 2 and after?
-
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.
-
@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 -
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.
-
@stephenw10 i try like this, but not working. can we do the step - by - step steps? I don't know what to do.
-
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.
-
@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. -
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.
-
@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.
-
Ok, what does the console show for the interfaces now?
-
@stephenw10 wan re1 v4/dhcp4: 192.168.1.101/24 - v6/dhcp6: xxxxxxxxxxxxxxxxxxxx
lan re0 v4: 192.168.100.1/24 -
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?
-
@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.comside console putting 7 then 8.8.8.8 indicates 3 packets transmitted, 0 packets received, 100% packets lost.
-
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? -
@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 -
@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.
-
@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?
-
@stephenw10 i find how to eliminate gateway lan.. and i do. but pc is offline, life before rete5
-
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.