Hello! I testing the radv protocol with bird 1.3.1, but no luck. The configuration is simple: router id 1.2.3.4; debug protocols all; protocol kernel { persist; scan time 20; export all; } protocol device { scan time 10; } protocol static { } protocol radv { #interface "eth*"; interface "dummy0"; }; In the log i see the following: Jun 24 14:12:46 router2 bird6: radv1: Starting Jun 24 14:12:46 router2 bird6: radv1: State changed to feed Jun 24 14:12:46 router2 bird6: Started Jun 24 14:12:46 router2 bird6: device1: State changed to up Jun 24 14:12:46 router2 bird6: kernel1: Connected to table master Jun 24 14:12:46 router2 bird6: kernel1: State changed to up Jun 24 14:12:46 router2 bird6: static1 < interface lo goes up Jun 24 14:12:46 router2 bird6: static1 < interface eth0 goes up Jun 24 14:12:46 router2 bird6: static1 < interface eth1 goes up Jun 24 14:12:46 router2 bird6: static1 < interface eth2 goes up Jun 24 14:12:46 router2 bird6: static1 < interface eth3 created Jun 24 14:12:46 router2 bird6: static1 < interface eth1.3 goes up Jun 24 14:12:46 router2 bird6: static1 < interface ipsec0 goes up Jun 24 14:12:46 router2 bird6: static1 < interface ipsec1 created Jun 24 14:12:46 router2 bird6: static1 < interface dummy0 goes up Jun 24 14:12:46 router2 bird6: static1: State changed to up Jun 24 14:12:46 router2 bird6: radv1 < interface lo goes up Jun 24 14:12:46 router2 bird6: radv1 < primary address ::1/128 on interface lo added Jun 24 14:12:46 router2 bird6: radv1 < interface eth0 goes up Jun 24 14:12:46 router2 bird6: radv1 < primary address fe80::/64 on interface eth0 added Jun 24 14:12:46 router2 bird6: radv1 < interface eth1 goes up Jun 24 14:12:46 router2 bird6: radv1 < primary address fe80::/64 on interface eth1 added Jun 24 14:12:46 router2 bird6: radv1 < interface eth2 goes up Jun 24 14:12:46 router2 bird6: radv1 < primary address fe80::/64 on interface eth2 added Jun 24 14:12:46 router2 bird6: radv1 < interface eth3 created Jun 24 14:12:46 router2 bird6: radv1 < interface eth1.3 goes up Jun 24 14:12:46 router2 bird6: radv1 < primary address fe80::/64 on interface eth1.3 added Jun 24 14:12:46 router2 bird6: radv1 < interface ipsec0 goes up Jun 24 14:12:46 router2 bird6: radv1 < primary address fe80::20c:29ff:fec7:64fe/128 on interface ipsec0 added Jun 24 14:12:46 router2 bird6: radv1 < interface ipsec1 created Jun 24 14:12:46 router2 bird6: radv1 < interface dummy0 goes up Jun 24 14:12:46 router2 bird6: radv1: Adding interface dummy0 Jun 24 14:12:46 router2 bird6: radv1 < primary address 2001:db8:1::/64 on interface dummy0 added Jun 24 14:12:46 router2 bird6: radv1 < secondary address fe80::/64 on interface dummy0 added Jun 24 14:12:46 router2 bird6: radv1: State changed to up Jun 24 14:12:46 router2 bird6: kernel1: Scanning routing table Jun 24 14:12:46 router2 bird6: kernel1: Pruning table master Jun 24 14:12:46 router2 bird6: sk_set_ipv6_checksum: IPV6_CHECKSUM: Invalid argument Jun 24 14:12:46 router2 bird6: radv1: Socket open failed on interface dummy0 Jun 24 14:12:56 router2 bird6: device1: Scanning interfaces show interfaces dummy0 up (index=11) MultiAccess Broadcast Multicast AdminUp LinkUp MTU=1500 2001:db8:1::1/64 (Primary, scope univ) fe80::584a:9dff:fefe:bd0c/64 (Unselected, scope link) Same with eth* interface. The rdisc6 dummy0 command not seeing any prefix And one feature request: It would be great to support RFC6106 RDNSS and DNSSL extension in RADV- Thx Csszep
On Fri, Jun 24, 2011 at 02:00:22PM +0200, csszep wrote:
Hello!
I testing the radv protocol with bird 1.3.1, but no luck.
Jun 24 14:12:46 router2 bird6: sk_set_ipv6_checksum: IPV6_CHECKSUM: Invalid argument Jun 24 14:12:46 router2 bird6: radv1: Socket open failed on interface dummy0
It seems like your kernel does not support some standard IPv6 features (which are also used in OSPFv3 code), perhaps you have too old kernel version?
And one feature request: It would be great to support RFC6106 RDNSS and DNSSL extension in RADV-
This is definitely planned. -- Elen sila lumenn' omentielvo Ondrej 'SanTiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
On Sat, Jun 25, 2011 at 10:13:29AM +0200, Ondrej Zajicek wrote:
On Fri, Jun 24, 2011 at 02:00:22PM +0200, csszep wrote:
Hello!
I testing the radv protocol with bird 1.3.1, but no luck.
Jun 24 14:12:46 router2 bird6: sk_set_ipv6_checksum: IPV6_CHECKSUM: Invalid argument Jun 24 14:12:46 router2 bird6: radv1: Socket open failed on interface dummy0
It seems like your kernel does not support some standard IPv6 features (which are also used in OSPFv3 code), perhaps you have too old kernel version?
So not too old version, but too new version. :-) There is a bug in BIRD (setting IPV6_CHECKSUM on ICMPv6 socket) which was ignored in older kernels but fails in newer kernels [*]. Could you try attached patch? [*] http://www.kerneltrap.com/mailarchive/linux-netdev/2008/4/18/1466754 -- Elen sila lumenn' omentielvo Ondrej 'SanTiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
Ok. With the patch it works. Jun 25 11:50:05 szepnb bird: radv1 < interface vboxnet0 goes up Jun 25 11:50:05 szepnb bird: radv1: Adding interface vboxnet0 Jun 25 11:50:05 szepnb bird: radv1 < primary address 2001:db8:1::/64 on interface vboxnet0 added Jun 25 11:50:05 szepnb bird: radv1 < secondary address fe80::/64 on interface vboxnet0 added Jun 25 11:50:05 szepnb bird: radv1: Event Init on vboxnet0 Jun 25 11:50:05 szepnb bird: radv1: Timer fired on vboxnet0 Jun 25 11:50:05 szepnb bird: radv1: Sending RA via vboxnet0 Jun 25 11:50:22 szepnb bird: radv1: Received RS from fe80::a00:27ff:fe39:a1b6 via vboxnet0 Jun 25 11:50:22 szepnb bird: radv1: Event RS on vboxnet0 Thx Csszep 2011/6/25 Ondrej Zajicek <santiago@crfreenet.org>:
On Sat, Jun 25, 2011 at 10:13:29AM +0200, Ondrej Zajicek wrote:
On Fri, Jun 24, 2011 at 02:00:22PM +0200, csszep wrote:
Hello!
I testing the radv protocol with bird 1.3.1, but no luck.
Jun 24 14:12:46 router2 bird6: sk_set_ipv6_checksum: IPV6_CHECKSUM: Invalid argument Jun 24 14:12:46 router2 bird6: radv1: Socket open failed on interface dummy0
It seems like your kernel does not support some standard IPv6 features (which are also used in OSPFv3 code), perhaps you have too old kernel version?
So not too old version, but too new version. :-) There is a bug in BIRD (setting IPV6_CHECKSUM on ICMPv6 socket) which was ignored in older kernels but fails in newer kernels [*]. Could you try attached patch?
[*] http://www.kerneltrap.com/mailarchive/linux-netdev/2008/4/18/1466754
-- Elen sila lumenn' omentielvo
Ondrej 'SanTiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
participants (2)
-
csszep -
Ondrej Zajicek