[OLSR-users] olsrd and default gateway

Sven-Ola Tuecke (spam-protected)
Mon Nov 7 12:02:30 CET 2005


not sure, I understand. Let me guess two scenarios:

a) You live in Bogoland and your single mesh connection is through a tunnel. 
That tunnel is *not* an inet connection but a (slow and expensive) leased 
line. You don't want to have inet traffic through that leased line heading 
to the gateways offered in the mesh. Add a static default route on the 
border device to nowhere. To be polite, you may also add a firewall rule, 
that answers to such traffic with "-j REJECT". This is not a clean solution, 
because in this scenario you need to block that HNA4 messages from 
the other side completely from flooding your side (and vice versa).

b) You live in Bogoland and your single mesh connection is through an inet 
tunnel. Why not offer that inet connection as gateway on your side? Add a 
HNA4 entry to the border device, this will pull those default routes on your 
side to the next available gw - that's your border device. Of course, you 
may also want the other side (the border device in the mesh) to offer it's 
inet connection in the same way.

LG Sven-Ola

"Bernd Petrovitsch" <(spam-protected)> schrieb im Newsbeitrag 
> On Mon, 2005-11-07 at 10:13 +0100, Sven-Ola Tuecke wrote:
> [...]
>> No. For what!? If you want your own device to route to your own other
> I have a "only" tunnel into an OLSRD net. So it makes no sense to route
> (almost) *all* the traffic ov er that tunnel into the other net (guess
> which;-) even if it stays within my internet provider.
>> devices, use the Linux Advanced Routing capabilities. Heres the howto:
>> http://lartc.org/ . In short: Add a rule that matches your
>> IPs/Services/Interfaces, then add a new routing table, then add default
>> route in the new table which overrules the standard default route managed 
>> by
> *eg* Yes, that's another possibility.
>> olsrd. Do no try this with windows, otherwise you need to read a lot more
>> docs ;-)
> Here would work my first thought: Just add an option
> "leave-default-route-alone" and simply disable the relevant "ip route
> add"s and "ip route del"s in the olsrd.
> Bernd
> -- 
> Firmix Software GmbH                   http://www.firmix.at/
> mobil: +43 664 4416156                 fax: +43 1 7890849-55
>          Embedded Linux Development and Services
> _______________________________________________
> olsr-users mailing list
> (spam-protected)
> https://www.olsr.org/mailman/listinfo/olsr-users 

More information about the Olsr-users mailing list