[OLSR-users] linux: olsrd does not find my global IPv6 adress :/

Benjamin Hagemann (spam-protected)
Tue Sep 13 22:12:45 CEST 2005


Hello!

When I want to start olsrd only for v6 I have a little problem, v4 works
fine.

olsrd tells me with -d9: 

 ---- Interface configuration ---- 

 Checking eth1:

Wireless interface detected
        inet6 addr: 2001:06f8:09ff:0045:0000:0000:0000:0042
        Scope: 0        inet6 addr: 2001:06f8:09ff:0045:0202:2dff:fe3c:e68b
        Scope: 0        inet6 addr: fe80:0000:0000:0000:0202:2dff:fe3c:e68b
        Scope: 32       Could not find global IPv6 address for eth1
Scheduler event registered int: 2.50
No interfaces detected! This might be intentional, but it also might
mean that your configuration is fubar.
I will continue after 5 seconds...


but, there are some:

openeye:~# ifconfig eth1
eth1      Link encap:Ethernet  HWaddr 00:02:2D:3C:E6:8B  
          inet addr:10.253.0.23  Bcast:10.253.15.255  Mask:255.255.240.0
          inet6 addr: 2001:6f8:9ff:45::42/64 Scope:Global
          inet6 addr: 2001:6f8:9ff:45:202:2dff:fe3c:e68b/64 Scope:Global
          inet6 addr: fe80::202:2dff:fe3c:e68b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
	  ...

openeye:/etc# ip -6 addr
...
7: eth1: <BROADCAST,MULTICAST,UP> mtu 1500 qlen 1000
    inet6 2001:6f8:9ff:45::42/64 scope global 
       valid_lft forever preferred_lft forever
    inet6 2001:6f8:9ff:45:202:2dff:fe3c:e68b/64 scope global dynamic 
       valid_lft 2590687sec preferred_lft 603487sec
    inet6 fe80::202:2dff:fe3c:e68b/64 scope link 
       valid_lft forever preferred_lft forever

openeye:/etc# ip -6 route
2001:6f8:9ff:42::/64 dev eth0  proto kernel  metric 256  mtu 1280 advmss 1220 hoplimit 4294967295
2001:6f8:9ff:45::/64 dev eth1  proto kernel  metric 256  mtu 1280 advmss 1220 hoplimit 4294967295
fe80::/64 dev eth0  metric 256  mtu 1280 advmss 1220 hoplimit 4294967295
fe80::/64 dev eth1  metric 256  mtu 1280 advmss 1220 hoplimit 4294967295
ff00::/8 dev eth0  metric 256  mtu 1280 advmss 1220 hoplimit 4294967295
ff00::/8 dev eth1  metric 256  mtu 1280 advmss 1220 hoplimit 4294967295
unreachable default dev lo  proto none  metric -1  error -101 advmss 1220 hoplimit 255

I have no idea, why olsrd can not find one global IPv6 address for eth1.
I use kernel 2.6.13, and olsrd 0.4.9 (Build date: Apr  6 2005) and test
the CVS version.

I atattch some more detaild log files.

-- 
ciao, Benny
-------------- next part --------------
openeye:/etc# olsrd -f olsrd-6.conf -ipv6 -d 2

 *** olsr.org - 0.4.9 ***
 Build date: Apr  6 2005
 http://www.olsr.org

Parsing file: "olsrd-6.conf"
 *** olsrd configuration ***
Debug Level      : 2
IpVersion        : 6
No interfaces    : ALLOWED
TOS              : 0x10
Willingness      : AUTO
IPC connections  : 0
Pollrate         : 0.25
TC redundancy    : 2
MPR coverage     : 1
LQ level         : 2
LQ window size   : 20
Clear screen     : no
Interfaces:
 dev: "eth1"
        IPv4 broadcast           : AUTO
        IPv6 addrtype            : site-local
        IPv6 multicast site/glbl : ff05::15/ff0e::1
        HELLO emission/validity  : 3.00/60.00
        TC emission/validity     : 5.00/20.00
        MID emission/validity    : 10.00/30.00
        HNA emission/validity    : 10.00/30.00
Not using hysteresis
Could not read APM info - setting default willingness(3)
Using IP version 6

 ---- Interface configuration ---- 

Checking eth1:
        Wireless interface detected
        Could not find global IPv6 address for eth1
No interfaces detected! This might be intentional, but it also might mean that your configuration is fubar.
I will continue after 5 seconds...

-------------- next part --------------
openeye:/home/benny/cvs/olsrd-current# ./olsrd -f /etc/olsrd-6.conf -ipv6 -i eth1 -d 2

 *** olsr.org - 0.4.10-pre ***
 Build date: Sep 13 2005
 http://www.olsr.org

Parsing file: "/etc/olsrd-6.conf"
Queuing if eth1
Duplicate interfaces defined... not adding eth1
 *** olsrd configuration ***
Debug Level      : 2
IpVersion        : 6
No interfaces    : ALLOWED
TOS              : 0x10
Willingness      : AUTO
IPC connections  : 0
Pollrate         : 0.25
TC redundancy    : 2
MPR coverage     : 1
LQ level         : 2
LQ window size   : 20
Clear screen     : no
Interfaces:
 dev: "eth1"
        IPv4 broadcast           : AUTO
        IPv6 addrtype            : site-local
        IPv6 multicast site/glbl : ff05::15/ff0e::1
        HELLO emission/validity  : 3.00/60.00
        TC emission/validity     : 5.00/20.00
        MID emission/validity    : 10.00/30.00
        HNA emission/validity    : 10.00/30.00
Not using hysteresis
Could not read APM info - setting default willingness(3)
Using IP version 6
Added :: to IP deny set
Added ::1 to IP deny set

 ---- Interface configuration ---- 

Checking eth1:
        Wireless interface detected
        Could not find global IPv6 address for eth1
No interfaces detected! This might be intentional, but it also might mean that your configuration is fubar.
I will continue after 5 seconds...
Loading plugins...

Main address: ::

Scheduler started - polling every 0.25 seconds
Received signal 2 - shutting down
Deleting all routes...
HNA list:
Route list:
Closing sockets...
Closing plugins...
Restoring network state

 <<<< olsr.org - 0.4.10-pre - terminating >>>>
           http://www.olsr.org
											  
-------------- next part --------------
openeye:/etc# olsrd -d 2

 *** olsr.org - 0.4.9 ***
 Build date: Apr  6 2005
 http://www.olsr.org

Parsing file: "/etc/olsrd.conf"
 *** olsrd configuration ***
Debug Level      : 2
IpVersion        : 4
No interfaces    : ALLOWED
TOS              : 0x10
Willingness      : AUTO
IPC connections  : 1
        Host 127.0.0.1
Pollrate         : 0.25
TC redundancy    : 2
MPR coverage     : 1
LQ level         : 2
LQ window size   : 20
Clear screen     : no
Interfaces:
 dev: "eth1"
        IPv4 broadcast           : AUTO
        IPv6 addrtype            : site-local
	IPv6 multicast site/glbl : ff05::15/ff0e::1
	HELLO emission/validity  : 3.00/60.00
	TC emission/validity     : 5.00/20.00
	MID emission/validity    : 10.00/30.00
	HNA emission/validity    : 10.00/30.00
Not using hysteresis
Could not read APM info - setting default willingness(3)
Using IP version 4
 ---- Interface configuration ---- 

Checking eth1:
        Wireless interface detected
        Metric: 1
        MTU - IPhdr: 1472
        Index 0
        Address:10.253.0.23
        Netmask:255.255.240.0
        Broadcast address:10.253.15.255
Adding OLSR socket entry 5
New main address: 10.253.0.23
Adding OLSR socket entry 6
Loading plugins...

Main address: 10.253.0.23

Scheduler started - polling every 0.25 seconds
Received signal 2 - shutting down
Deleting all routes...
HNA list:
Route list:
Closing sockets...
Shutting down IPC...
Closing plugins...
Restoring network state

 <<<< olsr.org - 0.4.9 - terminating >>>>
           http://www.olsr.org
								     
-------------- next part --------------
DebugLevel              0
IpVersion               6
AllowNoInt              yes
Pollrate                0.25
TcRedundancy            2
LinkQualityWinSize      20
Hna4
{
}
Hna6
{
}
IpcConnect
{
#MaxConnections  1
#Host            fe80::202:2dff:fe3c:e68b
}
LinkQualityLevel 2
UseHysteresis no
Interface "eth1"
{
HelloInterval           3.0
HelloValidityTime       60.0
TcInterval              5.0
TcValidityTime          20.0
MidInterval             10.0
MidValidityTime         30.0
HnaInterval             10.0
HnaValidityTime         30.0
}
-------------- next part --------------
DebugLevel              0
IpVersion               4
AllowNoInt              yes
Pollrate                0.25
TcRedundancy            2
LinkQualityWinSize      20
Hna4
{
}
IpcConnect
{
MaxConnections  1
Host            127.0.0.1
}
LinkQualityLevel 2
UseHysteresis no
Interface "eth1"
{
HelloInterval           3.0
HelloValidityTime       60.0
TcInterval              5.0
TcValidityTime          20.0
MidInterval             10.0
MidValidityTime         30.0
HnaInterval             10.0
HnaValidityTime         30.0
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.olsr.org/pipermail/olsr-users/attachments/20050913/85fc4315/attachment.sig>


More information about the Olsr-users mailing list