Centos 6.6 IPV6 not working [message #51735] |
Mon, 03 November 2014 22:01 ![Go to next message Go to next message](/theme/ovz3/images/down.png) |
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 ...
Junk Email Filter
http://www.junkemailfilter.com
|
|
|
|
|
Re: Centos 6.6 IPV6 not working [message #51743 is a reply to message #51740] |
Thu, 06 November 2014 00:35 ![Go to previous message Go to previous message](/theme/ovz3/images/up.png) ![Go to next message Go to next message](/theme/ovz3/images/down.png) |
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 #51750 is a reply to message #51745] |
Fri, 07 November 2014 02:44 ![Go to previous message Go to previous message](/theme/ovz3/images/up.png) ![Go to next message Go to next message](/theme/ovz3/images/down.png) |
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 message Go to previous message](/theme/ovz3/images/up.png) ![Go to next message Go to next message](/theme/ovz3/images/down.png) |
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 Go to previous message](/theme/ovz3/images/up.png) |
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
|
|
|