Network breaks when I add Linux bridge

ffv

New Member
Sep 4, 2021
2
0
1
32
Hello everyone,

I'm trying to create a Linux bridge in Proxmox 7 but facing the below error.

Code:
iface eth0 - ip address can't be set on interface if bridged in vmbr0 (500)

firefox-fm6ven-Kj-Vh.png




Code:
cat /etc/network/interfaces #without vmbr0

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
address my.ipv4
netmask 255.255.255.192
gateway gateway.ipv4

If I add vmbr0, network breaks (especially when I bridge vmbr0 with eth0).

Code:
auto vmbr0
iface vmbr0 inet static
 address my.ipv4
 netmask 255.255.255.192
 bridge_ports eth0
 bridge_stp off
 bridge_fd 0

Anybody have any idea what I'm doing wrong?

Thanks.

Edit: solved!

Code:
auto vmbr0
iface vmbr0 inet static
    address 192.168.255.1/24 # changed my.ipv4 to internal sub
    bridge-ports none
    bridge-stp off
    bridge-fd 0
 
Last edited: