Configuration OVS Bond + Internal ports (tagged/untagged)

cmonty14

Well-Known Member
Mar 4, 2014
343
5
58
Hi,

I have a Proxmox Server with a dual-port NIC. In order to multiple single port bandwith I want to define a bond on the server and VLAN link aggregation on switch.

I have this managed switch: D-Link DGS-1100-16.

There are several questions to be clarified:
- How can I identify which bond_mode in the context of OVS (Open vSwitch) is supported by the switch? balance-tcp or balance-slb?
- The port trunk group on switch consists of 2 ports; must I configure a dedicated VLAN for any port with a different network? If yes, which IP must I then define for the bond interface on the server?
Example:
Switch Port 1: vlan10 (192.168.10.1/32), Port 2: vlan20 (192.168.20.1/32)
Server: IP ?

THX
 
This is not proxmox specific. If you want to load balance with an hardware router you have to use OVS bond in LACP mode. I suspect the balance mode only effects how outgoing (server -> switch) is balanced. For inbound balancing you have to check the D-Link manual.

Usually, when having a trunk group, the 2 ports are configured identically (usually you can only configure the trunk group, and the ports automatically receives the same config). then, configure the port group as it were a single port (access port, trunk port, .... whatever you need on your proxmox server).