frr icon indicating copy to clipboard operation
frr copied to clipboard

Routing attributes is not setting from static route

Open ne-vlezay80 opened this issue 5 months ago • 4 comments

Description

Routing attributes is not settings from static route from route map.

Version

10.2.2

How to reproduce

  1. Run:
conf t
ip route 10.0.0.0/8 192.168.179.1
  1. Run:
route-map src4 permit 1
 set src 8.8.8.8
ip protocol static route-map src4

Expected behavior

Set prefsrc from routes with route-map

Actual behavior

Routes attribute is not set from routes to route-map

Additional context

If killing staticd from:

kill $(ps ax|grep /staticd|grep -v grep|awk '{print $1}')

Attributes is set normally.

Checklist

  • [x] I have searched the open issues for this bug.
  • [x] I have not included sensitive information in this report.

ne-vlezay80 avatar Jun 08 '25 20:06 ne-vlezay80

What's the ip route show 10.0.0.0/8 command give us from the linux command line?

donaldsharp avatar Jun 10 '25 13:06 donaldsharp

what if you reverse the order of the two config actions: configure the map first, then configure the route?

mjstapp avatar Jun 10 '25 13:06 mjstapp

what if you reverse the order of the two config actions: configure the map first, then configure the route?

  1. Configuring static route
  2. Configuring route map
  3. Attach the route map from static protocol

ne-vlezay80 avatar Jun 10 '25 20:06 ne-vlezay80

hmm - I didn't really understand your reply. try configuring the routemap first, and then add the static route.

what if you reverse the order of the two config actions: configure the map first, then configure the route?

1. Configuring static route

2. Configuring route map

3. Attach the route map from static protocol

mjstapp avatar Jun 10 '25 20:06 mjstapp