Closed jstangroome closed 4 years ago
However, I'd like to have glb-director-xdp handling traffic from both underlying nics. Is there a way to configure this?
Yes! We are doing exactly this, you can bring up the xdp-root-shim
once for each NIC and then add the --xdp-root-path
command line option twice to bind to both interfaces at the same time:
GLB_DIRECTOR_XDP_ROOT_PATHS="--xdp-root-path=/sys/fs/bpf/xdp_root_array@enp0s20f0 --xdp-root-path=/sys/fs/bpf/xdp_root_array@enp0sblah"
Apologies that the documentation is pretty lacking for the XDP version - it's still under development and I'll be making a pass over it soon to make it more complete in terms of monitoring & documentation.
This works exactly as described. Closing.
I have successfully deployed glb-director-xdp v1.0.6 on a Debian 10 server (a
t1.small/x86
instance from Packet).Packet servers have bonded nics:
I initially tried using the
xdp-root-shim@bond0
service with/etc/default/glb-director-xdp
containing:with no success.
Then I tried configuring xdp on the underlying nic instead of
bond0
via:And this works.
However, I'd like to have glb-director-xdp handling traffic from both underlying nics. Is there a way to configure this?