[Olsr-users] olsrd2 and source specific routing

Robert Mader (spam-protected)
Tue Mar 15 12:37:34 CET 2016


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hello,

thanks for the answer. 0.11.1 just arrived in the openwrt repos and it
works now :)
Almost exactly like babel, as expected in this little setup.

One more question: is there any way to export all gateways (to ::/0)
in the network with their correspondent metric?

Regards,
Robert

On 11.03.2016 16:15, Henning Rogge wrote:
> On Fri, Mar 11, 2016 at 1:09 PM, Robert Mader 
> <(spam-protected)> wrote:
>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
>> 
>> Hello there,
>> 
>> I'd like to ask a question concerning source specific routing. 
>> We're trying to build up a mini mesh to try out how to use ssr 
>> but are a bit confused how to use it.
>> 
>> First of all, I'm using the development branch of openwrt with 
>> olsrd2 version 11
> 
> First a good advise... v0.11 had a few annoying bugs depending on 
> the kernel version, so I would advise to move to 0.11.1
> 
>> Our network looks like the following: 
>> http://picpaste.de/network.jpg
>> 
>> Our goal is to have two gateways to the internet with different 
>> prefixes and a node that receives a sub-prefix from each one (a 
>> multi-homed network).
> 
> Yes, that is exactly what SSR should do.
> 
>> If I understood source specific routing right, each package
>> going 'the internet' from the node should be routed over the
>> respective gateway, depending on the source address used, right?
>> 
>> I have ssr enabled on each system, but right now olsr gives the 
>> node just one default route which is always used, irrespective
>> of the source ip used.
>> 
>> My question now is:
>> 
>> - - What does ssr do right now? And is there anything I need to 
>> configure?
> At the moment olsrd2 is only supporting SSR for IPv6 (because of 
> limitations of the Linux Kernel).
> 
> When you set a "locally attached network" (with the LAN parameter 
> of the olsrv2 section) you need to specify the source prefix in 
> addition to the destination prefix.
> 
> maybe you could try something like this:
> 
> config olsrv2 list 'lan' '::/0 src=<source-prefix>''
> 
> call "olsrd2_static --schema=olsrv2.lan" for a few more details.
> 
>> - - Am i supposed to set any routes by myself to create a 
>> multihomed network? Is olsr going to support it in an automatic 
>> manner?
> 
> No, you just need to specify the prefixes you want to export.
> 
> Henning Rogge
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJW5/P3AAoJEMoGIfLe87r0CH0P/jQvhTWWUjKs110CrBmBvL16
zue7B5dw4oPe2eztrc3b5z03EqnuTexngz/gYHeInusyJnEkcqK6alJtxkQLIoPI
Ah2W5ppuLtH9CTx93KaLfJpPWO7u1Ti12b+9y/IvZ4mQG1RNnvU5GyQf1uO7G00f
53suZ1moVUv4xgpfvMhvHp/o+b9lgEmBo8eXsDLjhoOeLvLS/+6DFagktb3AcDtA
MzDV0fMCea59UqLXKYMVnB+nDEUWy6iPPFVscBXU+9cIXFRQjnCFkURkI676pWLw
KDrrRcdsBsJcIEpt/ZGKuaRUJKVgSKMrQMjprYiIuoFrARmcDtogkfr42JcmGZJt
kQX1W02ECcUIJbOixMta6xA8bqRcaZdhbJfmp+QsHWaZAYcNR+wuxk/wA87jdAsL
zyrMudq1bkX2bYa0uq6XQq3yll4BxEeoB3b1lU3n3rt+5kn4cTzSEB8yvSEDePar
ulxh/dpy2VvPi/VMvJR6TR50xNqVbK/EyniIOh6cxcRS+sEFpnH3X2YMsbfeurNO
tinuMKwdZu04Yvdt6Z4ChmhT7+uV+06Xr39/8iYLia57oGXBNRFQjXpFb7BMDINn
vRVId37ezlGc7jD6UWDcf0eknoWdAKO1i218aPW01+g5wDKt1XBrh2EWC3yB27Zp
bklaEEzzcPUw8OXbfIbZ
=SJ7t
-----END PGP SIGNATURE-----



More information about the Olsr-users mailing list