ipv6, stateful config and non-default prefixlen

2011-03-18 Thread Eugene M. Zheganin
Hi. I'm trying to get a working freebsd workstation with an ipv6 network where addresses are received from DHCP. ATM my IPv6 setup copies the IPv4 layout with vlans and /24 masks, so I'm using /120 prefixes. Is that even possible ? As the Handbook lacks any information about such setup, I dec

Re: ipv6, stateful config and non-default prefixlen

2011-03-18 Thread Christian Kratzer
Hi, On Fri, 18 Mar 2011, Eugene M. Zheganin wrote: Hi. I'm trying to get a working freebsd workstation with an ipv6 network where addresses are received from DHCP. ATM my IPv6 setup copies the IPv4 layout with vlans and /24 masks, so I'm using /120 prefixes. Is that even possible ? As the H

Re: ipv6, stateful config and non-default prefixlen

2011-03-18 Thread J.R. Oldroyd
On Fri, 18 Mar 2011 19:48:11 +0500, "Eugene M. Zheganin" wrote: > > I have a working rtadvd on a router, and a working DHCPv6 setup. > But my client FreeBSD still gets 64 prefix length, with or without > running rtsold. > Since DHCPv6 doesn't advertise any routing information at all (including

Re: ipv6, stateful config and non-default prefixlen

2011-03-18 Thread Eugene M. Zheganin
Hi. On 18.03.2011 20:57, J.R. Oldroyd wrote: You don't say what prefix length rtadvd is sending or that you're seeing in the wireshark log. Do you have prefixlen#120 in your rtadvd.conf? Yup. rtadvd.conf from router: default: :raflags#192: vlan1:\ :addr="fd00::0300":prefixlen#120:r

Re: ipv6, stateful config and non-default prefixlen

2011-03-18 Thread Sergey Matveychuk
18.03.2011 18:27, Christian Kratzer wrote: Hi, On Fri, 18 Mar 2011, Eugene M. Zheganin wrote: Hi. I'm trying to get a working freebsd workstation with an ipv6 network where addresses are received from DHCP. ATM my IPv6 setup copies the IPv4 layout with vlans and /24 masks, so I'm using /120 p

Re: ipv6, stateful config and non-default prefixlen

2011-03-18 Thread JINMEI Tatuya / 神明達哉
At Fri, 18 Mar 2011 21:35:16 +0500, "Eugene M. Zheganin" wrote: > > You don't say what prefix length rtadvd is sending or that you're seeing > > in the wireshark log. > > > > Do you have prefixlen#120 in your rtadvd.conf? Whether using /120 is a good idea might have to be debated, but anyway..

Re: ipv6, stateful config and non-default prefixlen

2011-03-18 Thread sthaug
> As for me, I've got /64 network and I must split it for tunneling, etc. > So I have more wide prefixlen for my home network. I spend a lot of time > to get auto configuration work, but gave up and set static config on all > my home computers. The system is really strong :) Note that SLAAC wil

Re: ipv6, stateful config and non-default prefixlen

2011-03-18 Thread sthaug
> I'm trying to get a working freebsd workstation with an ipv6 network > where addresses are received from DHCP. Are you using IA_PD or IA_NA on your DHCPv6 server? > ATM my IPv6 setup copies the IPv4 layout with vlans and /24 masks, so > I'm using /120 prefixes. > Is that even possible ? > As

Re: ipv6, stateful config and non-default prefixlen

2011-03-19 Thread Eugene M. Zheganin
Hi. On 18.03.2011 23:56, sth...@nethelp.no wrote: Are you using IA_PD or IA_NA on your DHCPv6 server? Since I didn't configure anything on a DHCPv6 server about PD, I assume I'm using NA. rtadvd can give you the default router. DHCPv6 IA_NA gives you a single /128 address and no netmask.

Re: ipv6, stateful config and non-default prefixlen

2011-03-19 Thread Eugene M. Zheganin
Hi. On 18.03.2011 23:25, JINMEI Tatuya / 神明達哉 wrote: A possible workaround is to rewrite dhclient-script to hardcode "/120". Another solution is to use a different DHCPv6 client implementation. (Although it's not actively maintained/enhanced recently) I believe WIDE DHCPv6 should work for you

Re: ipv6, stateful config and non-default prefixlen

2011-03-20 Thread Stephen Clark
On 03/19/2011 04:34 AM, Eugene M. Zheganin wrote: Hi. On 18.03.2011 23:56, sth...@nethelp.no wrote: Are you using IA_PD or IA_NA on your DHCPv6 server? Since I didn't configure anything on a DHCPv6 server about PD, I assume I'm using NA. rtadvd can give you the default router. DHCPv6 IA_N

Re: ipv6, stateful config and non-default prefixlen

2011-03-20 Thread sthaug
> How does a router that is using dhclient to get delegated a address > prefix from an upstream router obtain its default route, since dhcpv6 > can't provide a default route. > And since it is a router it can't get its default route from router > advertisements from the upstream router? It beha