[Olsr-users] IPv6 on OLSR

FlaNKoUTt Soares (spam-protected)
Tue Aug 10 21:47:54 CEST 2010


Hello,

me and my colleague have a MANET running olsrd 0.6.0. It is fully working with IPv4. Now we want to put IPv6 on it. But we are having some problems on knowing how it is done.

We send in append to this e-mail our current olsrd.conf configuration. The output showed in the Console is shown next:

 (spam-protected):/etc/udev/rules.d$ sudo olsrd -ipv6

 *** olsr.org - 0.6.0 ***
 Build date: 2010-07-12 18:41:48 on ubuntu
 http://www.olsr.org

Parsing file: "/etc/olsrd.conf"
Debug level: 2
IpVersion: 6
FIBMetric: flat
Smart gateway system: enabled
Smart gateway allow client nat: yes
Smart gateway uplink: both
Smart gateway uplink nat: yes
HNA IPv6 entry: 0::/0
Link quality fish eye 1
setting ifs_in_curr_cfg = 0
    IPv6 multicast: FF02::1
No policy rule for rt_table_pri
Choose priority 32776 for rt_table_defaultolsr_pri
Choose priority 32786 for rt_table_tunnel_pri
Choose priority 32796 for rt_table_default_pri
    IPv4 broadcast/multicast : AUTO
    Mode           : mesh
    IPv6 multicast           : ff02::1
    HELLO emission/validity  : 0.00/0.00
    TC emission/validity     : 0.00/0.00
    MID emission/validity    : 0.00/0.00
    HNA emission/validity    : 0.00/0.00
    Autodetect changes       : no
 *** olsrd configuration ***
Debug Level      : 2
IpVersion        : 6
No interfaces    : ALLOWED
TOS              : 0x10
OlsrPort          : 0x2ba
RtTable          : 254
RtTableDefault   : 223
RtTableTunnel    : 224
Willingness      : 3
IPC connections  : 0
Pollrate         : 0.05
NIC ChangPollrate: 2.50
TC redundancy    : 2
MPR coverage     : 7
LQ level         : 2
LQ fish eye      : 1
LQ aging factor  : 0.050000
LQ algorithm name: default
NAT threshold    : 1.000000
Clear screen     : yes
Use niit         : yes
Smart Gateway    : yes
SmGw. Allow NAT  : yes
Smart Gw. Uplink : both
SmGw. Uplink NAT : yes
Smart Gw. speed  : 128 kbit/s up, 1024 kbit/s down
# Smart Gw. prefix : ::/0
 InterfaceDefaults: 
    IPv4 broadcast/multicast : AUTO
    Mode           : mesh
    IPv6 multicast           : ff02::6d
    HELLO emission/validity  : 2.00/20.00
    TC emission/validity     : 5.00/300.00
    MID emission/validity    : 5.00/300.00
    HNA emission/validity    : 5.00/300.00
    Autodetect changes       : yes
 dev: "wlan0"
    IPv4 broadcast/multicast : AUTO (d)
    Mode           : mesh (d)
    IPv6 multicast           : ff02::1
    HELLO emission/validity  : 2.00 (d)/20.00 (d)
    TC emission/validity     : 5.00 (d)/300.00 (d)
    MID emission/validity    : 5.00 (d)/300.00 (d)
    HNA emission/validity    : 5.00 (d)/300.00 (d)
    Autodetect changes       : yes (d)
Not using hysteresis
HNA6 entries:
    ::/0
ioctl SIOCGIFFLAGS (get flags) error on device ip6tnl0: No such device (19)
Warning, niit4to6 device is not available, deactivating NIIT
Error, cannot open proc entry /proc/sys/net/ipv4/conf/tunl0/rp_filter: No such file or directory (2)
WARNING! Could not disable the IP spoof filter for tunnel!
you should mannually ensure that IP spoof filtering is disabled!

Error, cannot open proc entry /proc/sys/net/ipv4/conf/ip6tnl0/rp_filter: No such file or directory (2)
WARNING! Could not disable the IP spoof filter for tunnel6!
you should mannually ensure that IP spoof filtering is disabled!

Added :: to IP deny set
Added ::1 to IP deny set

 ---- Interface configuration ---- 

Checking wlan0:
    Wireless interface detected
No interfaces detected! This might be intentional, but it also might mean that your configuration is fubar.
I will continue after 5 seconds...
OLSR encountered multiple problems on startup, which should delay startup by 11 seconds.
As this is quite much time, OLSR will sleep only 5 seconds.
BUT YOU SHOULD FIX ABOVE PROBLEMS!
Using 'etx_ff' algorithm for lq calculation.
-- ALL PLUGINS LOADED! --

Main address: ::

Scheduler started - polling every 0.050000 ms
^CReceived signal 2 - shutting down
Deleting all routes...
Closing sockets...
Closing plugins...
Restoring network state
Error, cannot open proc entry /proc/sys/net/ipv4/conf/tunl0/rp_filter: No such file or directory (2)
WARNING! Could not restore the IP spoof filter for tunnel!
Error, cannot open proc entry /proc/sys/net/ipv4/conf/ip6tnl0/rp_filter: No such file or directory (2)
WARNING! Could not restore the IP spoof filter for tunnel6!
Free all memory...

 <<<< olsr.org - 0.6.0 - terminating >>>>
           http://www.olsr.org



It appears that olsrd can't detect our wlan0 interface and we don't know why because it's fully working. Please look at our config of the commands put in olsrd.conf in the Interface "wlan0" part too.

We will really appreciate an answer to our problem.

Best regards
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.olsr.org/pipermail/olsr-users/attachments/20100810/d8017ce3/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: olsrd.conf
Type: application/octet-stream
Size: 6658 bytes
Desc: not available
URL: <http://lists.olsr.org/pipermail/olsr-users/attachments/20100810/d8017ce3/attachment.obj>


More information about the Olsr-users mailing list