Pfsense no internet access on Esxi server
-
Ok i have check the system logs (General) and found an entry that seems to be causing the issue:
Sep 20 07:27:03 kernel arp.51.89.227.x moved from 00:00:0c:9c:f0:04 to d0:40:d3:01:23
It looks like the MAC is being updated by the host for some strange reason, i will post an update when i have fixed and finalised.
-
I have no idea why this address is changing and i am not sure how to resolve or fix. Is there anything in pfSense that can detect and update accordingly.
-
I have looked at the Diagnostics / ARP table
Interface IP address MAC address . Hostname
WAN 51.89.227.x 00:00:0c:9f:f3:04 ns34322.ip-xx-xx-x . Expires in 645 secondsOnce this has run out this is when the WAN connection stops working. How do i stop the expiry
-
This is an OVH thing. Basically they give you a single /32 and the gateway is on a different subnet.
You might try changing the WAN interface mask back to /32, then going into System > Routing > Gateways, add your default gateway and click on the Advanced settings button and scroll down to the bottom.
Check on Use non-local gateway.
This will allow use of a gateway outside of this interface's subnet. -
I have set as you have suggested and it worked after a reboot.
I suppose now its a question of time to see if it works :)
-
Unfortunately the same error - the gateway that i set is to the IP of ESxi server - which is what a tutorial specified.
-
@craig121 said in Pfsense no internet access on Esxi server:
Unfortunately the same error - the gateway that i set is to the IP of ESxi server - which is what a tutorial specified.
I'm not sure that setting the gateway to the IP of the ESXi server is correct. Which tutorial did you follow?
-
The tutorial that i followed which is very long winded and you have skip a lot is the playlist:
https://www.youtube.com/watch?v=iiQNQNdAAdA&list=PLf0swTFhTI8qOAbrJhihZZTWfZA_arTYZ&index=13
-
Also its very similar to
https://support.us.ovhcloud.com/hc/en-us/articles/360002175944-How-to-Connect-a-VM-to-the-Internet-Using-VMware-ESXi-6-5
https://support.us.ovhcloud.com/hc/en-us/articles/360000096990
I have just tried changing my final gateway ip address octlet to 254. So the first three octlets are the same as the Esxi server and the final octlet is 254.
-
Hallelujah - its finally working and sorted - follow the OVH links for a server on OVH.
I wish i had looked at the articles rather than following a youtube video where i shouldn't have configured pfSense by adding static routes etc. Plus the gateway was set incorrectly.
Kom and Awebster - really appreciate your help.