[Olsr-dev] HNA ipv6 error suing NETLINK
Fanta Private
(spam-protected)
Thu Jul 8 14:27:45 CEST 2010
When announcing HNA6 message using IPv6 the route from receiver HNA6 is not
inserted into routing rules.
........see network topology below.
Produced error from syslog:
Receiver netlink error code Invalid argument [-22]
. error: add route to fec0:2200:106:://48 via 301::1
...
...
HNA message is received correctly, even thought that there is
[Error:Malformed]: proto.c:1189 failed asserion "length==16" announcing by
Wireshark.
The point, where it fail is: called function olsr_netlink_send(struct
nlmsghdr) in file /linux/kernel_routes_nl.c
Parametres given to the function (which call above function)
olsr_new_netlink_route(...) are formed well. But anyway the error at
err = olsr_netlink_send(&req.n) line 424, does not process correctly.
For IPv4 it is working without emerging error and with correct adding to
route table.
Error occurs while In funtion olsr_netlink_send(....) are parameters:
*src: null
*gw: ...........data..........
*src ............data .........
The error does not occur where is called e.g by tc_set.c -- so adding just
route entry with /128 prefix
*src: null
*hw: null
*src: .........data ........
_____________
Network topology scenario:
1st node: eth1 -- ipv6 301::1/64 HNA6: fec0:2200:106:0:0:0:0:0 48
701:2200:106:0:0:0:0:0 50
2nd node eth1 -- ipv6 301::2/64
they hears each other. Both nodes Ubuntu 9. olsrd-0-6.0
________________
Any idea how to fix it?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.olsr.org/pipermail/olsr-dev/attachments/20100708/74fecd38/attachment.html>
More information about the Olsr-dev
mailing list