Bonding NIC Issue

jcunix

New Member
Feb 2, 2024
6
0
1
Hi, I have a proxmox host with dual 10gb nics and I have bonded them. The question I have is, should an IP be assigned to the bonded nics in some way?

This is an output of my interfaces file:
Code:
auto lo
iface lo inet loopback

auto ens1f0
iface ens1f0 inet manual

iface ens1f0 inet manual

auto ens1f1
iface ens1f1 inet manual

iface ens1f1 inet manual

iface enp2s0 inet manual

iface enp0s31f6 inet manual

auto bond0
iface bond0 inet manual
        bond-slaves ens1f0 ens1f1
        bond-miimon 100
        bond-mode balance-rr

auto vmbr0
iface vmbr0 inet static
        address 10.0.0.218/24
        gateway 10.0.0.1
        bridge-ports bond0
        bridge-stp off
        bridge-fd 0
        bridge-vlan-aware yes
        bridge-vids 2-4094

source /etc/network/interfaces.d/*

Here is an output of ip r l:

Code:
ip r l
default via 10.0.0.1 dev vmbr0 proto kernel onlink
10.0.0.0/24 dev vmbr0 proto kernel scope link src 10.0.0.218

I've been running into what seems to be a routing issue on some vms. If I am misconfigured something, I would sincerely appreciate any guidance.
 
balance-rr constantly changes the sent interface, but maybe the destination or the next hop doesn't like that at all.

Personally, I would stay away from anything that is not 802.3ad.

How exactly do you come to the conclusion that you have a routing problem? Vague guess or do you have any "evidence" about it?
 
Well I got a no route to host when I attempted to telnet from the proxmox host to another vm on another host.

What would you suggest I change? Networking is not my strongest attribute by any means.
 
qm config 100
boot: order=scsi0;ide2;net0
cores: 8
cpu: x86-64-v2-AES
ide2: local:iso/ubuntu-22.04.3-live-server-amd64.iso,media=cdrom,size=2083390K
memory: 10000
meta: creation-qemu=8.1.2,ctime=1706586565
name: obi-wan
net0: virtio=BC:24:11:E2:51:AD,bridge=vmbr0,firewall=1
numa: 0
ostype: l26
scsi0: local-lvm-thin:vm-100-disk-0,iothread=1,size=100G
scsihw: virtio-scsi-single
smbios1: uuid=b54b20c9-ea52-41b6-b410-dc399ca35f46
sockets: 1
vmgenid: 5ddcc08f-e6c2-4141-a061-ba166099818a
 
2: ens18: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether bc:24:11:a8:1e:24 brd ff:ff:ff:ff:ff:ff
altname enp0s18
inet 10.0.0.204/24 brd 10.0.0.255 scope global ens18
valid_lft forever preferred_lft forever
inet6 fe80::be24:11ff:fea8:1e24/64 scope link
valid_lft forever preferred_lft forever
 
Have you configured the firewall correctly on the VM? Because you have activated it, your traffic may be blocked there.
 
I have the firewall turned off fully and wide open on iptables. That was the confusing part for me.

Does the bond need to be configured additionally or no?
 
Hi just thought I would follow up. I am still struggling with this, unfortunately..
 

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!