[Users] ipv6 on container

Michael H. Warfield mhw at WittsEnd.com
Sat Feb 5 16:19:15 EST 2011

On Wed, 2010-11-10 at 11:57 -0600, Hospedaje Web y Servidores Dedicados
> hi, i want to setup the ipv6 on a container, my main node has my /48
> installed, and inside the CT i do 
> --Container--
> [root at ipv6 ~]# modprobe ipv6
> FATAL: Could not
> load /lib/modules/2.6.18-164.10.1.el5.028stab067.4PAE/modules.dep: No
> such file or directory
> [root at ipv6 ~]# mkdir
> -p /lib/modules/2.6.18-164.10.1.el5.028stab067.4PAE/
> [root at ipv6 ~]# depmod -a
> [root at ipv6 ~]# modprobe ipv6
> FATAL: Module ipv6 not found.

> how to enable

It's probably already enabled.  If it's enabled in the host node it's
going to be enabled in the guest.

Run ip -6 addr ls in the guest.  You should see something like this:

[root at yelm ~]# ip -6 addr ls
13: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qlen 1000
    inet6 2001:4830:3000:8200:204:8ff:fecd:263d/64 scope global dynamic 
       valid_lft 2591958sec preferred_lft 604758sec
    inet6 fe80::204:8ff:fecd:263d/64 scope link 
       valid_lft forever preferred_lft forever
15: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever

You see anything with inet6 addresses, you've got it enabled.  It may
not be configured, but you've got it enabled.

> -- 
> Ing. Alejandro M.
> -----------------------
> Hospedaje Web y Servidores Dedicados
> http://www.dedicados.com.mx
> -----------------------
> ventas at dedicados.com.mx
> -----------------------

Michael H. Warfield (AI4NB) | (770) 985-6132 |  mhw at WittsEnd.com
   /\/\|=mhw=|\/\/          | (678) 463-0932 |  http://www.wittsend.com/mhw/
   NIC whois: MHW9          | An optimist believes we live in the best of all
 PGP Key: 0x674627FF        | possible worlds.  A pessimist is sure of it!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 482 bytes
Desc: This is a digitally signed message part
Url : http://openvz.org/pipermail/users/attachments/20110205/5c365869/attachment.bin

More information about the Users mailing list