On Sat, 27 Jul 2013, Eric Fort wrote:
Why does the interface upon which the rip packets arrive matter to a standard ripd daeon? Does the tunnel encapsulation type matter? (would it matter or depend upon if this was l2tp/ipip/pptp/openvpn/gre/etc?) How is a rip packet that arrives on interface tun0 fundamentally different from one that arrives on eth0?
It's treated differently because the introduced route will reference a next-hop based on the tunnel destination address of the gateway associated with that route, not on the interface the announcement was received on or the address of the neighbor that sent the announcement. Other than BGP multi-hop and DMVPN, most common routing protocols use a next-hop based on the latter. You may get the full routing table but they wont use a full mesh of links.
On the other hand, if having a full mesh of tunnels is not so important, you can run standard routing protocols with cooperating tunnels/gateways.
Antonio Querubin e-mail: tony@lavanauts.org xmpp: antonioquerubin@gmail.com