<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div>Hello everyone,</div><div>I have a basic question about olsrd's hello messages (I read RFC3626 and am fairly familiar with the OLSR protocol):</div>
<div><br></div><div>I have a simple setup of two virtual machines running Ubuntu(10.4) using VMware Player.</div>
<div>They are connected to each other via eth1 interface as follows:</div><div><br></div><div>(VM1) eth1: 192.168.88.153 ---------------------------- 192.168.88.151 : eth1(VM2)</div>
<div> </div><div>Loopback interface is down</div><div><br></div><div>Here is the state of each interface and the routing table on each machine before running olsrd0.6.0:</div>
<div> </div>Virtual Machine 1 (VM1):<div>loop back down</div><div><br></div><div><div>eth1 Link encap:Ethernet HWaddr 00:0c:29:02:7b:83 </div><div> inet addr:192.168.88.153 Bcast:192.168.88.255 Mask:255.255.255.0</div>
<div> </div></div><div>karim@ubuntu:~$ netstat -r</div>
<div>Kernel IP routing table</div><div>Destination Gateway Genmask Flags MSS Window irtt Iface</div><div>192.168.88.0 * 255.255.255.0 U 0 0 0 eth1</div><div>link-local * 255.255.0.0 U 0 0 0 eth1</div>
<div>default 192.168.88.2 0.0.0.0 UG 0 0 0 eth1</div><div> </div><div><br></div><div><br></div><div>Virtual Machine 2 (VM2):<div>loop back down</div></div><div><br></div><div><div>eth1 Link encap:Ethernet HWaddr 00:0c:29:7b:6d:d6 </div>
<div> inet addr:192.168.88.151 Bcast:192.168.88.255 Mask:255.255.255.0</div><div> </div></div><div><br></div><div><div>karim@ubuntu:~$ netstat -r</div><div>Kernel IP routing table</div><div>Destination Gateway Genmask Flags MSS Window irtt Iface</div>
<div>192.168.88.0 * 255.255.255.0 U 0 0 0 eth1</div><div>link-local * 255.255.0.0 U 0 0 0 eth1</div><div>default 192.168.88.2 0.0.0.0 UG 0 0 0 eth1</div>
</div><div><br></div><div><br></div><div><br></div><div><br></div><div>I run olsrd0.6.0 on both machines with the following commands:</div><div><br></div><div>sudo olsrd -i eth1</div><div><br></div><div>Everything seems normal and I only see the following IPs in the topology debugging messages:</div>
<div>192.168.88.153 and 192.168.88.151</div><div><br></div><div><br></div><div>I am capturing OLSR packets using libpcap and analyzing them using my own code</div><div><br></div><div>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</div>
<div><br></div><div>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</div><div><br></div><div>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.</div>
<div> </div><div>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).</div><div><br></div><div>My question is: </div><div>- where is OLSRd getting these IPs and why is it announcing them?</div>
<div><br></div><div>Has anyone observed similar behavior?</div><div><br></div><div>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).</div>
<div><br></div><div>Cheers,</div><div>Karim</div><font color="#888888"><div><br></div><div><br></div><div><br></div><div><br></div>
</font></blockquote></div><br>