[Olsr-dev] question about weird IPs in HELLO messages (1.0.0.8)

karim eldefrawy (spam-protected)
Tue Oct 19 23:34:13 CEST 2010


>
> Hello everyone,
> I have a basic question about olsrd's hello messages (I read RFC3626 and am
> fairly familiar with the OLSR protocol):
>
> I have a simple setup of two virtual machines running Ubuntu(10.4) using
> VMware Player.
> They are connected to each other via eth1 interface as follows:
>
> (VM1) eth1: 192.168.88.153 ----------------------------
> 192.168.88.151 : eth1(VM2)
>
> Loopback interface is down
>
> Here is the state of each interface and the routing table on each machine
> before running olsrd0.6.0:
>
> Virtual Machine 1 (VM1):
> loop back down
>
> eth1     Link encap:Ethernet  HWaddr 00:0c:29:02:7b:83
>           inet addr:192.168.88.153  Bcast:192.168.88.255
>  Mask:255.255.255.0
>
> (spam-protected):~$ netstat -r
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags   MSS Window  irtt
> Iface
> 192.168.88.0    *               255.255.255.0   U         0 0          0
> eth1
> link-local      *               255.255.0.0     U         0 0          0
> eth1
> default         192.168.88.2    0.0.0.0         UG        0 0          0
> eth1
>
>
>
> Virtual Machine 2 (VM2):
> loop back down
>
> eth1      Link encap:Ethernet  HWaddr 00:0c:29:7b:6d:d6
>           inet addr:192.168.88.151  Bcast:192.168.88.255
>  Mask:255.255.255.0
>
>
> (spam-protected):~$ netstat -r
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags   MSS Window  irtt
> Iface
> 192.168.88.0    *               255.255.255.0   U         0 0          0
> eth1
> link-local      *               255.255.0.0     U         0 0          0
> eth1
> default         192.168.88.2    0.0.0.0         UG        0 0          0
> eth1
>
>
>
>
> I run olsrd0.6.0 on both machines with the following commands:
>
> sudo olsrd -i eth1
>
> Everything seems normal and I only see the following IPs in the topology
> debugging messages:
> 192.168.88.153 and 192.168.88.151
>
>
> I am capturing OLSR packets using libpcap and analyzing them using my own
> code
>
> I see that VM2 (192.168.88.151) announces the following neighbor in its
> HELLO messages: 1.0.0.8 NeighborType is: 0 LinkType is: 1
>
> I see that VM1 (192.168.88.153) announces the following neighbor in its
> HELLO messages: 6.0.0.8 NeighborType is: 1 LinkType is: 2
>
> I am confident that I am parsing OLSR messages correctly because the same
> code captures the correct neighbor entries in HELLO messages in a larger
> emulated topology.
>
> When enabling OLSRd debugging (option -d 6) I didn't see any messages about
> these IPs (1.0.0.8 and 6.0.0.8).
>
> My question is:
> - where is OLSRd getting these IPs and why is it announcing them?
>
> Has anyone observed similar behavior?
>
> I am asking because such IPs create problems in larger topologies because
> nodes start selecting each other as MPRs to reach these IPs (which actually
> do not exist in the network).
>
> Cheers,
> Karim
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.olsr.org/pipermail/olsr-dev/attachments/20101019/7c6baf5d/attachment.html>


More information about the Olsr-dev mailing list