[OLSR-users] Routes never added
John Gorkos
(spam-protected)
Wed Jul 12 05:24:32 CEST 2006
Ok, I'm no neophyte to OLSRd, but I'm stumped.
I recently had two routers fail in my 30 node network, so I replaced them with
v3.0 WRT54G routers and put the latest OpenWRT on them (where the wifi
interface is wl0, not eth1). I put the SAME version of olsrd (identical
binary) as is running on every other router on the network, but these routers
won't make changes to the routing table. Here is a snapshot of olsrd running
in debug 1:
--- 03:17:03.60 ---------------------------------------------------- LINKS
IP address hyst LQ lost total NLQ ETX
192.168.7.22 0.000 0.130 14 27 0.000 0.00
192.168.7.42 0.000 0.330 6 39 0.000 0.00
192.168.7.46 0.000 0.260 15 41 0.000 0.00
192.168.7.1 0.000 0.510 1 52 0.000 0.00
192.168.7.33 0.000 0.500 13 63 0.000 0.00
192.168.7.37 0.000 0.550 8 63 0.000 0.00
192.168.7.30 0.000 0.480 9 57 0.000 0.00
192.168.7.21 0.000 0.570 9 66 0.000 0.00
192.168.7.50 0.000 0.560 3 59 0.000 0.00
--- 03:17:03.60 ------------------------------------------------ NEIGHBORS
IP address LQ NLQ SYM MPR MPRS will
192.168.7.1 0.510 0.000 NO NO NO 6
192.168.7.33 0.500 0.000 NO NO NO 6
192.168.7.37 0.550 0.000 NO NO NO 6
192.168.7.42 0.330 0.000 NO NO NO 6
192.168.7.46 0.260 0.000 NO NO NO 6
192.168.7.50 0.560 0.000 NO NO NO 6
192.168.7.21 0.570 0.000 NO NO NO 6
192.168.7.22 0.130 0.000 NO NO NO 6
192.168.7.30 0.480 0.000 NO NO NO 6
--- 03:17:03.60 ------------------------------------------------- TOPOLOGY
Source IP addr Dest IP addr LQ ILQ ETX
It will not create links with any router in the network. 7.1 is running a CVS
version of 5.0, while everything else is running 4.10release, and the network
is quite stable and successful. But these two routers simply will not join
the network. They can see the other routers, and pass olsr packets to them
(which I can see with TCP dump), but they never form links.
Here is the olsrd.conf I'm using:
DebugLevel 0
LinkQualityFishEye 1
IpVersion 4
ClearScreen yes
Hna4
{
}
Hna6
{
}
AllowNoInt yes
Willingness 6
IpcConnect
{
MaxConnections 0
Host 127.0.0.1
}
UseHysteresis no
LinkQualityLevel 2
LinkQualityWinSize 100
Pollrate 0.1
TcRedundancy 2
MprCoverage 5
Interface "wl0"
{
HelloInterval 5.0
HelloValidityTime 90.0
TcInterval 2.0
TcValidityTime 250.0
MidInterval 15.0
MidValidityTime 90.0
HnaInterval 15.0
HnaValidityTime 90.0
}
here is the ifconfig and iwconfig of the wifi interface.
(spam-protected):~# iwconfig wl0
wl0 IEEE 802.11-DS ESSID:"WILDCATMESH"
Mode:Ad-Hoc Frequency:2.412 GHz Cell: 7E:53:43:90:C1:FB
Tx-Power:19 dBm
Link Signal level:-72 dBm Noise level:-97 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:4078 Invalid misc:0 Missed beacon:0
(spam-protected):~# ifconfig wl0
wl0 Link encap:Ethernet HWaddr 00:13:10:42:B4:39
inet addr:192.168.7.47 Bcast:192.168.7.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:79147 errors:0 dropped:0 overruns:0 frame:65257
TX packets:35225 errors:4 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:76672628 (73.1 MiB) TX bytes:3009897 (2.8 MiB)
Interrupt:4 Base address:0x1000
I'm pulling my hair out on this one. Fortunately, the routers are both only
one hop away from a gateway, so I can put manual default routes in and the
customer can get to the internet, but I can't do that forever...
Any help appreciated.
John Gorkos
More information about the Olsr-users
mailing list