No ethernet in VM

user21

New Member
Dec 6, 2023
5
0
1
Hi today i updated proxmox after it i nas no ethernet in all VM's.
Code:
user@pve:~$ ip a
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 noprefixroute
       valid_lft forever preferred_lft forever
2: enp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UP group default qlen 1000
    link/ether  brd ff:ff:ff:ff:ff:ff
3: enp2s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
    link/ether e4:3a:6e:61:ed:87 brd ff:ff:ff:ff:ff:ff
4: wlp3s0b1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether  brd ff:ff:ff:ff:ff:ff
5: vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether  brd ff:ff:ff:ff:ff:ff
    inet 192.168.31.13/24 scope global vmbr0
       valid_lft forever preferred_lft forever
    inet6 fe80::e63a:6eff:fe61:ed86/64 scope link
       valid_lft forever preferred_lft forever
6: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default
    link/ether 02:42:ea:26:62:6a brd ff:ff:ff:ff:ff:ff
    inet 172.17.0.1/16 brd 172.17.255.255 scope global docker0
       valid_lft forever preferred_lft forever
7: tap100i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master fwbr100i0 state UNKNOWN group default qlen 1000
    link/ether  brd ff:ff:ff:ff:ff:ff
8: fwbr100i0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether  brd ff:ff:ff:ff:ff:ff
9: fwpr100p0@fwln100i0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master vmbr0 state UP group default qlen 1000
    link/ether  brd ff:ff:ff:ff:ff:ff
10: fwln100i0@fwpr100p0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master fwbr100i0 state UP group default qlen 1000
    link/ether  brd ff:ff:ff:ff:ff:ff
11: tap102i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master fwbr102i0 state UNKNOWN group default qlen 1000
    link/ether brd ff:ff:ff:ff:ff:ff
12: fwbr102i0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether  brd ff:ff:ff:ff:ff:ff
13: fwpr102p0@fwln102i0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master vmbr0 state UP group default qlen 1000
    link/ether brd ff:ff:ff:ff:ff:ff
14: fwln102i0@fwpr102p0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master fwbr102i0 state UP group default qlen 1000
    link/ether  brd ff:ff:ff:ff:ff:ff

Code:
user@pve:~$ cat /etc/network/interfaces
# network interface settings; autogenerated
# Please do NOT modify this file directly, unless you know what
# you're doing.
#
# If you want to manage parts of the network configuration manually,
# please utilize the 'source' or 'source-directory' directives to do
# so.
# PVE will preserve these directives, but will NOT read its network
# configuration from sourced files, so do not attempt to move any of
# the PVE managed interfaces into external files!

auto lo
iface lo inet loopback

auto enp1s0
iface enp1s0 inet manual

auto enp2s0
iface enp2s0 inet manual

auto vmbr0
iface vmbr0 inet static
        address 192.168.31.13/24
        gateway 192.168.31.1
        bridge-ports enp1s0
        bridge-stp off
        bridge-fd 0

iface wlp3s0b1 inet manual
 
Last edited:
Hi,
please specify what exactly is not working, from the above outputs it seems that on the Proxmox VE host the bridge is up and the interfaces connected to it. Here are a few things you can test:
  • Do you see the interface in the VMs?
  • Is an IP address assigned to the interface, is it in the same subnet as the host and gateway?
  • Can you ping the PVE host, can you reach the gateway?
  • Do you have DNS servers configured in the VM, does host name resolution work?
  • Do you have possible firewall rules blocking the traffic?
 
Hi,
please specify what exactly is not working, from the above outputs it seems that on the Proxmox VE host the bridge is up and the interfaces connected to it. Here are a few things you can test:
  • Do you see the interface in the VMs?
  • Is an IP address assigned to the interface, is it in the same subnet as the host and gateway?
  • Can you ping the PVE host, can you reach the gateway?
  • Do you have DNS servers configured in the VM, does host name resolution work?
  • Do you have possible firewall rules blocking the traffic?
I can't remote acess to the VM like ssh or web interface.
For test i create an new VM whe the debian have configure the ethernet acess i cant see the pic:
1701872105105.png
Previously, VM received DHCP settings automatically without problems
1) Yes
2) Yes. Yes.
3) PVE host work OK. Have ethernet.
4) I dont know. Before today it works OK.
5) No.
 
1)1701873188995.png
I can't ping router from VM.


2) PING 192.168.31.10 (192.168.31.10): 56 data bytes

--- 192.168.31.10 ping statistics ---
5 packets transmitted, 0 packets received, 100% packet loss

I can't ping the VM from router.


3) I can ping the VM from PVM
user@pve:~$ ping 192.168.31.10
PING 192.168.31.10 (192.168.31.10) 56(84) bytes of data.
64 bytes from 192.168.31.10: icmp_seq=1 ttl=64 time=0.328 ms
64 bytes from 192.168.31.10: icmp_seq=2 ttl=64 time=0.239 ms
64 bytes from 192.168.31.10: icmp_seq=3 ttl=64 time=0.331 ms
^C
--- 192.168.31.10 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2055ms
rtt min/avg/max/mdev = 0.239/0.299/0.331/0.042 ms
 

Attachments

  • 1701873326564.png
    1701873326564.png
    194.1 KB · Views: 4
I just installed today docker in PVE host - it was the error. I just full purge the docker and reboot. It wors ok. Thx!
 

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!