Re: [Vserver] Vserver configuration for IPv4 and IPv6
Hi Herbert, please keep this discussion going (maybe some typical ipv6 examples or so?) so we can get a feeling for it. what kind of typical example are you asking for? The default IPv6 address style is quite forward to the ipv4 notation (well, same logic applies, but a slightly changed notation): an ipv6 address would be: 2001:abcd:ef01::1/64 where the :: is an abbreviation for fill up with all 0 here.. Thus the full length notation is: 2001:abcd:ef01:::::0001 which may be found with ipv6calc -i -m 2001:abcd:ef01::1. The /64 is the prefix length which makes the local prefix be: 2001:abcd:ef01: Length of IPv6 is 128bit in 8 blocks written in hex. Each of the blocks is 2 bytes which makes an overall of 8*16=128 bit. There's special target prefixes for site-local and link-local yet that might be rather a routing question and transparent to the vserver, but i'm not sure. Please ask for further hints if you need some. -- Best regards, Kilian signature.asc Description: Dies ist ein digital signierter Nachrichtenteil ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] Vserver configuration for IPv4 and IPv6
Hi, this is an excerpt from util-vserver-0.30.196/doc/cfg.txt: /etc/vservers |-- vserver `-- interfaces |-- [dev] |-- [prefix] |-- [mask] |-- [bcast] `-- interface* |-- ip |-- [dev] |-- [prefix] |-- [mask] |-- [bcast] |-- [name] |-- [scope] |-- [only_ip] ...use only the ip; do not modify/set | the interface `-- [disabled] ...ignore this interface This looks pretty much IPv4-centristic to me. Is that correct? If so, I think IPv6 support should be added in a way that IPv4 and IPv6 are equally represented. Something like this: /etc/vservers |-- vserver `-- interfaces |-- [dev] |-- ipv4 | |-- [prefix] | |-- [mask] 1.2.3.0/24 notation is better | `-- [bcast] |-- ipv6 | |-- [prefix] | `-- [prefixlength] `-- interface* Something similar should then be done under interface*. Unfortunately I don't know enough details about vserver yet to judge whether what I described above a) is feasible from a technical point of view b) is sensible from a simplicity and consistency point of view c) is feasible from a political point of view (concerns for installed base of vservers with different configuration) Support for IPv6 in the vserver kernel patch will appear some time soon, and there is no configuration for IPv6 yet, so the matter of configuring IPv6 has to be raised one way or the other anyway :) Gru, Uli pgpSWYL5FX6Zt.pgp Description: PGP signature ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Vserver configuration for IPv4 and IPv6
On Tue, Dec 28, 2004 at 12:43:45PM +0100, Hans Ulrich Niedermann wrote: Hi, this is an excerpt from util-vserver-0.30.196/doc/cfg.txt: /etc/vservers |-- vserver `-- interfaces |-- [dev] |-- [prefix] |-- [mask] |-- [bcast] `-- interface* |-- ip |-- [dev] |-- [prefix] |-- [mask] |-- [bcast] |-- [name] |-- [scope] |-- [only_ip] ...use only the ip; do not modify/set | the interface `-- [disabled] ...ignore this interface This looks pretty much IPv4-centristic to me. Is that correct? If so, I think IPv6 support should be added in a way that IPv4 and IPv6 are equally represented. Something like this: /etc/vservers |-- vserver `-- interfaces |-- [dev] |-- ipv4 | |-- [prefix] | |-- [mask] 1.2.3.0/24 notation is better | `-- [bcast] |-- ipv6 | |-- [prefix] | `-- [prefixlength] `-- interface* Something similar should then be done under interface*. this or a similar solution will be required, but as I see it ngnet (next generation networking) is mandatory for ipv6, and that will change the 'to be configured' stuff anyway, as the tools need to do different things than they do now ... Unfortunately I don't know enough details about vserver yet to judge whether what I described above a) is feasible from a technical point of view b) is sensible from a simplicity and consistency point of view c) is feasible from a political point of view (concerns for installed base of vservers with different configuration) Support for IPv6 in the vserver kernel patch will appear some time soon, and there is no configuration for IPv6 yet, so the matter of configuring IPv6 has to be raised one way or the other anyway :) yep, appreciate it ... please keep this discussion going (maybe some typical ipv6 examples or so?) so we can get a feeling for it. thanks, Herbert Gruß, Uli ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver