[Olsr-users] Segmentation_fault:n

Henning Rogge (spam-protected)
Wed Mar 9 10:43:53 CET 2016


Hmm...

I don't see any mesh interfaces defined... did you cut out a part of your
configuration or did you set them with command line options?

This looks like a pure DLEP router receiver configuration without any
OLSRd2 component... but you get a segfault in NHDP.

Henning

On Wed, Mar 9, 2016 at 9:38 AM, s-mtafel <(spam-protected)> wrote:

>
> Wow... this code has not been touched for quite a while...
>
>
> Yes, I am convinced that is the case. Must be down to a config issue.
>
>
>
> Could you send me your configuration and the output of "ip addr" on both
> nodes?
>
>
> *1. OLSR-Dlep-ROUTER-sender:*
>
> *config:*
>
> [log]
> debug nhdp
> debug plugins
> [global]
> plugin dlep_router
> plugin_path <path_to_plugins>
> [dlep_router=eth0]
> local_heartbeat_interval 4.0
> discovery_interval 15.0
> discovery_port 2001
> connect_to 198.18.10.100
> connect_to_port 2001
> [dlep_router=eth1]
> local_heartbeat_interval 4.0
> discovery_interval 15.0
> discovery_port 2001
> connect_to 198.18.20.100
> connect_to_port 2001
>
> *ip:*
>
>
>
>
>
>
> *1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group
> default link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet
> 127.0.0.1/8 <http://127.0.0.1/8> scope host lo valid_lft forever
> preferred_lft forever inet6 ::1/128 scope host valid_lft forever
> preferred_lft forever*
>
>
>
>
>
>
> *9267: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
> state UP group default qlen 1000 link/ether 00:00:00:aa:00:01 brd
> ff:ff:ff:ff:ff:ff inet 198.18.10.1/24 <http://198.18.10.1/24> scope global
> eth0 valid_lft forever preferred_lft forever inet6 fe80::200:ff:feaa:1/64
> scope link valid_lft forever preferred_lft forever*
>
>
>
>
>
>
> *9272: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
> state UP group default qlen 1000 link/ether 00:00:00:aa:00:03 brd
> ff:ff:ff:ff:ff:ff inet 198.18.20.1/24 <http://198.18.20.1/24> scope global
> eth1 valid_lft forever preferred_lft forever inet6 fe80::200:ff:feaa:3/64
> scope link valid_lft forever preferred_lft forever*
>
>
>
>
>
>
>
> *9295: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
> state UP group default qlen 1000 link/ether 00:00:00:aa:00:0d brd
> ff:ff:ff:ff:ff:ff inet 198.18.1.2/24 <http://198.18.1.2/24> scope global
> eth2 valid_lft forever preferred_lft forever inet6 fe80::200:ff:feaa:d/64
> scope link valid_lft forever preferred_lft forever*
>
> *2.**OLSR-Dlep-ROUTER-rcv:*
>
> *config:*
>
> [log]
> debug nhdp
> debug plugins
> [global]
> plugin dlep_router
> plugin_path <path_to_plugins>
> [dlep_router=eth0]
> local_heartbeat_interval 4.0
> discovery_interval 15.0
> discovery_port 2001
> connect_to 198.18.30.100
> connect_to_port 2001
> [dlep_router=eth1]
> local_heartbeat_interval 4.0
> discovery_interval 15.0
> discovery_port 2001
> connect_to 198.18.40.100
> connect_to_port 2001
>
> *ip:*
>
>  1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group
> default
> link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
> inet 127.0.0.1/8 scope host lo
> valid_lft forever preferred_lft forever
> inet6 ::1/128 scope host
> valid_lft forever preferred_lft forever
>
> 9277: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
> state UP group default qlen 1000
> link/ether 00:00:00:aa:00:05 brd ff:ff:ff:ff:ff:ff
> inet 198.18.30.1/24 scope global eth0
> valid_lft forever preferred_lft forever
> inet6 fe80::200:ff:feaa:5/64 scope link
> valid_lft forever preferred_lft forever
>
> 9280: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
> state UP group default qlen 1000
> link/ether 00:00:00:aa:00:06 brd ff:ff:ff:ff:ff:ff
> inet 198.18.40.1/24 scope global eth1
> valid_lft forever preferred_lft forever
> inet6 fe80::200:ff:feaa:6/64 scope link
> valid_lft forever preferred_lft forever
> 9300: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
> state UP group default qlen 1000
>
> link/ether 00:00:00:aa:00:0f brd ff:ff:ff:ff:ff:ff
> inet 198.18.2.2/24 scope global eth2
> valid_lft forever preferred_lft forever
> inet6 fe80::200:ff:feaa:f/64 scope link
> valid_lft forever preferred_lft forever
>
> I added the topology as well: don't get distracted by the swifes. Those
> are just tunnels to the dlep_bound briged radios. The router get the
> mcasts(hellos) from each other via our waveforms. I can confirm that. The
> packets are fine as far as wireshark can tell. So it must be a config issue!
> Thanks!
>
> Matthias
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.olsr.org/pipermail/olsr-users/attachments/20160309/7a15cb24/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: topology.png
Type: image/png
Size: 39203 bytes
Desc: not available
URL: <http://lists.olsr.org/pipermail/olsr-users/attachments/20160309/7a15cb24/attachment-0001.png>


More information about the Olsr-users mailing list