[SOLVED] I can't add linux bridge

Stolker

Member
Apr 10, 2020
12
0
6
37
Hello,

I've an issue on my server. I can't create an other linux bridge to have access on my LAN.
First bridge with the bridge port on my ethernet interfcae is OK. But for other bridge, the interface is down....all my network is down.

initial config :

Code:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback

# The normal eth0
allow-hotplug eth0
iface eth0 inet dhcp

# Additional interfaces, just in case we're using
# multiple networks
allow-hotplug eth1
iface eth1 inet dhcp

allow-hotplug eth2
iface eth2 inet dhcp

auto eno1
iface eno1 inet dhcp

When I add my first bridge :
Code:
auto lo
iface lo inet loopback

auto eno1
iface eno1 inet manual

auto vmbr0
iface vmbr0 inet static
        address 80.80.80.80/24
        gateway 80.80.80.254
        bridge-ports eno1
        bridge-stp off
        bridge-fd 0

It's OK, network is OK

But if I would like add a seconde bridge :
I don't have network

Code:
auto lo
iface lo inet loopback

auto eno1
iface eno1 inet manual

auto vmbr0
iface vmbr0 inet static
        address 80.80.80.80/24
        gateway 80.80.80.254
        bridge-ports eno1
        bridge-stp off
        bridge-fd 0

auto vmbr1
iface vmbr1 inet static
        address 10.0.0.1/30
        bridge-ports none
        bridge-stp off
        bridge-fd 0

Have you an idea to solved this issue ?

Excuse for my english....I french.
 
Last edited:
Salut @Stolker ,

on your 2nd bridge (vmbr1) there is not ethernet device which would be used by the bridge:


auto vmbr0
iface vmbr0 inet static
address 80.80.80.80/24
gateway 80.80.80.254
bridge-ports eno1
bridge-stp off
bridge-fd 0

auto vmbr1
iface vmbr1 inet static
address 10.0.0.1/30
bridge-ports none
bridge-stp off
bridge-fd 0
 
WAN <-----> [ vmbr0 ] Proxmox [ vmbr1 ] <-----> VM Pfsense <-----> [ vmbr2 ] <-----> VM

I wil make this schema. But when I create my second bridge, netwok is down.
 
@Stolker

do you use ifupdown2 ?

if yes, maybe it's ifupdown2 bug (but I don't have seen this before), or a kernel change.
but I'm unable to reproduce it on my side, it's working fine.


do you have only this at boot ? or does a "ifup vmbr1" is working ?

what is the ouput of #ip addr && #brctl show when it's not working ?


if you use ifupdown2, it's possible to enable debug log at boot
/etc/default/networking
Code:
# Change the below to yes if you want verbose logging to be enabled
VERBOSE="yes"

# Change the below to yes if you want debug logging to be enabled
DEBUG="yes"

# Change the below to yes if you want logging to go to syslog
SYSLOG="yes"
 
Last edited:
Yes I use ifupdown2 but I try without and I'm same issue.

I restart a fresh install of Debian 10 + install proxmox and try again.

For you, It possible to create my infra with this schema ?

I will have this infra :

proxmox-install_full-infra-diag[1].jpg

After have bridge are created I add route on my Proxmox.
 
Last edited:
Yes I use ifupdown2 but I try without and I'm same issue.

I restart a fresh install of Debian 10 + install proxmox and try again.

For you, It possible to create my infra with this schema ?

I will have this infra :

View attachment 25989

After have bridge are created I add route on my Proxmox.
nothing wrong here, it should work.

I still don't understand what is exactly your issue when you create vmbr1. when you say "all network is down", you don't have any access to your proxmox vmbr0 ip address ?
 
After reinstall
I edit my interface file :

Code:
auto lo
iface lo inet loopback

iface eth0 inet dhcp

iface eth1 inet dhcp

iface eth2 inet dhcp

auto eno1
iface eno1 inet dhcp

auto vmbr0
iface vmbr0 inet static
        address 80.80.80.80/24
        gateway 80.80.80.254
        bridge-ports eno1
        bridge-stp off
        bridge-fd 0

auto vmbr1
iface vmbr1 inet static
        address 192.168.0.1/30
        bridge-ports none
        bridge-stp off
        bridge-fd 0

auto vmbr2
iface vmbr2 inet static
        address 10.0.0.1/24
        bridge-ports none
        bridge-stp off
        bridge-fd 0

ifup vmbr1 > no output on my ssh session
I open an other session, check ip address :

Code:
root@proxmox:~# ip address
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
2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UP group default qlen 1000
    link/ether 70:54:d2:19:a7:3b brd ff:ff:ff:ff:ff:ff
3: vmbr1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN group default qlen 1000
    link/ether ba:58:54:7e:c5:a2 brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.1/30 scope global vmbr1
       valid_lft forever preferred_lft forever
4: vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 70:54:d2:19:a7:3b brd ff:ff:ff:ff:ff:ff
    inet 80.80.80.80/24 scope global vmbr0
       valid_lft forever preferred_lft forever
5: vmbr2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN group default qlen 1000
    link/ether 8e:a8:85:4f:ce:f1 brd ff:ff:ff:ff:ff:ff
    inet 10.0.0.1/24 scope global vmbr2
       valid_lft forever preferred_lft forever

All is ok on proxmox.
I restart the server
 
Last edited:
After restart PING ok
But I can't connect on with ssh and the webpage is unreachable

No access to the console. I can't check if is there a message...
 
Last edited:
When I try to install Proxmox on second server :
On boot I've a timeout 20mn :mad:
A start job is running for Raise network interface (1min / 20 min 3s)
.....
 
ifup vmbr1 > no output on my ssh session
I open an other session, check ip address :
the ip addrr output seem to be correct

but about the /etc/network/interfaces, you should change

"iface eno1 inet dhcp" to "iface eno1 inet manual",

if you have an interface inside a bridge, you can't have ip address on this interface.

and remove other "iface ethx inet dhcp"

Code:
auto lo
iface lo inet loopback

auto eno1
iface eno1 inet manual

auto vmbr0
iface vmbr0 inet static
        address 80.80.80.80/24
        gateway 80.80.80.254
        bridge-ports eno1
        bridge-stp off
        bridge-fd 0

auto vmbr1
iface vmbr1 inet static
        address 192.168.0.1/30
        bridge-ports none
        bridge-stp off
        bridge-fd 0

auto vmbr2
iface vmbr2 inet static
        address 10.0.0.1/24
        bridge-ports none
        bridge-stp off
        bridge-fd 0


After restart PING ok
But I can't connect on with ssh and the webpage is unreachable
No access to the console. I can't check if is there a message...
if ping is working, this is strange than ssh it's not working.
(or maybe ssh service has not be launched, because of hanging network service)


do you have a local access to the server ? (or via ipmi/remote local console).
 
Last edited:

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!