Re: Splitting /64 over Multiple Gateway Interfaces in rtadvd

eric <[email protected]> Tue, 22 Mar 2005 12:53:23 -0600
Newsgroups gmane.os.openbsd.ipv6
Organization Catastrophe.Net <http://www.catastrophe.net/>
Message-ID <[email protected]>
Hey Paul,

On Tue, 2005-03-22 at 19:39:36 +0100, Paul de Weerd proclaimed...

> Why are you using a rtadvd.conf(5) ? The manpage clearly states :
> 
>      As described in rtadvd(8), you do not have to set this configuration
>      file up at all, unless you need some special configurations.  You may
>      even omit the file as a whole.  In such cases, the rtadvd daemon will
>      automat- ically configure itself using default values specified in
>      the specifica- tion.

Man, this stuff is just too easy then :) Sorry, I did read the man page
several times but didn't realize I had to quit thinking so much.
  
> When you configure fxp0 with 2001:470:1f01:x::1 and start rtadvd on
> fxp0, it will, by default, use the prefix and prefixlen that are
> specified on your interface.

Ok, thanks.

> What exactly is it that you're trying to accomplish ? As Jeroen
> pointed out, he.net should give you a /48 if you require more then one
> subnet. The second leg on your router should have IPv6, right ? That's
> in a completely different network, right ? If so (and note that I've
> made some assumptions you have not clarified in your original
> message), you should use a different subnet for the second leg. For
> stateless autoconfiguration, that would be at least two /64's,
> indicating that you need at least a /63 (or two /64 allocations).
> 
> You could use one /64, split it up into more, smaller networks (say
> 2 /65's or 65.536 /80's) and configure each host with it's own unique
> address.

Well, it's a home network, so I just don't want to waste any address space
for my own purposes at home. That's why I didn't want to ask for a /48.
  
> In a sense, 2 /65's are a /64, but you can't use rtadvd on a link with
> a /65. Stateless autoconfiguration uses eui-64 (or some
> privacy-enabled solution). This requires at least 64 bits for the host
> part.

Ah, that makes more sense now. Sorry, the light just turned on.

> Please let us know what it is you want to do, in stead of how you are
> trying to work it out. There may be a better solution to your problem.

I'm just trying to have an fxp0 and tx0 for two subnets at home without
address the end hosts manually. Nothing more than that.

Thanks.

- Eric