[Olsr-dev] olsr strange behaving / nearly no outgoing packets

Bastian Bittorf (spam-protected)
Wed Jun 27 15:10:15 CEST 2012


facts: kernel 3.3.8 / 0.6.3-git_9f34036-hash_398b3410701eda6218b75f8541baaacd

on an openwrt-box (brcm47xx/dell truemobile 2300) we
cant make the daemon working. playing with tcpdump shows:

we have incoming packets via lan/wifi from another boxes
with same settings (but other hardware, same architecture e.g.
linksys wrt54g, tplink1043nd) but:

no outgoing packets 

except: 2 packets when we stop the daemon:

(spam-protected):~ tcpdump -vv -ni $LANDEV port 698
tcpdump: listening on eth0.1, link-type EN10MB (Ethernet), capture size 65535 bytes
14:56:22.703533 IP (tos 0xc0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 76)
    10.63.17.46.698 > 255.255.255.255.698: [udp sum ok] OLSRv4, seq 0x8fdc, length 48
        TC-LQ Message (0xca), originator 10.63.17.46, ttl 255, hop 0
          vtime 576.000s, msg-seq 0x88c7, length 16
            advertised neighbor seq 0x0002
        Hello-LQ Message (0xc9), originator 10.63.17.46, ttl 1, hop 0
          vtime 144.000s, msg-seq 0x88c8, length 28
          hello-time 4.000s, MPR willingness 7
            link-type Lost, neighbor-type Not-Neighbor, len 12
              neighbor 10.63.9.33, link-quality 0.00%, neighbor-link-quality 0.00%
14:56:22.704176 IP (tos 0xc0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 76)
    10.63.17.46.698 > 255.255.255.255.698: [udp sum ok] OLSRv4, seq 0x8fdd, length 48
        TC-LQ Message (0xca), originator 10.63.17.46, ttl 255, hop 0
          vtime 576.000s, msg-seq 0x88c9, length 16
            advertised neighbor seq 0x0002
        Hello-LQ Message (0xc9), originator 10.63.17.46, ttl 1, hop 0
          vtime 144.000s, msg-seq 0x88ca, length 28
          hello-time 4.000s, MPR willingness 7
            link-type Lost, neighbor-type Not-Neighbor, len 12
              neighbor 10.63.9.33, link-quality 0.00%, neighbor-link-quality 0.00%

on debug-mode we see nothing. we tried a lot: disable all plugins,
switched only on 1 interface, tried unicast instead of broadcast sending etc. - nothing. we dont see a neighbour or packets of a neighbour in the daemon, but looking with tcpdump: they are coming in.

for making sure, that it is not a firewall issue, we dont load any rules, even we notloaded the kernel-mods (iptables + related...)

the box is working normally. we can send udp-packets via netmsg out and can receive them. netperf is working in both directions, so no udp-issue. if we set static routes, we can send any traffic through the box (~25mbit/s).

what can we check now?

bye, Bastian.

PS: out settings: /var/etc/olsrd.conf

ClearScreen no
DebugLevel 9
AllowNoInt yes
IpVersion 4
FIBMetric "flat"
Willingness 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityAlgorithm "etx_ffeth"
MprCoverage 7

Interface "eth1"
{
        Ip4Broadcast 255.255.255.255
        HelloInterval 4.0
        HelloValidityTime 150.0
        TcValidityTime 600.0
        TcInterval 3.0
        MidInterval 30.0
        MidValidityTime 600.0
        HnaInterval 12.0
        HnaValidityTime 150.0
}





More information about the Olsr-dev mailing list