[SOLVED] Ubuntu Server VM Lost internet Access while other VMs are fine

DezertH

New Member
Dec 26, 2021
3
0
1
26
Hi so I have an ubuntu server VM and it seems to have randomly lost internet access.
My first thing to try was to just ping 8.8.8.8 using ping 8.8.8.8 :)
However, it couldn't ping it since there is no internet.

Then I tried: ip -c link
Down.png
As you can see, the 2nd interface is down.

Here is also my network interfaces config file(nano /etc/network/interfaces), I never touched it so its all default.
auto lo iface lo inet loopback iface enp0s31f6 inet manual auto vmbr0 iface vmbr0 inet static address 192.168.1.5/24 gateway 192.168.1.1 bridge-ports enp0s31f6 bridge-stp off bridge-fd 0

And lastly the config file for the VM in case it helps:
boot: order=scsi0;ide2;net0 cores: 4 cpu: host,hidden=1 hostpci0: 0000:01:00,pcie=1 ide2: none,media=cdrom machine: q35 memory: 6144 meta: creation-qemu=6.1.0,ctime=1639677378 name: Plex-P620 net0: virtio=5A:A7:9A:D6:8F:C2,bridge=vmbr0,firewall=1 numa: 0 ostype: l26 scsi0: local:101/vm-101-disk-0.qcow2,size=25G scsihw: virtio-scsi-pci smbios1: uuid=1d7f2a4b-2c15-4582-9f07-5a3e862b4c87 sockets: 1 vmgenid: be47ea62-514f-4812-987c-a2f3da836a6f

I dont have much experience with networking, so I wanted to ask for some help on how I could go about this.
 
Hi,

the network interface name is different in your config, please change the config file to be:

Code:
auto lo
iface lo inet loopback

iface enp0s31f6 inet manual

auto vmbr0
iface vmbr0 inet static
        address 192.168.1.5/24
        gateway 192.168.1.1
        bridge-ports enp6s18
        bridge-stp off
        bridge-fd 0

instead of "bridge-ports enp0s31f6"
 
Hi,

the network interface name is different in your config, please change the config file to be:

Code:
auto lo
iface lo inet loopback

iface enp0s31f6 inet manual

auto vmbr0
iface vmbr0 inet static
        address 192.168.1.5/24
        gateway 192.168.1.1
        bridge-ports enp6s18
        bridge-stp off
        bridge-fd 0

instead of "bridge-ports enp0s31f6"
Oh sorry I forgot to mention that the network interfaces file was for PVE and not the VM, Doing that killed the internet access for all my vms.
After doing some reading my understanding is that the VM should have its own internet config file too but I cant seem to find it.

I tried looking for /etc/netplan/config.yaml and /etc/netplan/interfaces and /etc/network/interfaces.
 
As much as I didnt find the solution to the problem. I did pin point the problem, it is using q35. At this point I scrapped the machine. To make it work on a different VM, I used OMVF bios instead Seabios. Q35 Doesnt seem to like to play with Seabios at least on my machine.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!