Proxmox says my bridge is up but the VM's claim the network interface tied to the bridge is down. What did i screw up?

anderstn

Member
Dec 22, 2020
23
0
6
35
Hi
I recently installed a new 10gb nic in my server and wanted to run all VM's through it and keep the onboard interface for the proxmox web-ui only. To do this I added a new bridge and tied the VirtIO adapters my virtual machines were using to this new bridge. Proxmox says the bridge is up, the switch says tehre is a link, but all the VM's claim the interface is down. What did I do wrong?

Proxmox configuration:
1680215092476.png

The interface attached to one of my VM's:
1680215148826.png
The output from "nmcli device status" inside the VM (running Centos):
1680215197216.png
Verified that this is the correct interface:
1680215316215.png
 
Last edited:
HI,
according to the nmcli output you posted there is a connection available. Have you tried to bring the connection up by running nmcli con up ens18, which will try to connect using the best available connection for that interface.
 
  • Like
Reactions: anderstn
HI,
according to the nmcli output you posted there is a connection available. Have you tried to bring the connection up by running nmcli con up ens18, which will try to connect using the best available connection for that interface.
I'll give it a go when I get back home, but I think the system tried to bring up the connection before it went down. As I am new to virtual switches is it common if a connection is available but no IP is forthcoming via DHCP for the client, in this case CentOS, to essentially list a VirtIO adapter as down?
 
Last edited:
I'll give it a go when I get back home, but I think the system tried to bring up the connection before it went down. As I am new to virtual switches is it common if a connection is available but no IP is forthcoming via DHCP for the client, in this case CentOS, to essentially list a VirtIO adapter as down?
If there is no DHCP server you will have to manually configure an IP address, yes. For how to do that with nmcli, i assume the redhat docs are a good reference, see https://access.redhat.com/documenta...uide/sec-configuring_ip_networking_with_nmcli
Otherwise you can use nmtui if available, which allows for a more interactive setup.
 
If there is no DHCP server you will have to manually configure an IP address, yes. For how to do that with nmcli, i assume the redhat docs are a good reference, see https://access.redhat.com/documenta...uide/sec-configuring_ip_networking_with_nmcli
Otherwise you can use nmtui if available, which allows for a more interactive setup.
There is DHCP on the network. It works just fine through vmbr0 which is connected to the same switch via the 1gb nic integrated on the motherboard. That said if setting a static IP forces the interface to be up I can always try that as well =)
 
There is DHCP on the network. It works just fine through vmbr0 which is connected to the same switch via the 1gb nic integrated on the motherboard. That said if setting a static IP forces the interface to be up I can always try that as well =)
Well, setting a static IP will not "force" it to be active, you still need to bring up the interface in that case ;).
For a correct dhcp setup using nmcli, see https://access.redhat.com/documenta...sec-comparing_static_to_dynamic_ip_addressing