-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
BMP sending withdrawal messages both when route added or removed #18070
Comments
@slashdoom , can you retry to do the procedure by ensuring that the nexthop tracking are completely resolved ? When a BGP update whose nexthop is unresolved, what happens is that BMP sends a post-policy withdraw message. Is it related to what you observe? |
Hi @pguibert6WIND, thanks for taking a look here. I don't believe this is what I'm observing. Since I only have Here is the procedure retry with some timestamps... 1. router1 - BGP nexthop starting state
2. router2 - Shutting interface
3. router1 - Re-check BGP nexthop
First BMP Update PCAP 4. router2 - No shutting interface
5. router1 - Re-check BGP nexthop
Second BMP Update PCAP |
I used the same similar config with the bmp collector provided in the topotest, and I could not observe the issue. |
I've been using the docker images. I've tried... |
not reproduced by using frr: 10.2.1. ( I rebuilt outside of docker)
|
Description
Say router1 has bmp configured to OpenBMP. It's also connected to and has eBGP peered with router2. When I shut an interface on router2, I see a BMP UPDATE with withdrawal data as expected. When I do a no shut on the interface on router2, the route is re-added to router1 but router1 sends another BMP UPDATE with withdrawal data rather than an UPDATE with advertise.
The first update is the shut/remove router, the second, highlighted, is the the no shut/add route.
Version
How to reproduce
ROUTER1
ROUTER2
STEPS
shut and no shut eth 1 - 3 on router2 while packet capturing eth0 on router1 for BMP traffic.
Expected behavior
Expected to see a BMP UPDATE advertise route.
Actual behavior
Received a second BMP UPDATE withdrawal route.
Additional context
Beyond the packet capture, the was first noticed observing the OpenBMP messages. We saw action del both when the route was added and removed.
Checklist
The text was updated successfully, but these errors were encountered: