<div dir="ltr"><div>ifconfig radio port on router neighbour :<br><br>mesh0     Link encap:Ethernet  HWaddr CE:C0:48:BC:B8:9F  <br>          inet addr:44.128.100.2  Bcast:255.255.255.255  Mask:255.255.255.255<br>          inet6 addr: fe80::2c80:6402:2c80:6402/64 Scope:Link<br>          UP BROADCAST RUNNING MULTICAST  MTU:1532  Metric:1<br>          RX packets:166 errors:0 dropped:0 overruns:0 frame:0<br>          TX packets:191 errors:0 dropped:0 overruns:0 carrier:0<br>          collisions:0 txqueuelen:1000 <br>          RX bytes:16379 (15.9 KiB)  TX bytes:22958 (22.4 KiB)<br><br></div>When connect to babeld 'nc :: 33123' show<br><div><br>BABEL 0.0<br>add self <a href="http://SP2ONG-3.ampr.org">SP2ONG-3.ampr.org</a> id 2c:80:64:03:2c:80:64:03<br>add neighbour 8cd250 address fe80::2c80:6402:2c80:6402 if mesh0 reach ffff rxcost 256 txcost 256 cost 256<br>add xroute <a href="http://44.128.100.3/32-::/0">44.128.100.3/32-::/0</a> prefix <a href="http://44.128.100.3/32">44.128.100.3/32</a> from ::/0 metric 128<br>add route <a href="http://44.128.100.2/32-8cd250-::/0">44.128.100.2/32-8cd250-::/0</a> prefix <a href="http://44.128.100.2/32">44.128.100.2/32</a> from ::/0 installed yes id 02:0e:8e:ff:fe:23:e9:40 metric 384 refmetric 128 via fe80::2c80:6402:2c80:6402 if mesh0<br>done<br><br>It maybe useful will be instead:<br><br>add neighbour 8cd250 address fe80::2c80:6402:2c80:6402 if mesh0 reach ffff rxcost 256 txcost 256 cost 256<br><br>add ipv4 address neighbour:<br><br>add neighbour 8cd250 address fe80::2c80:6402:2c80:6402 44.128.100.2 if mesh0 reach ffff rxcost 256 txcost 256 cost 256<br><br></div><div>the address ipv6  fe80::2c80:6402:2c80:6402 is local and generate by system ipv4 is unique and assign by user but more useful to identifier node<br><br><br></div><div><br><br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-07-11 16:47 GMT+02:00 Juliusz Chroboczek <span dir="ltr"><<a href="mailto:jch@pps.univ-paris-diderot.fr" target="_blank">jch@pps.univ-paris-diderot.fr</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">> Ok but how to do table with neighbours where will be more for me and<br>
> other identifier of node (like name, or better ipv4 address) instead<br>
> local IPv6 address which is generate by kernel for radio port<br>
<br>
</span>Babel is a routing protocol, and it is carefully designed to not carry any<br>
extraneous information -- just the strict minimum that is needed for<br>
routing.  Since Babel doesn't need to associate neighbour interfaces to<br>
nodes, it doesn't.<br>
<br>
There are many solutions to what you want to do.  The simplest would<br>
probably be to have a dedicated protocol that periodically multicasts its<br>
Babel router-id.<br>
<br>
You could also send the router-id as a sub-TLV of Babel's Hello TLV.<br>
Sub-TLVs 224 through 254 are reserved for non-standard extensions, and the<br>
place in the code is the function send_hello_noupdate in message.c.<br>
<span class="HOEnZb"><font color="#888888"><br>
-- Juliusz<br>
<br>
</font></span></blockquote></div><br></div>