-
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
zebra, topotests: autorise nexthop interface labelled routes #15043
base: master
Are you sure you want to change the base?
zebra, topotests: autorise nexthop interface labelled routes #15043
Conversation
bb23d3f
to
21d4970
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add pytestmark for topotest file.
21d4970
to
2ff0980
Compare
done |
ci:rerun |
2ff0980
to
25b733c
Compare
ci:rerun |
25b733c
to
4be1606
Compare
Before it was a test, but now it's gone, or is this unintentional? |
When coming from staticd, some nexthop interface based routes should be able to add a label. This helps recursive routes to reuse the label. > interface eth0 > ip address 192.0.2.1/32 > ! > ip route 192.0.2.2/32 eth0 label 55 > ip route 172.31.0.0/24 192.0.2.2 > ip route 172.31.1.0/24 192.0.2.2 The nexthop interface route is a connected route with no next-hop, and the destination packets with DA=192.0.2.2/32 be sent with a broadcast DMAC. This will result in dropping those packets on the receiving router. However, the recursive routes will take the real MAC address of the 192.0.2.2 IP and the label 55 to forge outgoing packets going to the 172.31.0.0 or 172.31.1.0 sub-networks. Fixes: ("7fcb24bbaa91") zebra: reject routes without nexthops Link: FRRouting#10058 Signed-off-by: Philippe Guibert <[email protected]> Link: FRRouting#15043 Signed-off-by: Philippe Guibert <[email protected]>
4be1606
to
e5240fc
Compare
re-added it. this was a mistake from my side. |
e5240fc
to
94fb8f6
Compare
When coming from staticd, some nexthop interface based routes should be able to add a label. This helps recursive routes to reuse the label. > interface eth0 > ip address 192.0.2.1/32 > ! > ip route 192.0.2.2/32 eth0 label 55 > ip route 172.31.0.0/24 192.0.2.2 > ip route 172.31.1.0/24 192.0.2.2 The nexthop interface route is a connected route with no next-hop, and the destination packets with DA=192.0.2.2/32 be sent with a broadcast DMAC. This will result in dropping those packets on the receiving router. However, the recursive routes will take the real MAC address of the 192.0.2.2 IP and the label 55 to forge outgoing packets going to the 172.31.0.0 or 172.31.1.0 sub-networks. Fixes: ("7fcb24bbaa91") zebra: reject routes without nexthops Link: FRRouting#10058 Signed-off-by: Philippe Guibert <[email protected]> Conflicts: zebra/zapi_msg.c, minor, MPLS auto mode not present on upstream Link: FRRouting#15043 Signed-off-by: Philippe Guibert <[email protected]>
94fb8f6
to
e396ac2
Compare
When coming from staticd, some nexthop interface based routes should be able to add a label. This helps recursive routes to reuse the label. > interface eth0 > ip address 192.0.2.1/32 > ! > ip route 192.0.2.2/32 eth0 label 55 > ip route 172.31.0.0/24 192.0.2.2 > ip route 172.31.1.0/24 192.0.2.2 The nexthop interface route is a connected route with no next-hop, and the destination packets with DA=192.0.2.2/32 be sent with a broadcast DMAC. This will result in dropping those packets on the receiving router. However, the recursive routes will take the real MAC address of the 192.0.2.2 IP and the label 55 to forge outgoing packets going to the 172.31.0.0 or 172.31.1.0 sub-networks. Fixes: ("7fcb24bbaa91") zebra: reject routes without nexthops Link: FRRouting#10058 Signed-off-by: Philippe Guibert <[email protected]> Conflicts: zebra/zapi_msg.c, minor, MPLS auto mode not present on upstream Link: FRRouting#15043 Signed-off-by: Philippe Guibert <[email protected]>
e396ac2
to
04d3ec8
Compare
When coming from staticd, some nexthop interface based routes should be able to add a label. Following configuration can help: interface eth0 ip address 10.125.0.1/32 ! ip route 10.125.0.0/24 eth0 label 55 Fixes: ("7fcb24bbaa91") zebra: reject routes without nexthops Signed-off-by: Philippe Guibert <[email protected]>
When coming from staticd, some nexthop interface based routes should be able to add a label. This helps recursive routes to reuse the label. > interface eth0 > ip address 192.0.2.1/32 > ! > ip route 192.0.2.2/32 eth0 label 55 > ip route 172.31.0.0/24 192.0.2.2 > ip route 172.31.1.0/24 192.0.2.2 The nexthop interface route is a connected route with no next-hop, and the destination packets with DA=192.0.2.2/32 be sent with a broadcast DMAC. This will result in dropping those packets on the receiving router. However, the recursive routes will take the real MAC address of the 192.0.2.2 IP and the label 55 to forge outgoing packets going to the 172.31.0.0 or 172.31.1.0 sub-networks. Fixes: ("7fcb24bbaa91") zebra: reject routes without nexthops Link: FRRouting#10058 Signed-off-by: Philippe Guibert <[email protected]> Conflicts: zebra/zapi_msg.c, minor, MPLS auto mode not present on upstream Link: FRRouting#15043 Signed-off-by: Philippe Guibert <[email protected]>
04d3ec8
to
fe3a55f
Compare
This PR is stale because it has been open 180 days with no activity. Comment or remove the |
When coming from staticd, some nexthop interface based routes should be able to add a label. This helps recursive routes to reuse the label.
The nexthop interface route is a connected route with no next-hop, and the destination packets with DA=192.0.2.2/32 be sent with a broadcast DMAC. This will result in dropping those packets on the receiving router.
However, the recursive routes will take the real MAC address of the 192.0.2.2 IP and the label 55 to forge outgoing packets going to the 172.31.0.0 or 172.31.1.0 sub-networks.
Fixes: ("7fcb24bbaa91") zebra: reject routes without nexthops
Link: #10058