[olsr-dev] Re: multiple ip address on the olsrd iface

Andreas Tønnesen (spam-protected)
Thu Feb 23 14:23:00 CET 2006


Hi Magesh,

This problem would be easy to solve if we were building our own IP
headers. That's why I started working on using libnet in olsrd. Everything
went fine until I started testing IPv6. It turns out that IPv6/UDP crashes
libnet! I wrote a mail to the libnet mailinglist regarding this - but the
list seems to be dead...
Anyways, I'm not sure who to solve this problem in any other way than
start using raw IP sockets. I guess we might consider that... I can't
promise you anything regarding when(and if) this will be ready. If the
libnet solution had worked it would have been fixed in january :-(


- Andreas

> Hi
>
>   This mail is a follow up to the discussions we had way back in Dec 8th
> (multiple ip address on the olsrd iface)
> (http://www.olsr.org/pipermail/olsr-users/2005-December/085636.html)
>
>   At that time, i remember you saying that you would address this problem
> after 0.4.10 release. Now that it has been nearly 2 months of .10
> release, can you please try solving this problem if time permits.
>
>   I suspect that the link table, neighbor set and,2 -hop neighbor tables
> are not getting flushed as soon as the address changes.
>
>   Let me elobrate my scenario again for you to analyse
>
>   I  have 3 neighbor nodes (n1,n2 and n3). n1 has two interfaces (one
> wired (eth2) and one ad-hoc wireless (eth1)); olsrd runs on both the
> ifaces and eth2 HNA's to the external ipv6 network. Other 2 nodes n2 and
> n3 has olsrd running on only one iface (eth1).
>
>       ------- (eth2)n1(eth1)----n2(eth1)---n3(eth1)----
>
>
>
> My IP configs are below
>
>   N1:
>   HNA: 2001:100:200:1::/64
> eth2:2001:620:500:8::2/64
> eth1:2001:620:500:30::1/64
>
>   N2:
>   eth1: 2001:620:500:5::1/64 (to start with)
> (later add):  2001:620:500:6::1/64
>
>   N3:
> eth1: 2001:620:500:5::2/64 (to start with)
> (later add):  2001:620:500:6::2/64
>
>   I start with only one Ipv6 address assigned to the eth1 of n2 and n3
> (2001:620:500:5::1/64 and 2001:620:500:5::2/64 respectively). i run olsr
> and works fine. I could ping6 the neighbours. Now i add another ipv6
> address to eth1 of n2 and n3 (2001:620:500:6::1/64 and
> 2001:620:500:6::2/64 respectively). Now i find olsrd running and the
> routing table is formed but they dont seem to be correct. Also when i
> ping6 the neighbors iam unable to.
>   I am attaching my logs files (ethereal capture, olsrd debug msg and
> routing table).(olsr_ipv6_log.tgz)
>
>   N1 log files
>   ethereal-n1
> olsr-n1
> route-n1-address1 (only one address assigned to eth1 of  n2 and n3
> (2001:620:500:5::1/64and
>   2001:620:500:5::2/64 respectively)
>   route-n1-address2 (2 addresses assigned to eth1 of n2 and n3
> (2001:620:500:5::1/64,
>   2001:620:500:6::1/64 and 2001:620:500:5::2/64, 2001:620:500:6::2/64
> respectively)
>
>   N2 log files
>   ethereal-n2
> olsr-n2
> route-n2-address1 (only one address assigned to  n2 and n3
> (2001:620:500:5::1/64and
>   2001:620:500:5::2/64 respectively)
> route-n2-address2 (2 addresses assigned to eth1 of n2 and n3
> (2001:620:500:5::1/64,
>   2001:620:500:6::1/64 and 2001:620:500:5::2/64, 2001:620:500:6::2/64
> respectively)
>
> N3 log files
>   ethereal-n3
> olsr-n3
> route-n3-address1 (only one address assigned to  n2 and n3
> (2001:620:500:5::1/64and
>   2001:620:500:5::2/64 respectively)
> route-n3-address2 (2 addresses assigned to eth1 of n2 and n3
> (2001:620:500:5::1/64,
>   2001:620:500:6::1/64 and 2001:620:500:5::2/64, 2001:620:500:6::2/64
> respectively)
>
>   Please find attached the log files.
>
>   Eagerly waiting for suggestions.Kindly let me know if any further
> informations are necessary
>
>
>   Many Thanks
>   Magesh
>
>
>
>
> ---------------------------------
>  Yahoo! Mail
>  Use Photomail to share photos without annoying attachments.






More information about the Olsr-dev mailing list