I've searched for hours and hours in threads trying to figure out why a newly made Ubuntu 20.4 VM can't ping even its host.
Proxmox host interfaces file, for two ethernet NICs bonded together:
The VM is Ubuntu 20.4 and using netplan, which I believe means the netplan config supersedes the interfaces file. Here's the netplan config:
Host can ping just fine the gateway (192.168.1.1) and google.com
VM can ping itself (192.168.1.101), but NOT the host (192.168.1.100) or anything else.
What am I missing?
Proxmox host interfaces file, for two ethernet NICs bonded together:
Code:
auto lo
iface lo inet loopback
iface eno1 inet manual
iface eno2 inet manual
auto bond0
iface bond0 inet manual
bond-slaves eno1 eno2
bond-miimon 100
bond-mode 802.3ad
auto vmbr0
iface vmbr0 inet static
address 192.168.1.100/24
gateway 192.168.1.1
bridge-ports bond0
bridge-stp off
bridge-fd 0
The VM is Ubuntu 20.4 and using netplan, which I believe means the netplan config supersedes the interfaces file. Here's the netplan config:
Code:
network:
version: 2
renderer: networkd
ethernets:
ens18:
dhcp4: no
addresses: [192.168.1.101/24]
gateway4: 192.168.1.1
nameservers:
addresses: [8.8.8.8]
dhcp6: no
Host can ping just fine the gateway (192.168.1.1) and google.com
VM can ping itself (192.168.1.101), but NOT the host (192.168.1.100) or anything else.
What am I missing?