I'm trying to diagnose how/why the Proxmox VE 5.4 host does not have internet but the VMs do.
As a secondary issue, the host keeps deleting /etc/resolv.conf every time I reboot...
If I manually create resolv.conf the internet still doesn't work:
Some more debugging info, not sure if it's relevant or not...
Thankyou to any expert looking at this
As a secondary issue, the host keeps deleting /etc/resolv.conf every time I reboot...
Code:
$ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UP group default qlen 1000
link/ether 1c:69:7a:01:28:f5 brd ff:ff:ff:ff:ff:ff
3: wlp0s20f3: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
link/ether da:d9:80:e7:e4:39 brd ff:ff:ff:ff:ff:ff
4: vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 1c:69:7a:01:28:f5 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.45/24 brd 192.168.1.255 scope global vmbr0
valid_lft forever preferred_lft forever
inet6 fe80::1e69:7aff:fe01:28f5/64 scope link
valid_lft forever preferred_lft forever
Code:
$ ls -al /etc/resolv.conf
lrwxrwxrwx 1 root root 35 Jun 17 20:36 /etc/resolv.conf -> /var/run/NetworkManager/resolv.conf
$ sudo cat /var/run/NetworkManager/resolv.conf
cat: /var/run/NetworkManager/resolv.conf: No such file or directory
If I manually create resolv.conf the internet still doesn't work:
Code:
$ ping google.com
connect: Network is unreachable
Some more debugging info, not sure if it's relevant or not...
Code:
$ ip route
192.168.1.0/24 dev vmbr0 proto kernel scope link src 192.168.1.45
$ cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
auto eno1
iface eno1 inet static
auto vmbr0
iface vmbr0 inet static
address 192.168.1.45
netmask 255.255.255.0
bridge_ports eno1
bridge_stp off
bridge_fd 0
$ traceroute 8.8.8.8
traceroute to 8.8.8.8 (8.8.8.8), 30 hops max, 60 byte packets
connect: Network is unreachable
Thankyou to any expert looking at this