Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Oct 2014 09:49:06 -0400
From:      Jon Radel <jon@radel.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: IPv6 aliases on FreeBSD 10
Message-ID:  <54490752.7080504@radel.com>
In-Reply-To: <CANNwXrZ75XtVv84adpum-DU_kf=KjuJfnFpuhZucXJhqBT3K%2Bw@mail.gmail.com>
References:  <CANNwXrYNw3bdnXDLdEVDhfWBxn2wu1Joyd3WpobweHDjUzFfgQ@mail.gmail.com> <5447AD3F.8060304@bytecamp.net> <CANNwXra7nhsH4m52-SX2PqBwHLP1NoqtZmGx-MF4B8VE8HJFTQ@mail.gmail.com> <CANNwXrZ75XtVv84adpum-DU_kf=KjuJfnFpuhZucXJhqBT3K%2Bw@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On 10/23/14, 1:19 AM, pepe wrote:
> prefix 128 didn't work either. only first real address is working. none of
> the aliases work with 48, 64 or 128...
> our network is 2001:14b8:1801::/48 so that prefixlen 48 is right for ::1
> address isn't it? and well, it works so
> I think it is right...
>

It would be rather unusual to have a /48 there.  There are many things 
in IPv6 that assume you're using a /64 network on each LAN segment / 
collision domain / however-you-want-to-think-of-it.  So while, in some 
senses, using a /48 there isn't *wrong*, after all, one might need to 
have 1.208 x 10^24 addresses on a single LAN segment [but so much else 
would break], in your case it's probably wrong.

Things will probably go more smoothly in general if you use 
IPv6-think:   You were assigned 2^16 (65,536) networks (each a /64).   
You were *not* assigned 2^80 addresses.  (Obviously you were actually 
assigned 2^80 addresses, but that's really not a useful way to think of 
IPv6 addresses when planning your network.)

Assign a /64 to the network this machine is connected to.  Obviously 
other equipment has to play along and have a matching prefix length.

You might also want to show us what is in your rc.conf, not just what 
ifconfig reports.  Here's an example from an 8.3 server:

ipv6_ifconfig_fxp0="2001:470:880a:5237::10:1 prefixlen 64"
ipv6_ifconfig_fxp0_alias0="2001:470:880a:5237::12:1 prefixlen 128"
ipv6_ifconfig_fxp0_alias1="2001:4830:1707:5237::10:1 prefixlen 64"
ipv6_ifconfig_fxp0_alias2="2001:4830:1707:5237::12:1 prefixlen 128"
ipv6_defaultrouter="2001:470:880a:5237::1"

That works fine.

--Jon Radel
jon@radel.com



[-- Attachment #2 --]
0	*H
010	+0	*H
00mOj3""2zq0
	*H
010	UUS10	UUT10USalt Lake City10U
The USERTRUST Network1!0Uhttp://www.usertrust.com1604U-UTN-USERFirst-Client Authentication and Email0
110428000000Z
200530104838Z010	UGB10UGreater Manchester10USalford10U
COMODO CA Limited1907U0COMODO Client Authentication and Secure Email CA0"0
	*H
0
[KW^/@ȣSX_fe2N2}UxLUB'qi2@'Vbqi c^`ʢAjHmeC*.+c8w߱ڂ2jgo \5Tq
7
PSlY1	LR@[HhJ$:q_㬿;%qh=XF<hmz!W42~JRrd&N`ohQcB}"cөΞD\[5K0G0U#0g}ĝ&pKPH|=n}0UzNt[xcd'/[y{0U0U00U 
00U 0XUQ0O0MKIGhttp://crl.usertrust.com/UTN-USERFirst-ClientAuthenticationandEmail.crl0t+h0f0=+01http://crt.usertrust.com/UTNAddTrustClient_CA.crt0%+0http://ocsp.usertrust.com0
	*H
־xWUm3DRB
JAIZҭsn>&|L0(B<%>
u=9fѡMo(ltZڱuz/yVtCr`9 G:eH<=%`I?C
3_н`j;:<I3B)93i.EMiڀ=]|Gm]W0KID~y83:]&XaU!ՙC@B0Ұun00ʠQu5:FqxP0
	*H
010	UGB10UGreater Manchester10USalford10U
COMODO CA Limited1907U0COMODO Client Authentication and Secure Email CA0
120327000000Z
150327235959Z010	UUS10U2215010	UVA10USpringfield10U	6917 Ridgeway Dr.10U
Jon T. Radel1200U)Issued through Jon T. Radel E-PKI Manager10UCorporate Secure Email10U	Jon Radel10	*H
	
jon@radel.com0"0
	*H
0
ˮ~!	GNœz^ts3B&z3"'^,WrF6IU֐leMc
t17ޔbWJvW:$AlÕd(H	Uጋq?ӪOa0	dZ[LpS՛[4u6xҚ[//Vvߢns( `V8-r9̼Ta6XY{7
'MI#Bʬ
D'I/K00U#0zNt[xcd'/[y{0U|1̴Ww0U0U00U%0++0FU ?0=0;+10+0)+https://secure.comodo.net/CPS0WUP0N0LJHFhttp://crl.comodoca.com/COMODOClientAuthenticationandSecureEmailCA.crl0+|0z0R+0Fhttp://crt.comodoca.com/COMODOClientAuthenticationandSecureEmailCA.crt0$+0http://ocsp.comodoca.com0U0
jon@radel.com0
	*H
$X͌lnkGIms\~zt1cKE"͋;xܘG"f΃jo4 ºw*e`^VU>ߤBµYZU@zH(۷Fk3TH_Ojb۟ߩhA3u/;MКwtPrAyʣ+,Xɕ8tA"wjOyܬI$<vS8a`A\ 	XyQ100010	UGB10UGreater Manchester10USalford10U
COMODO CA Limited1907U0COMODO Client Authentication and Secure Email CAQu5:FqxP0	+E0	*H
	1	*H
0	*H
	1
141023134906Z0#	*H
	1]?\	.TK珰Q0l	*H
	1_0]0	`He*0	`He0
*H
0*H
0
*H
@0+0
*H
(0	+710010	UGB10UGreater Manchester10USalford10U
COMODO CA Limited1907U0COMODO Client Authentication and Secure Email CAQu5:FqxP0*H
	1010	UGB10UGreater Manchester10USalford10U
COMODO CA Limited1907U0COMODO Client Authentication and Secure Email CAQu5:FqxP0
	*H
~Q{	X
tulB&J%!óYn
'kB1yj3^/Mu|&t 
`ҙ}qԛwИC̹.G!YoÊ8b
v {r5^l\3b|T!np<ȉXPۛЩ!LD}$t*}#`ϸtZd{xsH15!JƦG’K<]Iq<V.uVn*
help

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