Replies: 3 comments 1 reply
-
It depends. In most cases, this is the correct way. Otherwise, FRR has gRPC support (experimental, not well-tested though), where you can create static routes via gRPC.
No. But you can do this by changing the next-hop on the criteria. Let's say if sending 10.10.10.0/24, set ip next-hop to something. Look at the route-maps. |
Beta Was this translation helpful? Give feedback.
-
Thank you! |
Beta Was this translation helpful? Give feedback.
-
When I add a static route in frr using |
Beta Was this translation helpful? Give feedback.
-
Hello all,
I have FRR configured to
redistribute static
routes and after adding a route likeip route 172.16.210.0/24 192.168.200.10
works fine and is distributed over BGP.Now I want to add static routes using a program rather than by editing and saving the conf in
vtysh
. One means is usingvtysh
itself likevtysh -c "conf t" -c "no ip route 172.16.220.0/24 192.168.200.10"
.Is this the recommended way or is there some protocol by which a static route can be added or removed without going via
vtysh
?Also is there any way a static route added do not get passed on to kernel to be installed on local routing table? I just want to advertise it via BGP and not to add it locally.
Beta Was this translation helpful? Give feedback.
All reactions