[SOLVED] Problem with no linux bridge

Tim1

Member
May 5, 2022
55
1
6
Hello together,

I added a new nvme to proxmox.
The Interface was renamed.

But now I have this configuration and no linux bridge.
I don't know at the moment how to fix the Problem.

Shell shows this:

auto lo
iface lo inet loopback

auto enp3s0
iface enp3s0 inet static
address 192.168.178.48/24
gateway 192.168.178.1
bridge_ports enp2s0
bridge_stp off

Gui show this:

1680165686291.png


Can someone help?
 
You have to change this line as well.

Then do ifreload -a command.
Sure?

Output

root@pve:~# ifreload -a
warning: enp3s0: <bridge.bridge object at 0x7ff2b7445460>: error getting dependent interfaces (misconfiguration of bridge attribute(s) on existing non-bridge interface (enp3s0))
warning: enp3s0: <bridge.bridge object at 0x7ff2b7445460>: error getting dependent interfaces (misconfiguration of bridge attribute(s) on existing non-bridge interface (enp3s0))
warning: enp3s0: invalid use of bridge attribute (bridge-ports) on non-bridge stanza
warning: enp3s0: invalid use of bridge attribute (bridge-stp) on non-bridge stanza
 
May you post the output of the ip a command the current network configuration as well cat /etc/network/interfaces?
 
May you post the output of the ip a command the current network configuration as well cat /etc/network/interfaces?
root@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
valid_lft forever preferred_lft forever
2: enp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether a8:a1:59:66:4f:c3 brd ff:ff:ff:ff:ff:ff
inet 192.168.178.48/24 scope global enp3s0
valid_lft forever preferred_lft forever
inet6 2003:c4:ff3d:d000:aaa1:59ff:fe66:4fc3/64 scope global dynamic mngtmpaddr
valid_lft 6960sec preferred_lft 1559sec
inet6 fe80::aaa1:59ff:fe66:4fc3/64 scope link
valid_lft forever preferred_lft forever
root@pve:~#


Interface:

auto lo
iface lo inet loopback

auto enp3s0
iface enp3s0 inet static
address 192.168.178.48/24
gateway 192.168.178.1
bridge_ports enp3s0
bridge_stp off
 
Last edited:
Thank you for the output!

Your network config is missing this line `iface enp3s0 inet manual` i.e. your network configuration should look like the following:

Code:
auto lo
iface lo inet loopback




iface enp3s0 inet manual




auto enp3s0
iface enp3s0 inet static
address 192.168.178.48/24
gateway 192.168.178.1
bridge_ports enp3s0
bridge_stp off

See https://pve.proxmox.com/pve-docs/pve-admin-guide.html#_default_configuration_using_a_bridge
I added, but also Errors here.

root@pve:~# ifreload -a
warning: enp3s0: <bridge.bridge object at 0x7f4d134ee460>: error getting dependent interfaces (misconfiguration of bridge attribute(s) on existing non-bridge interface (enp3s0))
warning: enp3s0: <bridge.bridge object at 0x7f4d134ee460>: error getting dependent interfaces (misconfiguration of bridge attribute(s) on existing non-bridge interface (enp3s0))
warning: enp3s0: invalid use of bridge attribute (bridge-ports) on non-bridge stanza
warning: enp3s0: invalid use of bridge attribute (bridge-stp) on non-bridge stanza
root@pve:~#