quagga: ipv6 doesn't work with zebra
Hi,
something is wrong with the quagga package in Alpine Linux. For me it isn’t possible to do anything IPv6 related within zebra.
- I can’t add IPv6 addresses
- I can’t add IPv6 routes
I run some servers with other distributions that don’t have this issue. I guess it could be something related to musl-libc but can’t say that for sure.
There are no errors in zebra.log and I don’t know how to debug further.
Steps to reproduce:
-
install quagga
apk add quagga
-
create logdir
mkdir /var/log/quagga/
-
create logfile
touch /var/log/quagga/zebra.log
-
fix logdir owner and group
chown quagga:quagga /var/log/quagga -R
-
create /etc/quagga/zebra.conf with:
hostname zebra password zebra ! debug zebra events debug zebra packet debug zebra kernel debug zebra rib debug zebra fpm ! interface lo ipv6 address fd6d:8d64:af0d::/64 ! log file /var/log/quagga/zebra.log ! line vty !
This should add the address fd6d:8d64:af0d:: to the loopback device, but doesn’t seem to do anything actually.
Tested with edge and 3.0.1.
(from redmine: issue id 3244, created on 2014-07-28, closed on 2014-07-30)
- Changesets:
- Revision c2b87ebc by Timo Teräs on 2014-07-29T10:25:13Z:
main/quagga: fix msghdr initializers
ref #3244
- Revision 1f9887ed by Timo Teräs on 2014-07-29T12:04:20Z:
main/quagga: fix linux-ipv6 detection
remove the glibc version checks. ref #3244
- Revision 10297aa1 by Timo Teräs on 2014-07-29T13:01:25Z:
main/quagga: fix msghdr initializers
ref #3244
(cherry picked from commit c2b87ebc9e6b7aa3114187a1fbc8a39a8d424fbb)
- Revision f759eafe by Timo Teräs on 2014-07-29T13:01:47Z:
main/quagga: fix linux-ipv6 detection
remove the glibc version checks. fixes #3244
(cherry picked from commit 1f9887ed7037ef8441bd89855f404f021c03acb0)