static route installation in kernel with recursive nexthop

mpbmpb Member Posts: 1 ■□□□□□□□□□
When should the resolving of recursive nexthop happen?
Is it in the control plane while installing the route into FIB or in the forwarding plane?

I am trying to create static routes as below (on a non-cisco/non-juniper box):

ip route 4.4.0.0/16 eth1

ip route 5.5.5.0.24 4.4.0.1

should the routing stack install the second route (5.5.5.0/24) into FIB with resolved nexthop or with 4.4.0.1 only?

what will be the consequence of installing 5.5.5.0/24 route with resolved nexthop i.e. 0.0.0.0 in this case?

If the route 5.5.5.0/24 is added in FIB with 4.4.0.1 then forwarding plane should resolve the nexthop 4.4.0.1. Will this not be a overhead to the forwarding plane?

please note that eth1 is not configured with any of the above mentioned IP addresses.

thanks in advance.

Comments

Sign In or Register to comment.