OpenVZ Forum


Home » Mailing lists » Users » Re: ipv6 on container
Re: ipv6 on container [message #41532] Sat, 05 February 2011 21:19
mhw is currently offline  mhw
Messages: 12
Registered: March 2007
Junior Member
On Wed, 2010-11-10 at 11:57 -0600, Hospedaje Web y Servidores Dedicados
wrote:
> 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@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@ipv6 ~]# mkdir
> -p /lib/modules/2.6.18-164.10.1.el5.028stab067.4PAE/
> [root@ipv6 ~]# depmod -a
> [root@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@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@dedicados.com.mx
> -----------------------

Mike
--
Michael H. Warfield (AI4NB) | (770) 985-6132 | mhw@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!
Previous Topic: RE: vzmemcheck
Next Topic: ext4 + openvz RHEL6
Goto Forum:
  


Current Time: Fri Oct 18 01:54:11 GMT 2024

Total time taken to generate the page: 0.05142 seconds