Error while adding multiple ports in bridge

Abhimnyu

New Member
Jan 7, 2019
9
1
1
33
Hi i have proxmox node where i want to add multiple network ports in bridge, while adding the ports it work fine with three port but after adding fourth port the server network stops responding.

Adding 4 fiber ports in bridge first two ports from NIC-1 and other two ports are from NIC-2

checked by physical console bellow messages are found in "dmesg". Please suggest

[ 20.767539] vmbr0: received packet on enp94s0f1 with own address as source address (addr:34:80:0d:7d:5a:28, vlan:0)
[ 20.767541] vmbr0: received packet on enp94s0f0 with own address as source address (addr:34:80:0d:7d:5a:28, vlan:0)


This is my /etc/network/interfaces

auto vmbr0
iface vmbr0 inet static
address 192.168.0.20
netmask 255.255.255.0
gateway 192.168.0.1
bridge_ports enp24s0f0 enp24s0f1 enp94s0f0 enp94s0f1
bridge_stp off
bridge_fd 0


Thank you.
 
Where do the ports connect to?
What do you want to achieve?
Would a bond possibly be the way to go?
 
Where do the ports connect to?
What do you want to achieve?
Would a bond possibly be the way to go?


Thanks for your quick reply.

1. These pors are connected to the switch.
2. I want to use one IP for all four network port it's for HA
3. Bond can be possibly way to go but I don't know how ?

Can I use bond in vmbr0 without configuring vlan ?
 
Well, in that case you need to use a bond because now you created, as @spirit mentioned, a loop.
You can select the bond interface as bridge port for the vmbr.

Make sure to select a bond mode that your switch supports.
Do you have one or two switches? Two stacked switches would be needed to not have a single point of failure there.
 
Thank you arron,

Yes i have two switches. i have configured the Bond and Bridge as bellow & it worked for me.

auto bond0
iface bond0 inet manual
slaves enp24s0f0 enp24s0f1 enp94s0f0 enp94s0f1
bond_miimon 100
bond_mode 802.3ad
bond_xmit_hash_policy layer2+3
#CephProxMngmtBond

auto vmbr0
iface vmbr0 inet static
address 192.168.0.20
netmask 255.255.255.0
gateway 192.168.0.1
bridge_ports bond0
bridge_stp off
bridge_fd 0
#CephProxMngmt
 
  • Like
Reactions: mikeinnyc

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!