[OLSR-users] Routes momentarily disappearing
Karl Hiramoto
(spam-protected)
Wed Dec 28 13:22:26 CET 2005
Hi all, I'm hoping someone has a suggestion for my problem.
>From one of my nodes on my olsrd network, i have a problem with broken
connections/ outages that last a few seconds. There becomes a short period of
time where "network is unreachable" to the Internet
Anyone suggest i use hysteresis instead of linkQuality? Any other suggestions
to fix my problem?
For example my problem is with a node with the ip of 10.69.1.26
(spam-protected):~# ping 192.168.1.1; route -n ;sleep 5; route -n
PING 192.168.1.1 (192.168.1.1): 56 data bytes
64 bytes from 192.168.1.1: icmp_seq=0 ttl=253 time=24.1 ms
64 bytes from 192.168.1.1: icmp_seq=1 ttl=253 time=6.5 ms
64 bytes from 192.168.1.1: icmp_seq=2 ttl=253 time=6.4 ms
<snip>
64 bytes from 192.168.1.1: icmp_seq=266 ttl=253 time=7.7 ms
64 bytes from 192.168.1.1: icmp_seq=267 ttl=253 time=38.7 ms
ping: sendto: Network is unreachable
// here no route to internet
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.69.1.38 0.0.0.0 255.255.255.255 UH 1 0 0 eth1
10.69.1.20 10.69.1.10 255.255.255.255 UGH 2 0 0 eth1
10.69.1.37 10.69.1.38 255.255.255.255 UGH 1 0 0 eth1
10.69.1.11 10.69.1.38 255.255.255.255 UGH 2 0 0 eth1
10.69.1.10 0.0.0.0 255.255.255.255 UH 1 0 0 eth1
10.69.1.15 10.69.1.10 255.255.255.255 UGH 2 0 0 eth1
10.69.1.31 0.0.0.0 255.255.255.255 UH 1 0 0 vlan0
10.69.1.14 10.69.1.38 255.255.255.255 UGH 2 0 0 eth1
10.69.1.12 10.69.1.38 255.255.255.255 UGH 2 0 0 eth1
10.69.0.0 0.0.0.0 255.255.0.0 U 0 0 0 vlan0
10.69.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
/// Then 5 seconds later it is fine again:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.69.1.38 0.0.0.0 255.255.255.255 UH 1 0 0 eth1
10.69.1.20 10.69.1.10 255.255.255.255 UGH 2 0 0 eth1
10.69.1.37 10.69.1.38 255.255.255.255 UGH 1 0 0 eth1
10.69.1.11 10.69.1.38 255.255.255.255 UGH 2 0 0 eth1
10.69.1.10 0.0.0.0 255.255.255.255 UH 1 0 0 eth1
10.69.1.9 10.69.1.10 255.255.255.255 UGH 1 0 0 eth1
10.69.1.15 10.69.1.10 255.255.255.255 UGH 2 0 0 eth1
10.69.1.31 0.0.0.0 255.255.255.255 UH 1 0 0 vlan0
10.69.1.14 10.69.1.38 255.255.255.255 UGH 2 0 0 eth1
10.69.1.12 10.69.1.38 255.255.255.255 UGH 2 0 0 eth1
10.69.0.0 0.0.0.0 255.255.0.0 U 0 0 0 vlan0
10.69.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
0.0.0.0 10.69.1.38 0.0.0.0 UG 2 0 0 eth1
--------- MY olsrd.conf config-----------
DebugLevel 0
IpVersion 4
Hna4
{
}
AllowNoInt yes
IpcConnect
{
MaxConnections 1
Host 127.0.0.1
}
UseHysteresis no
Pollrate 0.05
LinkQualityLevel 2
LinkQualityWinSize 60
Interface "eth1" "vlan0"
{
Ip4Broadcast 255.255.255.255
}
---------- end of config--------
A picture of my topology is here:
http://karl.hiramoto.org/temp/pics/topology-2005Nov25.png
With more packet loss:
http://karl.hiramoto.org/temp/pics/topology-2005Nov25b.png
With this packet loss here between 10.1.69.26 and 10.1.69.10 is the reason why i
made the "LinkQualityWinSize 60". With the larger LinkQualityWinSize I
found routs to not switch as often which is better for me. 192.168.1.1 is
actually two different DSL modems.
>From 10.69.1.12 I can ping 10.1.69.26 for hours and only get 1% packet loss.
However from 10.1.69.26 i can not ping 192.168.1.1 (internet gateway)
without loosing connectivity for more than a few minutes.
I am using Olsrd 0.4.9 on openwrt linux.
Thanks,
--
---
Karl Hiramoto <(spam-protected)> http://karl.hiramoto.org/
Yahoo_IM = karl_hiramoto GTalk=(spam-protected)
------
More information about the Olsr-users
mailing list