Getting DEBIAN containers to auto-configure IPv6 on REDHAT Nodes [message #42653] |
Mon, 09 May 2011 22:31 |
lars.bailey
Messages: 38 Registered: April 2010
|
Member |
|
|
I started a post on the forum,in using a terminal based OVZ administration solution,and one of its features,is creating RedHat and Debian containers on the fly.
One of its networking options,is IPv6 auto-configuration.
In my testing of adding auto-IPv6 to this script awhile back,Debian containers did in fact configure on RedHat Nodes.
In my alpha/beta testing of my software offering,I could not get Debian containers to auto-config.
After retracing my steps,the solution was simple.
You do not need to go out on a limb.
It does not require any module to be loaded on a container.
If you use this OS template cache for Debian with OVZ;
debian-5.0-x86.tar.gz
you need to download a different Debian OS template cache,if you want IPv6 auto-configuration support on RedHat Nodes.
The one that works,is actually archived in the TEMPLATE section of the OVZ wiki.
The template you need is;
debian-5.0-minimal.tar.gz
Why this one works,and the other does not,is not my call.
Here is a shot of a IPv4 DHCP and IPv6 auto-configured Debian
container.
[root@stooge ~]# vzctl enter 4101
entered into CT 4101
root@localhost:/# ifconfig
eth0 Link encap:Ethernet HWaddr 00:18:51:80:22:8a
inet addr:192.168.5.250 Bcast:192.168.5.255 Mask:255.255.255.0
inet6 addr: fd22:a075:afd0:e096:218:51ff:fe80:228a/64 Scope:Global
inet6 addr: fe80::218:51ff:fe80:228a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:29 errors:0 dropped:0 overruns:0 frame:0
TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2868 (2.8 KiB) TX bytes:2184 (2.1 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
root@localhost:/#
If you want IPv6 auto-conf only give the Debian container,a blank static network configuration.
Thought I would pass it along.
|
|
|