Replies: 4 comments 1 reply
-
Please look at http://docs.frrouting.org/en/latest/zebra.html#zebra-route-filtering |
Beta Was this translation helpful? Give feedback.
-
We are still unable to achieve it.
We tried to add the static route by the following configuration (add it to the Table 30) How to tell Zebra not to add the route in the linux routing table, but tell OSPF to publish it? |
Beta Was this translation helpful? Give feedback.
-
i have the same question |
Beta Was this translation helpful? Give feedback.
-
Same here, actually is there a way to publish routes in OSPF which are stored in specific routing tables? Do I need VRF? |
Beta Was this translation helpful? Give feedback.
-
`
ip route 1.1.1.1/32 ens33
ip route 1.1.1.2/32 ens33
!
interface ens33
ip ospf 1 area 0 192.168.84.191
!
router ospf 1
ospf router-id 192.168.84.191
redistribute static metric 10000 route-map RM-ens33
!
access-list AC-ens33 seq 1 permit 1.1.1.1/32
access-list AC-ens33 seq 2 permit 1.1.1.2/32
!
route-map RM-ens33 permit 10
match ip address AC-ens33
`
This is an example configuration which we use normally to advertise the routes 1.1.1.1/32. The problem with this configuration is that it adds an entry in linux routing table where the frr/ospf daemon is running along with advertising the route to OSPF peers. We don't want frr service to add the static route to the linux routing table and just advertise it. Can anyone help?
Beta Was this translation helpful? Give feedback.
All reactions