OpenVZ Forum


Home » General » Support » OpenVZ + Ubuntu 9.04 + IPv6
OpenVZ + Ubuntu 9.04 + IPv6 [message #36904] Wed, 29 July 2009 09:43 Go to next message
broquea is currently offline  broquea
Messages: 20
Registered: December 2007
Junior Member
So, need to roll a new Ubuntu 9.04 install, and use IPv6. System takes the same happy vzctl creation commands, sticks it in the right places, however it comes up with no IPv6 connectivity. I've tried removing all default route entries and trying to set one with ::0 or 2000::/3, and with/out specifying "via". Just doesn't seem to want to work on IPv6.

I have a 7.10 that works fine, and doesn't have any magical config other than what vzctl sets for IPs. Even rolled another 7.10, used same information from the new VE, worked fine.

Has anyone else encountered this, and/or maybe thoughts?

I'm using the 9.04_x86 template cache from the repo linked in the wiki

[Updated on: Wed, 29 July 2009 09:57]

Report message to a moderator

Re: OpenVZ + Ubuntu 9.04 + IPv6 [message #36917 is a reply to message #36904] Thu, 30 July 2009 03:25 Go to previous messageGo to next message
broquea is currently offline  broquea
Messages: 20
Registered: December 2007
Junior Member
Here, have some system output, slightly sanitized.

7.10 VE that works:

relevant ifconfig output:
venet0    Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet addr:127.0.0.1  P-t-P:127.0.0.1  Bcast:0.0.0.0  Mask:255.255.255.255
          inet6 addr: ::1/128 Scope:Host
          inet6 addr: 2001:470:x:x::x/0 Scope:Global


relevant /etc/network/interfaces settings:
iface venet0 inet6 static
        address ::1
        netmask 128
        up ifconfig venet0 add 2001:470:x:x::x


ipv6 routing information:
::/0                                        ::                                      U     256    0        0 venet0
::1/128                                     ::                                      U     0      6        1 lo
::1/128                                     ::                                      U     0      0        1 lo
2001:470:x:x::x/128                         ::                                      U     0      372       1 lo
ff00::/8                                    ::                                      U     256    0        0 venet0


----------

9.04 VE not working:

relevant ifconfig output:
venet0    Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet addr:127.0.0.1  P-t-P:127.0.0.1  Bcast:0.0.0.0  Mask:255.255.255.255
          inet6 addr: ::1/128 Scope:Host
          inet6 addr: 2001:470:x:x::x/128 Scope:Global


relevant /etc/network/interfaces settings:
iface venet0 inet6 static
        address ::1
        netmask 128
        up ifconfig venet0 add 2001:470:x:x::x


IPv6 routing information:
::/0                           ::                         !n   -1  144448555 lo
::1/128                        ::                         Un   0   1     4 lo
::1/128                        ::                         Un   0   1     0 lo
2001:470:x:x::x/128            ::                         Un   0   1     3 lo
ff00::/8                       ::                         U    256 0     0 venet0
::/0                           ::                         !n   -1  144448555 lo


----------

Obviously the default route statements on the 9.04 system stink. This is where I'm stuck.
Re: OpenVZ + Ubuntu 9.04 + IPv6 [message #36918 is a reply to message #36917] Thu, 30 July 2009 03:48 Go to previous message
broquea is currently offline  broquea
Messages: 20
Registered: December 2007
Junior Member
Ok, kinda strange, played with metrics, and got this working.

found that issuing following got it working:

ip route add ::/0 dev venet0
ip route add ::/0 dev venet0 metric 256
ip route del ::/0 dev venet0


Very strange that just setting default that way didn't just work. HOWEVER, and there is always a however, I simply put the regular default route in rc.local (that first line), and it comes up working on a stop/start or restart.

No idea why it didn't work when manually setting default with no metric after logged in, but, hey, works, not complaining.
Previous Topic: enable the direct hardware access to the container
Next Topic: Change venet to veth
Goto Forum:
  


Current Time: Tue Apr 23 07:26:55 GMT 2024

Total time taken to generate the page: 0.01240 seconds