IPv6: Difference between revisions

From Linix VServer
Jump to navigationJump to search
imported>Jesusch
mNo edit summary
imported>Glenn
(catspec)
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
At the time of this writing, IPv6 support in guests requires you to apply an additional patch on top of the Linux-VServer patch. The IPv6 patch can be fetched from the official source: [http://people.linux-vserver.org/~bonbons/ipv6/ Bruno Prémont's IPv6 patches], and sometimes rediffs against later kernels are available from [http://people.linux-vserver.org/~dhozac/p/k/ my patch directory].
At the time of this writing, IPv6 support in guests requires you to apply an additional patch on top of the Linux-VServer patch. The IPv6 patch can be fetched from the official source: [http://people.linux-vserver.org/~bonbons/ipv6/ Bruno Prémont's IPv6 patches], and sometimes rediffs against later kernels are available from [http://people.linux-vserver.org/~dhozac/p/k/ my patch directory].


To use the patch, you need util-vserver 0.30.212 or newer. These versions support IPv6 natively, so you just need to put the address in <code>/etc/vservers/<guest>/interfaces/X/ip</code> and start the guest to get it an IPv6 address.
To use the patch, you need util-vserver 0.30.212 or newer. These versions support IPv6 natively, so you just need to put the address in <code>/etc/vservers/<guest>/interfaces/X/ip</code> and start the guest to get it an IPv6 address. You should also put "64" (or whatever bitmask has been assigned to you with your prefix) in <code>/etc/vservers/<guest>/interfaces/X/prefix</code>.




Starting with linux-vserver-2.3 IPv6 support is included in the main sourcecode. No need to apply any extra patches.
Starting with linux-vserver-2.3 IPv6 support is included in the main source code. No need to apply any extra patches. You will need to have util-vserver 0.30.214 or newer if you are using the 2.3+ patches.
 
==Dual-Stack==
If you want both IPv6 and IPv4 addresses, just use IPv4 on one interface (e.g. interfaces/0) and create another interface (e.g. interfaces/1) with IPv6.
 
== Loopback isolation ==
There is currently no loopback isolation (as it is for IPv4) available for IPv6.
 
[[Category:Network related]]

Latest revision as of 21:25, 21 October 2011

At the time of this writing, IPv6 support in guests requires you to apply an additional patch on top of the Linux-VServer patch. The IPv6 patch can be fetched from the official source: Bruno Prémont's IPv6 patches, and sometimes rediffs against later kernels are available from my patch directory.

To use the patch, you need util-vserver 0.30.212 or newer. These versions support IPv6 natively, so you just need to put the address in /etc/vservers/<guest>/interfaces/X/ip and start the guest to get it an IPv6 address. You should also put "64" (or whatever bitmask has been assigned to you with your prefix) in /etc/vservers/<guest>/interfaces/X/prefix.


Starting with linux-vserver-2.3 IPv6 support is included in the main source code. No need to apply any extra patches. You will need to have util-vserver 0.30.214 or newer if you are using the 2.3+ patches.

Dual-Stack[edit]

If you want both IPv6 and IPv4 addresses, just use IPv4 on one interface (e.g. interfaces/0) and create another interface (e.g. interfaces/1) with IPv6.

Loopback isolation[edit]

There is currently no loopback isolation (as it is for IPv4) available for IPv6.