Hello!
For testing purposes, I have installed PVE (version 8) on the existing Ubuntu 20.04 , like KVM VM, and it works fine.
In PVE I run VM with Ubuntu 20.04.
Ping from PVE to VM and from VM to PVE working, but ping to other local network host(including gateway) and internet not.
proxmox: /etc/network/interfaces
iface lo inet loopback
iface enp1s0 inet manual
auto vmbr0
iface vmbr0 inet static
address 192.168.0.115/24
gateway 192.168.0.1
bridge-ports enp1s0
bridge-stp off
bridge-fd 0
ubuntu VM /etc/network/interfaces not exist,
ubuntu VM /etc/netplan/01-network-manager-all.yaml
network:
version: 2
renderer: NetworkManager
I edit ubuntu VM: /etc/netplan/01-network-manager-all.yaml:
network:
version: 2
renderer: NetworkManager
ethernets:
ens18:
dhcp4: no
addresses:
- 192.168.0.131/24
gateway4: 192.168.0.1
nameservers:
addresses: [192.168.0.1]
But it does not make any change.
Please help me!
Thanks.
For testing purposes, I have installed PVE (version 8) on the existing Ubuntu 20.04 , like KVM VM, and it works fine.
In PVE I run VM with Ubuntu 20.04.
Ping from PVE to VM and from VM to PVE working, but ping to other local network host(including gateway) and internet not.
proxmox: /etc/network/interfaces
iface lo inet loopback
iface enp1s0 inet manual
auto vmbr0
iface vmbr0 inet static
address 192.168.0.115/24
gateway 192.168.0.1
bridge-ports enp1s0
bridge-stp off
bridge-fd 0
ubuntu VM /etc/network/interfaces not exist,
ubuntu VM /etc/netplan/01-network-manager-all.yaml
network:
version: 2
renderer: NetworkManager
I edit ubuntu VM: /etc/netplan/01-network-manager-all.yaml:
network:
version: 2
renderer: NetworkManager
ethernets:
ens18:
dhcp4: no
addresses:
- 192.168.0.131/24
gateway4: 192.168.0.1
nameservers:
addresses: [192.168.0.1]
But it does not make any change.
Please help me!
Thanks.