Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Apr 2010 22:52:56 +0200
From:      =?UTF-8?B?RnLDqWTDqXJpYw==?= Perrin <frederic.perrin@resel.fr>
To:        Hiroki Sato <hrs@FreeBSD.org>, freebsd-net@FreeBSD.org
Subject:   Re: IPv6 aliases: one doesn't work, the other do
Message-ID:  <20100425225256.26ce3373@girafe.home>
In-Reply-To: <20100426.021848.65039126.hrs@allbsd.org>
References:  <20100425183825.2ee419d3@girafe.home> <20100426.021848.65039126.hrs@allbsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/_bgvDHmkT0XuWKV8OIiEgqI
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Le Lundi 26 =C3=A0  2:18, Hiroki Sato a =C3=A9crit :
> Fr=C3=A9d=C3=A9ric Perrin <frederic.perrin@resel.fr> wrote
>   in <20100425183825.2ee419d3@girafe.home>:
>fr> I have a box running 8.0-RELEASE on i386. It has several jails,
>fr> each one being given an IPv6 alias. I notice that some jails can
>fr> be reached from the outside, others can't. Conversely, if I set
>fr> as the source address alias1, nothing comes back; it I set as the
>fr> source address alias2, it works as expected. The following
>fr> transcript may be clearer:
>fr>=20
>fr> This is happening on papillon, the host (meaning not a jail),
>fr> after a fresh reboot.
>
>  Did you get the same results of traceroute6 lines even before setting
>  up the jails, or only after it?  I am interested in whether this
>  symptom appears or not when just adding IPv6 aliases to vr0 and no
>  jail.

Sure. I just set ezjail_enable=3D"NO" and rebooted. And the result is...

It looks like the aliases that don't work were juste shuffled around.
(NB, in the previous run, the non-functionning aliases were ::3 and
::5. Now, only ::5 is broken. I seem to remember having issues with
others, but as I don't use IPv6 very often, I didn't keep track of
which aliases were working or not.)

,----
| papillon:~% traceroute6 -s 2001:41d0:1:8248::3 www.renater.fr=20
| traceroute6 to www.renater.fr (2001:660:3001:4002::10) from 2001:41d0:1:8=
248::3, 64 hops max, 12 byte packets
|  1  2001:41d0:1:82ff:ff:ff:ff:ff  3.332 ms *  141.131 ms
|  2  ipv6.th1-1-6k.routers.net  9.994 ms *  13.867 ms
|  3  ipv6.th2-1-6k.routers.net  4.810 ms *  18.300 ms
|  4  renater-th2.sfinx.tm.fr  5.476 ms  4.456 ms  4.232 ms
|  5  te0-3-4-0-paris1-rtr-001.noc.renater.fr  4.670 ms  4.647 ms  4.450 ms
|  6  te2-1-paris1-rtr-021.noc.renater.fr  4.412 ms  4.393 ms  4.353 ms
|  7  gip-renater-vl300-gi8-15-paris1-rtr-021.noc.renater.fr  5.279 ms !P  =
5.210 ms !P  5.190 ms !P
| papillon:~% traceroute6 -n -s 2001:41d0:1:8248::5 www.renater.fr=20
| traceroute6 to www.renater.fr (2001:660:3001:4002::10) from 2001:41d0:1:8=
248::5, 64 hops max, 12 byte packets
|  1  * * *
|  2  * * *
|  3  * * *
|  4  * * *
| ^C
`----

And if I ping my server from a remote host (tweaked the ping6 options
to have more samples while trying not to stress the network):

,----
| fperrin@gadget:~$ for i in $( seq 5); do echo -n "$i - "; ping6 -c10 -i30=
 2001:41d0:1:8248::$i|grep loss; done
| 1 - 10 packets transmitted, 10 received, 0% packet loss, time 270036ms
| 2 - 10 packets transmitted, 10 received, 0% packet loss, time 270030ms
| 3 - 10 packets transmitted, 10 received, 0% packet loss, time 270034ms
| 4 - 10 packets transmitted, 10 received, 0% packet loss, time 270032ms
| 5 - 10 packets transmitted, 0 received, +10 errors, 100% packet loss, tim=
e 270030ms
`----

I get the same results after starting the jails (with
/usr/local/etc/rc.d/ezjail onestart).

Oh, and keeping me in the Cc: list as you did is a good idea, I'm not
subscribed to the list.

--=20
Fred

--Sig_/_bgvDHmkT0XuWKV8OIiEgqI
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)

iEYEARECAAYFAkvUq7IACgkQlSqR5GqTBENa7gCgx4Nn2qJ3m1bd55/161bcCxaI
vhEAni/trb4h2+Y9MrX3U8SI0E7TNKYB
=8+aT
-----END PGP SIGNATURE-----

--Sig_/_bgvDHmkT0XuWKV8OIiEgqI--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100425225256.26ce3373>