[Users] IPv6 Support in VE's

Michael H. Warfield mhw at WittsEnd.com
Wed Nov 25 19:11:20 EST 2009


On Wed, 2009-11-18 at 23:17 +0000, Matt Richards wrote: 
> Hello,

> I have OpenVZ setup and running with ipv4 without any issues.

> I would like to get ipv6 address to the ve's

> My network currently has ipv6 and the hardware nodes have ipv6 addresses
> assigned to them.

> I currently have ipv6 built into the kernel and also enabled in
> /etc/vz/vz.conf

> If I add an ipv6 address to a VE when i try to start it i get the
> following ...

> virt1 linux # vzctl start 46
> Starting VE ...
> VE is mounted
> Adding IP address(es): 192.168.4.46 2001:470:9002:2::46
> RTNETLINK answers: No such device
> vps-net_add ERROR: Unable to add route /sbin/ip route add
> 2001:470:9002:2::46 dev venet0
> VE start failed
> Stopping VE ...
> VE was stopped
> VE is unmounted

> Does anybody know why I might be getting this and what else I can check.
> The next thing I would try is running ipv6 as a kernel module but it
> would be nice if this wasn't necessary.

I run IPv6 extensively and I'm personally a member of the North America
v6 Task Force (NAv6TF).  I have no problem running IPv6 in a VE but you
have to use the veth device (I know people are going to jump up right
now proclaiming that's not true - BUT IT IS).  AFAICT, the vnet devices
are NOT IPv6 compliant.  They do not properly support MAC addresses and,
consequently, link local addresses and can not play nice with neighbor
discovery or router advertisements, router discovery, or auto-conf.  For
the same reason, I seriously DOUBT they play nice with the mandatory
multicast addresses (all nodes, routers, etc, etc).  I gave up totally
on vnet ages ago for that very exact reason.  I've never tested it but I
seriously doubt the vnet device driver would pass any of the compliance
test suites for that very reason.  Avoid it like the plague as switch to
veth with bridging and you'll be fine.

> my vzctl version is ...
> 
> vzctl version 3.0.22
> 
> Cheers,
> 
> Matt.

Regards,
Mike
-- 
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/20091125/60d302bb/attachment.bin


More information about the Users mailing list