New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bird default multipath gw (ECMP) is not propagated to local kernel #4114
Comments
@misi Thank you! Your Felix PR is good, and I've approved it, but the BIRD config there is just by way of example. In order to fix this for actual Calico deployments, we need the same change at https://github.com/projectcalico/confd/blob/master/etc/calico/confd/templates/bird.cfg.template#L88 and https://github.com/projectcalico/confd/blob/master/etc/calico/confd/templates/bird6.cfg.template#L89. Would you like to submit a confd PR with those changes? |
@neiljerram Thanks! Sure. I will submit it. |
@neiljerram I added, and now it pass the CI test and so it is now waiting for a review. |
Fixed by projectcalico/confd#379 |
Expected Behavior
I advertise using BGP to the k8s nodes default GW from external Route Reflectors to nodes.
Calico receives it successfully I can see in calico node bird config, but it doesn't put multipath gw route into kernel table.
It puts only one path from the received multipath.
Current Behavior
Only one path is exported to the kernel from bird routing table.
Possible Solution
Add only one option to bird's config in kernel
merge paths on
e.g.
merge paths on; # Add multipath to route to kernel e.g. for ECMP egress
Add to /etc/calico/confd/templates/bird.cfg.template
Steps to Reproduce (for bugs)
Context
The goal is to ECMP loadbalance egress traffic between GW-s.
Your Environment
The text was updated successfully, but these errors were encountered: