[Olsr-users] Problem in my OLSR network
Victor
(spam-protected)
Sun May 4 10:16:41 CEST 2008
Hey,
Theres something wrong with the routing table in laptop A...more
specifically
192.168.100.1 * 255.255.255.255 UH 1 0 0
wlan0
192.168.100.8 * 255.255.255.255 UH 1 0 0
wlan0
How come it thinks the metric to 192.168.100.8 is 1, it should be 0! Also,
the gateway should not be * it should be 192.168.100.8 since u need to go
via 8 to get to C. So something is fishy there but I don't know any
configuration in the OLSR that would be causing this.
Ok, I'm kinda grasping at straws here so the following probably wont work
but give it a try anywaz.
Try:
On all 3 laptops disable eth0 and any other interface except for the
wireless one, (ie ifdown eth0). I've had issues with other interfaces
confusing the routing table before though at the time I had really funny
netmasks and urs seem fine.
If that all fails, well I don't know, but I guess you could do a really
basic test and manually add the routes into each laptop and see if it still
works then
Ie
For Laptop A
ip route add 192.168.100.8 dev wlan0
ip route add 192.168.100.1 via 192.168.100.8
For Laptop B
ip route add 192.168.100.5 dev wlan0
ip route add 192.168.100.1 dev wlan0
For laptop C
ip route add 192.168.100.8 dev wlan0
ip route add 192.168.100.5 via 192.168.100.8
Uh, you should double check the above ip route commands... its being a while
since I've worked with then. And don't forget to delete the current ones.
Try posting ur olsr.conf files and route results for all 3 laptops next time
if u still cant get it to work
Victor
------------------------------
Message: 2
Date: Fri, 2 May 2008 22:58:29 -0700 (PDT)
From: Agung Septiadi <(spam-protected)>
Subject: Re: [Olsr-users] Problem in my OLSR network (Agung Septiadi)
To: (spam-protected)
Message-ID: <(spam-protected)>
Content-Type: text/plain; charset="utf-8"
Hi Victor and everyone,
Oh, I use Laptops with Ubuntu 8.04 fresh installed on all laptops.
afaik, Ubuntu doesn't have firewall installed on default. cmiiw
Configuration on my laptops
Laptop A 192.168.100.5 with hostname agungsep-laptop
Laptop B 192.168.100.8 with hostname wilioke132
Laptop C 192.168.100.1 with hostname wmn
I put all laptops on that condition (A <--> B <--> C),
B can ping both A and C, but A cannot ping C and vice versa!
If I use tracert to C on Laptop A, the output will show like this:
(spam-protected):/home/agungsep# tracert 192.168.100.1
traceroute to 192.168.100.1 (192.168.100.1), 30 hops max, 40 byte packets
1 192.168.100.8 (192.168.100.8) 10.162 ms 22.822 ms *
2 * * *
3 * * *
4 * * *
|
(I deleted line 5 until linet 27 on this email :) )
|
28 * * *
29 * * *
30 * * *
And if I use 'route' command on Laptop A, the result is
(spam-protected):/home/agungsep# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
192.168.100.1 * 255.255.255.255 UH 1 0 0
wlan0
192.168.100.8 * 255.255.255.255 UH 1 0 0
wlan0
167.205.64.64 * 255.255.255.192 U 0 0 0 eth0
192.168.100.0 * 255.255.255.0 U 0 0 0
wlan0
link-local * 255.255.0.0 U 1000 0 0 eth0
default * 0.0.0.0 U 0 0 0
wlan0
default 167.205.64.65 0.0.0.0 UG 100 0 0 eth0
This is the OLSR table routing with 'olsrd -d 2' command on Laptop A
*** olsr.org - 0.5.4 (2007-11-22 00:04:03 on vernadsky) ***
--- 11:13:34.64 ------------------------------------------------- DIJKSTRA
192.168.100.5 no next-hop
--- 11:13:34.64 ---------------------------------------------------- LINKS
IP address hyst LQ lost total NLQ ETX
192.168.100.8 0.000 0.343 6 11 0.969 3.01
--- 11:13:34.64 ------------------------------------------------ NEIGHBORS
IP address LQ NLQ SYM MPR MPRS will
192.168.100.8 0.343 0.969 YES YES YES 7
--- 11:13:34.02649341 ----------------------- TWO-HOP NEIGHBORS
IP addr (2-hop) IP addr (1-hop) TLQ
192.168.100.1 192.168.100.8 0.000
--- 11:13:34.64 ------------------------------------------------- TOPOLOGY
Source IP addr Dest IP addr LQ ILQ ETX
192.168.100.1 192.168.100.5 1.000 0.886 1.13
192.168.100.1 192.168.100.8 1.000 1.000 1.00
192.168.100.5 192.168.100.8 0.969 0.343 3.01
192.168.100.8 192.168.100.1 1.000 1.000 1.00
192.168.100.8 192.168.100.5 0.988 0.937 1.08
But I still cannot ping from A to C!
Does any configuration that I missed?
More information about the Olsr-users
mailing list