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
However, it couldn't ping it since there is no internet.
Then I tried:
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.
And lastly the config file for the VM in case it helps:
I dont have much experience with networking, so I wanted to ask for some help on how I could go about this.
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
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.