[zebra 22982] Dynamic routing over a tunnel interface

jhuang <[email protected]> Mon, 18 Dec 2006 16:26:39 -0800 (PST)
Newsgroups gmane.network.zebra
Message-ID <[email protected]>
I am investigating how to enable dynamic routing across a tunnel interface
(e.g. a IP tunnel or a IPsec tunnel).
Because it is a tunnel interface, the next hop for a route learned through
the tunnel is not directly reachable.

I know that in order to add a route manually in Linux when the next hop is
not directly reachable, a "onlink" key word has to be added to "ip route
add" command.  This will in turn cause RTNH_F_ONLINK to be set in the route
add request to the stack and make the route successfully added.   The
question is how to do the same thing in case of dynamic routing?? How do I
tell Zebra that an interface is a tunnel so that it will set RTNH_F_ONLINK
in the route add request for a route learned through the tunnel?

-- James Hunag 
-- 
View this message in context: http://www.nabble.com/Dynamic-routing-over-a-tunnel-interface-tf2843298.html#a7939413
Sent from the Gnu - Zebra mailing list archive at Nabble.com.