[OLSR-users] problem with Ip6MulticastGlobal in /etc/olsrd.conf

Andreas Tønnesen (spam-protected)
Fri Dec 2 19:06:25 CET 2005



Seems I read the mail a bit to fast... In your case2 could you
provide the IPv6 routing table, the output of 'ifconfig eth0'
and the olsr configuration file?

- Andreas

Andreas Tønnesen wrote:
> Hi,
> 
> Correct me if I'm wrong, but ff05:: addresses are site-local addresses
> AFAIK. You cannot use a site-local multicast for global multicasting.
> 
> As for the segfault, I'll try and reproduce it. But if you have time to
> create a binary and coredump as described on
> http://www.olsr.org/index.cgi?action=bugs
> that would be very helpfull to debug the problem.
> 
> Thanks.
> 
> - Andreas
> 
> Magesh mannar wrote:
> 
>> Hi
>>
>> Today i was playing with ipv6mulicastglobal address
>> and experienced some strange experience. Probably the
>> mcast socket ins not initialised properly
>>
>> case 1:
>>
>> i set the  Ip6MulticastGlobal to ff05::1 (instead of
>> ff0e::1) in /etc/olsrd.conf and assign global unicast
>> address to my interface. On running olsrd i got seg
>> fault
>>
>> [(spam-protected) root]#
>> /root/olsrd-0.4.10-cvs/olsrd-current/olsrd -d 9 -ipc
>> -ipv6 -i eth1
>>  
>>  *** olsr.org - 0.4.10-pre ***
>>  Build date: Dec  1 2005
>>  http://www.olsr.org
>>  
>> Parsing file: "/etc/olsrd.conf"
>> Queuing if eth1
>> Duplicate interfaces defined... not adding eth1
>>  *** olsrd configuration ***
>> Debug Level      : 9
>> IpVersion        : 6
>> No interfaces    : ALLOWED
>> TOS              : 0x10
>> Willingness      : AUTO
>> IPC connections  : 1
>>         Host 127.0.0.1
>> Pollrate         : 0.05
>> TC redundancy    : 0
>> MPR coverage     : 1
>> LQ level         : 0
>> LQ fish eye      : 0
>> LQ Dijkstra limit: 255, 0.00
>> LQ window size   : 10
>> Clear screen     : yes
>> Interfaces:
>>  dev: "eth1"
>>         IPv4 broadcast           : AUTO
>>         IPv6 addrtype            : global
>>         IPv6 multicast site/glbl : ff05::15/ff05::1
>>         HELLO emission/validity  : 2.00/6.00
>>         TC emission/validity     : 5.00/15.00
>>         MID emission/validity    : 5.00/15.00
>>         HNA emission/validity    : 5.00/15.00
>> Not using hysteresis
>>  
>> IP forwarding is enabled on this system
>> Initializing parser...
>> Parser: registering event for type 1
>> Register parse function: Added function for type 1
>> Parser: registering event for type 2
>> Register parse function: Added function for type 2
>> Parser: registering event for type 3
>> Register parse function: Added function for type 3
>> Parser: registering event for type 4
>> Register parse function: Added function for type 4
>> Scheduler event registered int: 20.00
>> Initializing APM
>> APM info:
>>         AC status 134688512
>>         Battery percentage 7%
>>         Battery time left -1073744744 mins
>>  
>> 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
>>         inet6 addr:
>> fe80:0000:0000:0000:020d:88ff:fe91:fdff
>>         Scope: 32
>>         inet6 addr:
>> 2001:0620:0500:0029:020d:88ff:fe91:fdff
>>         Scope: 0
>> Found addr: 2001:0620:0500:0029:020d:88ff:fe91:fdff
>>         Address: 2001:620:500:29:20d:88ff:fe91:fdff
>>         Multicast: ff05::1
>>         Metric: 1
>>         MTU - IPhdr: 1452
>>         Index 0
>>         Address: 2001:620:500:29:20d:88ff:fe91:fdff
>>         Multicast: ff05::1
>> Binding socket 5 to device eth1
>> Interface eth1 joining multicast ff05::1...OK
>> Adding OLSR socket entry 5
>> New main address: 2001:620:500:29:20d:88ff:fe91:fdff
>> Scheduler event registered int: 2.00
>> Scheduler event registered int: 5.00
>> Scheduler event registered int: 5.00
>> Scheduler event registered int: 5.00
>> Scheduler event registered int: 2.50
>> Scheduler event registered int: 0.60
>> Parser: registering event for type -1
>> Register parse function: Added function for type -1
>> Adding OLSR socket entry 6
>> Initializing duplicatetable - hashsize 32
>> Scheduler event registered int: 2.00
>> TC: init topo
>> MPRS: Init
>> MID: init
>> Scheduler event registered int: 1.00
>> Scheduler event registered int: 1.00
>> Loading plugins...
>>  
>> Main address: 2001:620:500:29:20d:88ff:fe91:fdff
>>  
>> Scheduler started - polling every 0.05 seconds
>> Max jitter is 0.500000
>>  
>> |       inet6 addr:
>> fe80:0000:0000:0000:020d:88ff:fe91:fdff
>>         Scope: 32
>>         inet6 addr:
>> 2001:0620:0500:0029:020d:88ff:fe91:fdff
>>         Scope: 0
>> Found addr: 2001:0620:0500:0029:020d:88ff:fe91:fdff
>> Segmentation fault
>>
>> case 2:
>>
>> I set the Ip6MulticastGlobal to ff0e::1 in
>> /etc/olsrd.conf and start olsrd. Iam getting the
>> foillwing messgae
>>
>> sendto(v6): Network is unreachable
>> Socket: 5 interface: 0
>> To: ff0e::1 (size: 28)
>> Outputsize: 52
>>
>> and no olsr packets are going through the iface
>>
>> [(spam-protected) root]#
>> /root/olsrd-0.4.10-cvs/olsrd-current/olsrd -d 9 -ipc
>> -ipv6 -i eth1
>>  
>>  *** olsr.org - 0.4.10-pre ***
>>  Build date: Dec  1 2005
>>  http://www.olsr.org
>>  
>> Parsing file: "/etc/olsrd.conf"
>> Queuing if eth1
>> Duplicate interfaces defined... not adding eth1
>>  *** olsrd configuration ***
>> Debug Level      : 9
>> IpVersion        : 6
>> No interfaces    : ALLOWED
>> TOS              : 0x10
>> Willingness      : AUTO
>> IPC connections  : 1
>>         Host 127.0.0.1
>> Pollrate         : 0.05
>> TC redundancy    : 0
>> MPR coverage     : 1
>> LQ level         : 0
>> LQ fish eye      : 0
>> LQ Dijkstra limit: 255, 0.00
>> LQ window size   : 10
>> Clear screen     : yes
>> Interfaces:
>>  dev: "eth1"
>>         IPv4 broadcast           : AUTO
>>         IPv6 addrtype            : global
>>         IPv6 multicast site/glbl : ff05::15/ff0e::1
>>         HELLO emission/validity  : 2.00/6.00
>>         TC emission/validity     : 5.00/15.00
>>         MID emission/validity    : 5.00/15.00
>>         HNA emission/validity    : 5.00/15.00
>> Not using hysteresis
>>  
>> IP forwarding is enabled on this system
>> Initializing parser...
>> Parser: registering event for type 1
>> Register parse function: Added function for type 1
>> Parser: registering event for type 2
>> Register parse function: Added function for type 2
>> Parser: registering event for type 3
>> Register parse function: Added function for type 3
>> Parser: registering event for type 4
>> Register parse function: Added function for type 4
>> Scheduler event registered int: 20.00
>> Initializing APM
>> APM info:
>>         AC status 134688512
>>         Battery percentage 7%
>>         Battery time left -1073744744 mins
>>  
>> 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
>>         inet6 addr:
>> fe80:0000:0000:0000:020d:88ff:fe91:fdff
>>         Scope: 32
>>         inet6 addr:
>> 2001:0620:0500:0029:020d:88ff:fe91:fdff
>>         Scope: 0
>> Found addr: 2001:0620:0500:0029:020d:88ff:fe91:fdff
>>         Address: 2001:620:500:29:20d:88ff:fe91:fdff
>>         Multicast: ff0e::1
>>         Metric: 1
>>         MTU - IPhdr: 1452
>>         Index 0
>>         Address: 2001:620:500:29:20d:88ff:fe91:fdff
>>         Multicast: ff0e::1
>> Binding socket 5 to device eth1
>> Interface eth1 joining multicast ff0e::1...OK
>> Adding OLSR socket entry 5
>> New main address: 2001:620:500:29:20d:88ff:fe91:fdff
>> Scheduler event registered int: 2.00
>> Scheduler event registered int: 5.00
>> Scheduler event registered int: 5.00
>> Scheduler event registered int: 5.00
>> Scheduler event registered int: 2.50
>> Scheduler event registered int: 0.60
>> Parser: registering event for type -1
>> Register parse function: Added function for type -1
>> Adding OLSR socket entry 6
>> Initializing duplicatetable - hashsize 32
>> Scheduler event registered int: 2.00
>> TC: init topo
>> MPRS: Init
>> MID: init
>> Scheduler event registered int: 1.00
>> Scheduler event registered int: 1.00
>> Loading plugins...
>>  
>> Main address: 2001:620:500:29:20d:88ff:fe91:fdff
>>  
>> Scheduler started - polling every 0.05 seconds
>> Max jitter is 0.500000
>>  
>> |       inet6 addr:
>> fe80:0000:0000:0000:020d:88ff:fe91:fdff
>>         Scope: 32
>>         inet6 addr:
>> 2001:0620:0500:0029:020d:88ff:fe91:fdff
>>         Scope: 0
>> Found addr: 2001:0620:0500:0029:020d:88ff:fe91:fdff
>> Got HELLO vtime: 6.000000 htime: 2.000000
>> Willingness for 2001:620:500:29:20d:88ff:fe91:fe33
>> changed from 0 to 3 - UPDATING
>>  
>>        *** olsr.org - 0.4.10-pre (Dec  1 2005) ***
>>                                                       
>>                          **RECALCULATING MPR**
>>                                                       
>>                          Two hop neighbors: 0
>> ************** TABLES ****************
>> Routing table:
>> ROUTING TABLE
>> DESTINATION     NEXT HOP        HOPCNT  INTERFACE
>> Old table:
>> ROUTING TABLE
>> DESTINATION     NEXT HOP        HOPCNT  INTERFACE
>> **************************************
>> Updating kernel routes...
>> Updating kernel HNA routes...
>> HNA table:
>> ROUTING TABLE
>> DESTINATION     NEXT HOP        HOPCNT  INTERFACE
>> mid set: 11:42:40.040489
>>                                                       
>>                          DUP TABLE:
>>                                                       
>>                          
>>                                                       
>>                          --- 11:42:40.04
>> ------------------------------------------------- HNA
>> SET
>>  
>> IP net/prefixlen               GW IP
>>  
>> --- 11:42:40.04
>> ----------------------------------------------------
>> LINKS
>>  
>> IP address                               hyst   LQ    lost   total  
>> NLQ    ETX
>> 2001:620:500:29:20d:88ff:fe91:fe33       0.000  0.000 0      0      
>> 0.000  0.00 --- 11:42:40.04
>> ------------------------------------------------
>> NEIGHBORS
>>  
>> IP address                               LQ     NLQ   SYM   MPR   
>> MPRS  will
>> 2001:620:500:29:20d:88ff:fe91:fe33       0.000  0.000 NO    NO    NO    3
>>  
>> --- 11:42:40.04
>> -------------------------------------------------
>> TOPOLOGY
>>  
>> Source IP addr                Dest IP addr                   LQ     
>> ILQ    ETX
>> sendto(v6): Network is unreachable
>> Socket: 5 interface: 0
>> To: ff0e::1 (size: 28)
>> Outputsize: 52
>> Got HELLO vtime: 6.000000 htime: 2.000000
>> \       inet6 addr:
>> fe80:0000:0000:0000:020d:88ff:fe91:fdff
>>         Scope: 32
>>         inet6 addr:
>> 2001:0620:0500:0029:020d:88ff:fe91:fdff
>>         Scope: 0
>> Found addr: 2001:0620:0500:0029:020d:88ff:fe91:fdff
>> 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.10-pre - terminating >>>>
>>            http://www.olsr.org
>>
>>  
>>
>>
>>
>>
>>
>>        
>> __________________________________________ Yahoo! DSL – Something to 
>> write home about. Just $16.99/mo. or less. dsl.yahoo.com
>>
>> _______________________________________________
>> olsr-users mailing list
>> (spam-protected)
>> https://www.olsr.org/mailman/listinfo/olsr-users
> 
> 
> _______________________________________________
> olsr-users mailing list
> (spam-protected)
> https://www.olsr.org/mailman/listinfo/olsr-users




More information about the Olsr-users mailing list