Is it possible to create a VLAN interface on top of a LACP interface (bonded) running on top of VPP?
Here is the VPP configuration
VPP Configuration
interfaces {
bonding bond0 {
member {
interface eth2
interface eth3
}
mode 802.3ad
}
}
settings {
interface eth2 {
driver dpdk
}
interface eth3 {
driver dpdk
}
}
Interface configuration
Summary
bonding bond0 {
member {
interface eth2
interface eth3
}
vif 2932 {
address xxx.xxx.6.99/29
vrf Gwan
}
}
dummy dum1 {
address xxx.xxx.0.6/32
vrf Gwan
}
ethernet eth0 {
address xxx.xxx.10.23/24
hw-id xx:xx:xx:xx:xx:cc
offload {
gro
gso
sg
tso
}
vrf management
}
ethernet eth1 {
hw-id xx:xx:xx:xx:xx:cd
offload {
gro
gso
sg
tso
}
}
ethernet eth2 {
hw-id xx:xx:xx:xx:xx:00
mtu 9000
}
ethernet eth3 {
hw-id xx:xx:xx:xx:xx:01
mtu 9000
}
loopback lo {
}
I’m trying to ping .97 from .99 that is within the same subnet as vif2932. This works without VPP but not if the interface is configured in VPP mode (DPDK).
The bond interface shows up in the vpp interfaces list, but not the vif-interface and there is no tap-interface for the Vyos machine to use.
show vpp interfaces
$ show vpp interfaces
Kernel Dataplane Type IP Address MAC MTU State
-------- ------------- ------ ------------ ----------------- ----- -------
BondEthernet0 bond xx:xx:xx:xx:xx:00 9000 up
eth2 dpdk xx:xx:xx:xx:xx:11 1500 up
eth3 dpdk xx:xx:xx:xx:xx:11 1500 up
local0 local xx:xx:xx:xx:xx:00 0 down
eth2 tap4096 virtio xx:xx:xx:xx:xx:a5 9000 up
eth3 tap4097 virtio xx:xx:xx:xx:xx:b3 9000 up
show interfaces
Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down
Interface IP Address MAC VRF MTU S/L Description
----------- --------------- ----------------- ---------- ----- ----- -------------
bond0 - xx:xx:xx:xx:xx:11 default 1500 u/u
bond0.2932 xxx.xxx.6.99/29 xx:xx:xx:xx:xx:11 Gwan 1500 u/u
dum1 xxx.xxx.0.6/32 xx:xx:xx:xx:xx:d0 Gwan 1500 u/u
eth0 xxx.xxx.10.23/24 xx:xx:xx:xx:xx:cc management 1500 u/u
eth1 - xx:xx:xx:xx:xx:cd default 1500 u/u
eth2 - xx:xx:xx:xx:xx:11 default 1500 u/u
eth3 - xx:xx:xx:xx:xx:11 default 1500 u/u
lo xxx.xxx.0.1/8 xx:xx:xx:xx:xx:00 default 65536 u/u
::1/128
Am I doing something wrong or is this unsupported?
Version: VyOS 2025.04.21-0020-rolling
NIC: Mellanox Connect-X 4
Thanks!