[Olsr-users] NOW SIMPLEST EXAMPLE: OLSRd - can't understand routing
Derek C
(spam-protected)
Mon Feb 23 23:12:09 CET 2009
Hi Henning,
> Sorry that noone replied do your mail earlier, but let's see what we have
> got here...
No problem - its great to be able to get help!
>> ETH0 ETH0 ETH0
>> 5.1.0.1 5.1.0.2 5.1.0.3
>> OLSRd1 OLSRd2 OLSRd3
>> 5.2.0.1 5.2.0.2 ---- 5.2.0.3
>> ATH0 ATH0 ATH0
> How do you use the eth0 interface ? Is it an additional OLSR interface or
> do you just define a HNA domain ?
It's just setup as an additional OLSRd interface.
Actually I did try setting a HNA 0.0.0.0 route to see what would happen -
it was interesting: Normally (with the ath0 and eth0 OLSRd interfaces) I
have two default routes showing but with the HNA settings in there (with
NO other changes to the ath0 or eth0 settings) I only got one [better
looking] default route. Still.. I didn't leave it this way because it
just seemed wrong.
> If it's an HNA it might explain your problem, because OLSR is not
> designed to use HNA as shortcut to other parts of the OLSR mesh. You have
> to use it as mesh interface too or build up a VPN tunnel through the
> backbone between the OLSR instances (which will then be used as an
> additional OLSR interface).
My "backhaul" is Mikrotik routerboards with XR5 cards and they are
transparently bridging their ethernet ports to the datacentre end so the
x86 boards running openwrt & OLSRd "see" their ethX port as being
connected directly to a server running OLSRd itself (where it is the only
device with a HNA 0.0.0.0/0 entry).
> What happens if you just use the backbone links as additional OLSR
> interface (which will have a nearly perfect ETX value I think) ?
Yes - this is what I'm doing. Initially I had no difference in settings
for ath0 and eth0. More recently I tried putting in "LinkQualityMult"
entries but it doesn't seem to have any affect.
> Could you maybe post your olsrd.conf and the version of your olsrd
> routing daemon ? This might help...
This is the details of the 5.1.0.3/5.2.0.3 board (as per my diagram): -
Note: All IPs beginning with 5.10 are OLSRd boxes (single radio card test
client units). All IPs beginning with 5.1 are the ethX ports of my x86
gateway boards and all IPs beginning with 5.2 are the athX ports of the
same gateway boards.
netstat -rn: -
Destination Gateway Genmask Flags MSS Window irtt
Iface
5.10.0.6 0.0.0.0 255.255.255.255 UH 0 0 0 ath0
5.10.0.7 0.0.0.0 255.255.255.255 UH 0 0 0 ath0
5.10.0.4 5.2.0.1 255.255.255.255 UGH 0 0 0 ath0
5.0.0.1 5.2.0.1 255.255.255.255 UGH 0 0 0 ath0
5.10.0.2 5.2.0.1 255.255.255.255 UGH 0 0 0 ath0
5.2.0.2 5.2.0.1 255.255.255.255 UGH 0 0 0 ath0
5.10.0.3 0.0.0.0 255.255.255.255 UH 0 0 0 ath0
5.10.0.1 5.2.0.1 255.255.255.255 UGH 0 0 0 ath0
5.2.0.1 0.0.0.0 255.255.255.255 UH 0 0 0 ath0
192.168.100.0 0.0.0.0 255.255.255.0 U 0 0 0 ath1
192.168.182.0 0.0.0.0 255.255.255.0 U 0 0 0 tun0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
5.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 eth1
5.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 ath0
0.0.0.0 5.0.0.1 0.0.0.0 UG 0 0 0 eth1
0.0.0.0 5.2.0.1 0.0.0.0 UG 0 0 0 ath0
olsrd.conf:
(spam-protected):~# cat /etc/olsrd.conf
UseHysteresis no
TcRedundancy 2
MprCoverage 1
LinkQualityLevel 2
LinkQualityWinSize 10
DebugLevel 0
#Hna4 {
# 0.0.0.0 0.0.0.0
# }
#LoadPlugin "olsrd_dyn_gw.so.0.4"
#{
# PlParam "Interval" "60"
# PlParam "Ping" "151.1.1.1"
# PlParam "Ping" "194.25.2.129"
# }
LoadPlugin "olsrd_httpinfo.so.0.1"
{
PlParam "Net" "5.0.0.0 255.0.0.0"
PlParam "port" "8080"
}
#LoadPlugin "olsrd_txtinfo.so.0.1"
#{
# PlParam "port" "8081"
# PlParam "Host" "127.0.0.1"
# }
Interface "ath0"
{
Ip4Broadcast 255.255.255.255
HelloValidityTime 20.0
HelloInterval 2.0
#LinkQualityMult default 0.1
}
Interface "eth0"
{
Ip4Broadcast 255.255.255.255
HelloValidityTime 20.0
HelloInterval 2.0
#Weight 0
LinkQualityMult 0.0.0.0 2.00
}
>
> Henning
>
>
> --
> Olsr-users mailing list
> (spam-protected)
> http://lists.olsr.org/mailman/listinfo/olsr-users
--
--
Derek C
In Ireland
More information about the Olsr-users
mailing list