[olsr-dev] Policy Routing Hack

Daniel Poelzleithner (spam-protected)
Mon Apr 23 16:14:19 CEST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sven-Ola Tuecke wrote:
> Hi Bernd,
> 
> for me it's working fine. However, the struct tcmsg change is
> appreciated of course. What's wrong on your side? Does-not-compile or
> has-no-effect? In the latter case, you need to add some policy stuff
> first. Example: set rttable=123 in olsrd.conf and hack in something in
> the start script, e.g. "ip rule add from 10.0.0.0/8 table 123" and maybe
> "ip rule add from 192.168.0.0/16 to 10.0.0.0/8 table 123" provided that
> your mesh runs on 10.x.x.x. After starting olsrd, the "route -n" command
> does not show any OLSR route. You need to enter "ip route ls table 123"
> for this. And you need the ip command, "apt-get install iproute" or so...

could you add a secound option for the default gw please. if
rtttable_default_route isn't set, rtttable is used, or fall back into
the default table.
rtttable_default_route would set the default gw in this table.
this would allow much better and faster routing.

kindly regards
 daniel
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: GnuPT 2.7.2
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGLL87y/mkIQp7AD0RAiozAKC5guiNhK7gw7A2YBZP/gu8IyTDJwCgz4SQ
20bY4imZvZsUExxXNXT6SBM=
=PKJ9
-----END PGP SIGNATURE-----




More information about the Olsr-dev mailing list