[SOLVED] Turns out I’m just a bigger moron than I thought. The MAC address of my server had accidentally been flagged in my router for black listing.
As the title says, my proxmox host is apparently not able to reach the internet anymore, not sure for how long this has been an issue, I rarely work on the host itself. It can ping other devices on my network just fine, and other devices can ping it. I can also SSH in to it and access the web interface. My VMs are connected to the internet without any issues. I don’t need to access the host remotely/outside my home network, this is just for updating it etc.
I can’t see the host under active devices in my router though.
I have been trying to figure why, but so far without any luck.
Check your gateway
It is set to my router IP
Can you ping 1.1.1.1?
no
What message are you seeing?
Nothing, and it just reports 100% packet loss when I terminate the ping command.
What is the output of
ip route
?
This really sounds like a problem with the default route. What’s the output of
ip route
? That should give us some hints about what’s up.this is the output of ip route.
192.168.68.1 is my router, 192.168.68.120 is the proxmox host
Cool. That looks right. Have you checked that the bridge is set up properly and that the router doesn’t have anything silly going on for that subnet?
PVE’s network settings are in
/etc/network/interfaces
and that’s where you can see how the bridge is set up.It might be beneficial to know more about your network. Is this the only subnet or do you have a bunch of VLANs? Can other devices on the subnet ping outbound? Have you looked at the firewall on PVE?
this is the contents of the interfaces file
I don’t have anythiung seperated in to different VLANs, and i only use this single subnet. all other devices can ping outbound without issues.
Sounds like potentially a DNS issue
This is what I’m thinking too, but I don’t know how to fix it.
Is the host configured with static IP or DHCP? Either way, verify it has the correct DNS config.
Personally I use static for any device that hosts a service.
What happens if you ping Yahoo.com from the console in Proxmox? It should show the DNS server IP it’s using for resolution.
It’s set to static, I also do that for anything that hosts something.
It won’t ping yahoo.com at all, it just reports 100% packet loss.
Edit: just realised that it won’t ping my gateway/router either. It’s pinging all other devices on my network just fine though.
If you can’t ping your gateway, then you have a problem with your interface configuration.
Do you need it to be on a specific VLAN or something else?
No i haven’t split anything in to separate VLANs
Try a traceroute to something like 9.9.9.9 and google’s IP. You’re able to resolve things ok. So, not DNS. Need to find out where the traffic is going to die.
Also, try a
curl https://google.com -vvv
. This should give some more info on what is happening to TCP traffic.this is the output when i run curl httpS://google.com -vvv