OpenVZ Forum


Home » General » Support » Centos 6.6 IPV6 not working (New to IPV6)
Centos 6.6 IPV6 not working [message #51735] Mon, 03 November 2014 22:01 Go to next message
mperkel is currently offline  mperkel
Messages: 253
Registered: December 2006
Senior Member
Hi Guys,

This is probably a Centos issue - but I'm new to IPV6 and just trying to get up to where ping6 works. Running Centos 6.6 and did the stuff various web sites suggested. Yet pinging Google is not reachable.

In /etc/sysconfig/network I added:

# IPV6

IPV6_DEFAULTGW=2001:470:1:2fe::1
NETWORKING_IPV6=yes
IPV6_AUTOCONF=no

In ifcfg-eth0 I added:

IPV6INIT=YES
IPV6ADDR=2001:470:1:2fe::18/64
IPV6_AUTOCONF=NO
IPV6FORWARDING=YES
IPV6_DEFAULTGW=2001:470:1:2fe::1

In /etc/sysctl.conf I added:

# IPV6

net.ipv6.conf.all.autoconf = 0
net.ipv6.conf.default.autoconf = 0
net.ipv6.conf.eth0.autoconf = 0
net.ipv6.conf.all.accept_ra = 0
net.ipv6.conf.default.accept_ra = 0
net.ipv6.conf.eth0.accept_ra = 0
net.ipv6.conf.default.forwarding = 1
net.ipv6.conf.all.forwarding = 1
net.ipv6.conf.all.proxy_ndp = 1
net.ipv6.bindv6only = 1

Restarted the network - tried to ping google

ping6 ipv6.google.com
connect: Network is unreachable

ran ifconfig

eth0 Link encap:Ethernet HWaddr E0:CB:4E:CF:4B:BE
inet addr:184.105.182.18 Bcast:184.105.182.255
Mask:255.255.255.0
inet6 addr: fe80::e2cb:4eff:fecf:4bbe/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:21283662 errors:0 dropped:0 overruns:0 frame:0
TX packets:19638030 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2792719190 (2.6 GiB) TX bytes:2867321807 (2.6 GiB)

No Scope:Global IP

what am I missing?

Thanks in advance ...


Re: Centos 6.6 IPV6 not working [message #51738 is a reply to message #51735] Tue, 04 November 2014 18:45 Go to previous messageGo to next message
mmcfarland is currently offline  mmcfarland
Messages: 9
Registered: November 2014
Location: Cincinnati
Junior Member
Hello,

The most likely culprit is that CentOS 6.6 is a bit too new. You should not use a version of CentOS newer than 6.4 - the reason is that openVZ uses an old kernel (2.6) so using any linux distro with a newer kernel opents the doors for major problems because their yum/apt-get/package repositories assume a newer kernel.

I currently would never recommend installing openVZ on any linux distro that is newer than CentOS 6.4

Regards,
Matt
Re: Centos 6.6 IPV6 not working [message #51740 is a reply to message #51738] Thu, 06 November 2014 00:16 Go to previous messageGo to next message
Ales is currently offline  Ales
Messages: 330
Registered: May 2009
Senior Member
mmcfarland wrote on Tue, 04 November 2014 19:45
... CentOS 6.6 is a bit too new ... openVZ uses an old kernel (2.6) so using any linux distro with a newer kernel ...

I'd really appreciate people giving advice only if they have a slightest clue as to what they are talking about. Not that I'm afraid mperkel would actually listen to such nonsense, but some newbie could get mislead.
Re: Centos 6.6 IPV6 not working [message #51743 is a reply to message #51740] Thu, 06 November 2014 00:35 Go to previous messageGo to next message
mmcfarland is currently offline  mmcfarland
Messages: 9
Registered: November 2014
Location: Cincinnati
Junior Member
This isn't misinformation! Software made for a newer kernel is not going to work as well on openvz. Sure maybe if you're a Unix genius you can get by with your hacks and workarounds. BUT straight out of the box?? Use centos 6.4 nothing newer and openvz runs like a champ. If you have a newer kernel you must be careful.

[Updated on: Thu, 06 November 2014 00:36]

Report message to a moderator

Re: Centos 6.6 IPV6 not working [message #51744 is a reply to message #51743] Thu, 06 November 2014 01:15 Go to previous messageGo to next message
mperkel is currently offline  mperkel
Messages: 253
Registered: December 2006
Senior Member
Going back to Centos 6.4 isn't in the plan.

Re: Centos 6.6 IPV6 not working [message #51745 is a reply to message #51743] Thu, 06 November 2014 06:52 Go to previous messageGo to next message
Ales is currently offline  Ales
Messages: 330
Registered: May 2009
Senior Member
Of course not. He's just spreading FUD. Current OpenVZ kernel is based on a recent RHEL 6.5 kernel, 2.6.32-431.29.2.el6, it isn't old at all.
Re: Centos 6.6 IPV6 not working [message #51750 is a reply to message #51745] Fri, 07 November 2014 02:44 Go to previous messageGo to next message
mmcfarland is currently offline  mmcfarland
Messages: 9
Registered: November 2014
Location: Cincinnati
Junior Member
'isnt old at all' yea its old. maybe its not as old as the dinosaurs, but it is certainly older than over a dozen or so linux releases. So 'isn't old at all' is not an accurate statement.

Look, my point is simple - openvz assumes kernel 2.6 - software that runs as a service, application, server, etc on a linux system that uses a later release of the linux kernel assumes that kernel! Maybe the 2.x family is safe, ok, so maybe 6.6 centos should work (I wouldnt bet my money on it!)

CentOS 6.6 runs on 2.6.32-504, openVZ is assumes a slightly older release, so maybe the IPV6 could work. Personally, I'd try to get it working on a server with no other changes. Just start up a basic server with NOTHING installed, CentOS 6.6 then add ipv6 and openvz, see what happens. if it works - then obviously its not openvz that's the problem.

At any rate, I would refrain from saying 'isnt old at all' - I tell you it is, and if you look at the latest linux version and how much different it is under the hood and how its architecture / api has changed so much then I'd say its a LITTLE old.

[Updated on: Fri, 07 November 2014 02:45]

Report message to a moderator

Re: Centos 6.6 IPV6 not working [message #51753 is a reply to message #51750] Fri, 07 November 2014 07:53 Go to previous messageGo to next message
TOCICI is currently offline  TOCICI
Messages: 5
Registered: February 2010
Location: Portland, OR
Junior Member
Wow, such rant... On the topic of an "old" kernel, you might consider:
www.lmgtfy.com/?q=RHEL+old+kernel&l=1

We've run a sizable OpenVZ hosting facility for over half a decade, and have yet to encounter a single customer citing issues with the OpenVZ-patched and RHEL-based stable kernel revs. Although we're always interested in hearing of specific issues that could be encountered in a production hosting environment. Please, could you consider cutting the FUD, and citing specific issues you're encountering, which can be directly attributed to said "outdated" kernels. Please?


Fast, cost effective & secure OpenVZ based hosting solutions: www.buildyourvps.com

Payment options: Dwolla, PayPal, Bitcoin

[Updated on: Fri, 07 November 2014 07:53]

Report message to a moderator

Re: Centos 6.6 IPV6 not working [message #51754 is a reply to message #51753] Fri, 07 November 2014 08:21 Go to previous message
TOCICI is currently offline  TOCICI
Messages: 5
Registered: February 2010
Location: Portland, OR
Junior Member
IPv6 is working splendidly on our CentOS 6.6 / 2.6.32-042stab094.7 OpenVZ host server builds, so I can't imagine it being that...

You said you configured an IPv6 address and restarted networking:
Quote:

In ifcfg-eth0 I added:

IPV6INIT=YES
IPV6ADDR=2001:470:1:2fe::18/64
IPV6_AUTOCONF=NO
IPV6FORWARDING=YES
IPV6_DEFAULTGW=2001:470:1:2fe::1



Although, I don't see it listed:
Quote:

ran ifconfig

eth0 Link encap:Ethernet HWaddr E0:CB:4E:CF:4B:BE
inet addr:184.105.182.18 Bcast:184.105.182.255
Mask:255.255.255.0
inet6 addr: fe80::e2cb:4eff:fecf:4bbe/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:21283662 errors:0 dropped:0 overruns:0 frame:0
TX packets:19638030 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2792719190 (2.6 GiB) TX bytes:2867321807 (2.6 GiB)


What output do you see after running this command:
sudo sysctl net.ipv6.conf.all.disable_ipv6 net.ipv6.conf.default.disable_ipv6



Fast, cost effective & secure OpenVZ based hosting solutions: www.buildyourvps.com

Payment options: Dwolla, PayPal, Bitcoin
Previous Topic: Kernel panic when booting with Ubuntu OpenVZ kernel
Next Topic: vzctl snapshots vs ploop snapshots
Goto Forum:
  


Current Time: Tue Nov 05 18:50:54 GMT 2024

Total time taken to generate the page: 0.03630 seconds