X-Original-To: alpine-user@lists.alpinelinux.org Received: from mailauth4.nine.ch (mailauth4.nine.ch [94.230.211.190]) by lists.alpinelinux.org (Postfix) with ESMTP id BC3A75C4D40 for ; Thu, 19 Oct 2017 11:24:55 +0000 (GMT) Received: from localhost (localhost [127.0.0.1]) by mailauth4.nine.ch (Postfix) with ESMTP id 03CDCBFD89; Thu, 19 Oct 2017 13:24:54 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mailauth4.nine.ch X-Spam-Flag: NO X-Spam-Score: -1 X-Spam-Level: X-Spam-Status: No, score=-1 tagged_above=-999 required=5.6 tests=[ALL_TRUSTED=-1] autolearn=disabled Received: from mailauth4.nine.ch ([127.0.0.1]) by localhost (mailauth4.nine.ch [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DNdTZmVF7Lrh; Thu, 19 Oct 2017 13:24:53 +0200 (CEST) Received: from vimes (174.180.4.85.dynamic.wline.res.cust.swisscom.ch [85.4.180.174]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: pf@1042.ch) by mailauth4.nine.ch (Postfix) with ESMTPSA; Thu, 19 Oct 2017 13:24:53 +0200 (CEST) Received: by vimes (Postfix, from userid 1000) id B8A2A206A8; Thu, 19 Oct 2017 13:24:52 +0200 (CEST) Date: Thu, 19 Oct 2017 13:24:52 +0200 From: Jean-Louis Fuchs To: Bernhard Ehlers Cc: alpine-user@lists.alpinelinux.org Subject: Re: [alpine-user] Alpine Linux is second class member in an IPv6 network Message-ID: <20171019112452.GD5749@angua.1042.ch> References: <3FA7B5A4-16EB-416E-8C82-FFC17414D782@bernhard-ehlers.de> X-Mailinglist: alpine-user Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="LTeJQqWS0MN7I/qa" Content-Disposition: inline In-Reply-To: <3FA7B5A4-16EB-416E-8C82-FFC17414D782@bernhard-ehlers.de> User-Agent: Mutt/1.8.2 (2017-04-18) --LTeJQqWS0MN7I/qa Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi On Wed, Oct 18, 2017 at 02:36:38PM +0200, Bernhard Ehlers wrote: > Hi, >=20 > I=E2=80=99m quite frustrated trying to integrate Alpine Linux in an IPv6 = network. There is also a problem with static IPv6 config. Something locks the IPv6 routing table for 30min (containing the correct routes), but after 30min the lock goes away, along with the routes. I worked around this by reseting the routing table, just after the interface is configured. So the script will stay for 30min and then fix the routing table, when the lock goes away. (Alpine 3.6) I haven't reported this because I didn't have time to investigate the cause or compare to edge. And of course the whole issue is more complex. The problem has also to do with the fact that although the default of accept_ra and autoconf are set to 0, the interface comes up with accept_ra and autoconf set to 1.=20 $> cat /etc/sysctl.d/01-ipv6.conf net.ipv6.conf.default.accept_ra =3D 0 net.ipv6.conf.default.autoconf =3D 0 net.ipv6.conf.all.accept_ra =3D 0 net.ipv6.conf.all.autoconf =3D 0 Again I just worked around it: iface eth0 inet6 static address X netmask 64 gateway X pre-up echo 0 > /proc/sys/net/ipv6/conf/eth0/accept_ra pre-up echo 0 > /proc/sys/net/ipv6/conf/eth0/autoconf My guess even though the interface is set to static, some auto-configuration mechanism is still being started. Best, Jean-Louis --LTeJQqWS0MN7I/qa Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEfg6heaevSn5VXbPVQ5WfaECIbUUFAlnoi4FfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDdF MEVBMTc5QTdBRjRBN0U1NTVEQjNENTQzOTU5RjY4NDA4ODZENDUACgkQQ5WfaECI bUXAfBAAg8JscrFscBvZdoW0ZzZyyn6SXPoGFv6RbH5M5TXLV03c6ZqlqQLVKIA4 Ksf82Jw+XqwztWhXr3QuE95fw39O/kDsL0y0kSvliQvD+RhOwIpNizX1iP6/4q15 p1V7NNJhLnGEpiSDlvdCWx5sRqyBBl4CAWkztV40CrS8j/iKF9org0uwSr7MZKyE eCXi6VJB0VbmSuHf5j6qtAkQ41wowfB/i+YdGth46m0ef3zIoEPNFMAJ94ozvVqk uI6rm84GQIaO0Y+6l+9t8xvQm6J4cfJPXBbFupzasGpbmWSODDNE7CuaCSsM67RC n84NGJnqg/IDzFCWzBCkDYvs825NwM70ji7eH747w7sXdUOoxQm6pJeVxJJ19ZIV aHOm0cwvbxirZBjk+PQNJKMgGNsZdkutCSPeLQwe1HS+Oz+Jkew8boLrUsWN9it8 JlA5OoWbprmJ8NdixrU0FDpkmmBKjMPDv7ImCRYAE2Jjy3HBluR3rshGX81znKrF ADzJLDrKAREgoD8hbGFD4FhdVrP6NmB+eYoCRws7laC3QuwcpNQj7rooC4TDNAH7 8qlrwAVL95PyeOl2hoG4oiDKW+e60mhMn8tOh67aEmopnRJyxDXFqqM1FTNQwCC6 dMq2vrznBvPAmyqYBhBG8dWYHaCl7ATJwRxLb6ZPbStPX5rD1zM= =x4qq -----END PGP SIGNATURE----- --LTeJQqWS0MN7I/qa-- --- Unsubscribe: alpine-user+unsubscribe@lists.alpinelinux.org Help: alpine-user+help@lists.alpinelinux.org ---