frr icon indicating copy to clipboard operation
frr copied to clipboard

staticd: Feature request to add support for local routes

Open asdfjkluiop opened this issue 1 year ago • 6 comments

frr currently does not have the ability to add local routes, it can add routes to the local table but has no equivalent of ip route add local 2001:db8::/32 dev lo which allows for entire ranges to be responded to by the host in question. This is a short fall I currently work around with using bash scripts but it would be nice if staticd had native support for it.

asdfjkluiop avatar Nov 22 '24 04:11 asdfjkluiop

Why not just add a ip addr 2001:db8::X/32 under lo? What is your actual use case?

donaldsharp avatar Nov 26 '24 16:11 donaldsharp

It allows for entire ranges to be bound to services as I noted originally. I often bind services to different IPs with each server getting a /64. All of my servers have non-local binding enabled often using IP instead of port to identify services so all services can use a well known port. In other instances I have services bound to wildcard and the IP for a given service is dynamically assigned by the service itself, it's impractical to add every IP the server should respond to to the loopback interface by hand when all that's know during server provisioning is the IP is somewhere in 2001:db8::/64

asdfjkluiop avatar Nov 27 '24 00:11 asdfjkluiop

This issue is stale because it has been open 180 days with no activity. Comment or remove the autoclose label in order to avoid having this issue closed.

github-actions[bot] avatar May 26 '25 02:05 github-actions[bot]

This issue will be automatically closed in the specified period unless there is further activity.

frrbot[bot] avatar May 26 '25 02:05 frrbot[bot]

bumping this to stop the bot

asdfjkluiop avatar May 26 '25 05:05 asdfjkluiop

This issue will no longer be automatically closed.

frrbot[bot] avatar May 26 '25 05:05 frrbot[bot]