LAN client cannot connect
-
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
-
@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? -
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.
-
@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" .
-
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.
-
@stephenw10 so the best thing to do is to change the ip address of the lan?
-
Yes
-
@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)
-
@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.
-
@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
-
Check the console and see what it's currently configured as.
-
@stephenw10
wan re1 - dhcp- dhcp6
lan re0 - static -
@stephenw10 by any chance do I need to see the modem settings??? do I need to disable something from the modem?
-
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.