pfSense on VM - Internet not working
-
Ensure that the WAN gateway IP is within the WAN subnet.
-
Yes, it is on the same subnet:
176.170.120.1 - gateway;
176.170.120.150 - ip. -
Is that the same IP address you are given via DHCP? Why are you trying to use a static IP?
Do you see any errors in the system log?
Steve
-
@stephenw10 The ISP DHCP server provides settings on a different subnet. The ISP explained that this network is not intended for customers. At the moment in the logs, I see a bunch of firewall errors related to the "Default deny rule IPv4" for UDP protocol. Blocks traffic for different ports of several subnets. There are many entries in the log, new ones appear every second. Destination IP is different everywhere and they are unknown to me. Screenshot:
-
That's the firewall log not the system log.
When you set the static IP and gateway you have been given do you see errors in the system or gateway logs?
Also I assume you have been given a /24 subnet mask?
Steve
-
@stephenw10 I apologize for my negligence. This is what I see in the system log when I change from WAN DHCP to static ipv 4:
Getaway log:
10.66.66.x - DHCP WAN adress.
192.xxx.xxx.xxx - my static ipv4 gateway.
Yes, subnet mask /24.
In Status - Gateways - Gateway 192.xxx.xxx.xxx is Offline. But, if i change static ipv4 to WAN DHCP - gateway 192.xxx.xxx.xxx is Online. -
Hmm, well I'm not sure where you have made the changes but it appears not everything has changed.
It's still trying to reach the gateway at 10.66.66.1 but can't because it no longer has an interface in that subnet.
At some point it's trying to reach the gateway at 192.x.x.x (I assume that's a public IP otherwise there is no point obscuring it) but trying to do so from 10.66.66.75 still.
The last entry there shows 33% packet loss to the 192 gateway. Than implies 66% packets are coming back from it.
Does it actually show as up after a minute or so?
Steve
-
@stephenw10 Yes, I only need to change WAN DHCP to WAN static ipv4 - these messages appear in the system log.
My screenshot of wan setup:
I really do not understand why there is no Internet via WAN... The same settings are used by my External Hyper-V Virtual Switch, and the Internet is working properly on the host. May be need more screenshots to provide more information about my pfSense network settings? Thank you for help. -
Either that gateway is not responding to ping or it's not there at all.
Is that an actual public IP or a 192.168.X.X adddress?
Steve
-
@stephenw10 public IP. Very strange, because if i use WAN DHCP - he is Online and ping to gateway 192.xxx.xxx.x is OK.
-
See your other thread. Are you trying to use that same IP on pfSense and the host at the same time?
-
@stephenw10 Thank you very much for help and advice! Problem solved.