[SOLVED] New NIC, no webGUI access if the cable is not connected to the old one

Jabberwock

New Member
Sep 1, 2023
3
1
3
I have a problem with my ProxMox server: it has a built-in 1 gigabit card, so I installed a 2.5 one.
It works, but I cannot access to webGUI anymore if I have no cable connected to the built-in card (but guests are visible on the network: they are connected to the 2.5G card bridge).
I tried to assign a different IP address and I can access to webGUI using both IPs, but, as before, only if both cable are connected: as I disconnect the one connected to the built-in gigabit card, I cannot access to webGUI on the second NIC too.

Any ideas?
THX.

Here my /etc/network/interfaces

auto lo
iface lo inet loopback

iface eno1 inet manual
#built-in Gigabit

iface enp6s0 inet manual
#2.5 gigabit

auto vmbr0
iface vmbr0 inet static
address 192.168.0.254/24
gateway 192.168.0.1
bridge-ports eno1
bridge-stp off
bridge-fd 0
#Built-in Gigabit bridge

auto vmbr1
iface vmbr1 inet manual
bridge-ports enp6s0
bridge-stp off
bridge-fd 0
#2.5 gigabit bridge
 
Last edited:
Also keep in mind that you shouldn't give a host two IP adresses of the same subnet and also not two gateways.
So you need to decide if you want to use the 2,5Gbit NIC OR the 1Gbit NIC.
Choose one and set the IP and gateway there.
 
Also keep in mind that you shouldn't give a host two IP adresses of the same subnet and also not two gateways.
So you need to decide if you want to use the 2,5Gbit NIC OR the 1Gbit NIC.
Choose one and set the IP and gateway there.

Thank you for your reply.
That is the actual configuration, but I tried to set an IP for vmbr1 (192.168.0.253) before posting. I could access to PVE on both IP but only if I had a cable connected to vmbr0; without, I could not access on vmbr1 too (obviusly, the cable on vmbr1 was alway connected). I tried switching the gateway on vmbr1, but nothing changed: I could access on both IPs with both cables connected, I could access on vmbr0 IP even with vmbr1 cable not connected, I could not access with vmbr1 cable connected, but vmbr0 one disconnected.

I'd like to use only the 2,5Gbit NIC: I'll try to set IP and gateway on vmbr1 only.
 
I'd like to use only the 2,5Gbit NIC

Then, why not simply change the: bridge-ports for: vmbr0 from: eno1 to: enp6s0?

Also, it can not hurt to make (again) sure with e.g.: ip a, that: enp6s0 is still the right name.

PS.: If not already done, better have a physical monitor and keyboard connected or IPMI present while doing all of this.
 
Then, why not simply change the: bridge-ports for: vmbr0 from: eno1 to: enp6s0?

Also, it can not hurt to make (again) sure with e.g.: ip a, that: enp6s0 is still the right name.

PS.: If not already done, better have a physical monitor and keyboard connected or IPMI present while doing all of this.

I didn't think it. I set all VMs' network devices on vmbr0, delete vmbr1, swap eno1 with enp6s0 and now it works.
Thanks!
 
  • Like
Reactions: Neobin

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!