How configure IPV6 in CentOS 6

Issues related to configuring your network
Post Reply
fredroo
Posts: 6
Joined: 2018/03/31 20:15:56

How configure IPV6 in CentOS 6

Post by fredroo » 2018/03/31 20:21:56

-bash-4.1# ping6 ::1 -c 4
PING ::1(::1) 56 data bytes
64 bytes from ::1: icmp_seq=1 ttl=64 time=0.030 ms
64 bytes from ::1: icmp_seq=2 ttl=64 time=0.013 ms
64 bytes from ::1: icmp_seq=3 ttl=64 time=0.039 ms
64 bytes from ::1: icmp_seq=4 ttl=64 time=0.036 ms

--- ::1 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3002ms
rtt min/avg/max/mdev = 0.013/0.029/0.039/0.011 ms

-bash-4.1# ping6 ipv6.google.com -c 4
PING ipv6.google.com(2800:3f0:4002:805::200e) 56 data bytes
From fe80::225:90ff:fe7b:b52a icmp_seq=1 Destination unreachable: Address unreachable
From fe80::225:90ff:fe7b:b52a icmp_seq=2 Destination unreachable: Address unreachable
From fe80::225:90ff:fe7b:b52a icmp_seq=3 Destination unreachable: Address unreachable
From fe80::225:90ff:fe7b:b52a icmp_seq=4 Destination unreachable: Address unreachable

--- ipv6.google.com ping statistics ---
4 packets transmitted, 0 received, +4 errors, 100% packet loss, time 6014ms

my file /etc/sysconfig/network is:

NETWORKING=yes
HOSTNAME=ns507858.ip-192-99-5.net
NOZEROCONF=true
GATEWAY=94.23.2.254
NOZEROCONF=true
GATEWAY=192.99.5.254
NETWORKING_IPV6=yes



my ovh ipv6 range is: 2607:5300:60:3630::/64

what right ipv6 and ipv6 gateway, I need put in fille: /etc/sysconfig/network-scripts/ifcfg-eth0

User avatar
TrevorH
Site Admin
Posts: 33191
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: How configure IPV6 in CentOS 6

Post by TrevorH » 2018/03/31 20:33:23

Read /usr/share/doc/initscripts*/sysconfig.txt and look for the IPV6* entries you can add to the ifcfg file.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

fredroo
Posts: 6
Joined: 2018/03/31 20:15:56

Re: How configure IPV6 in CentOS 6

Post by fredroo » 2018/03/31 21:01:13

setup:

IPV6INIT=yes
IPV6ADDR=2607:5300:60:3630::1/64
IPV6_DEFAULTGW=2607:5300:60:3630::1

And this:

IPV6INIT=yes
IPV6ADDR=2607:5300:60:3630::1/64
IPV6_DEFAULTGW=2607:5300:60:3630::2

but both show this:

-bash-4.1# ping6 ipv6.google.com -c4
PING ipv6.google.com(2800:3f0:4002:805::200e) 56 data bytes
From 2607:5300:60:3630::1 icmp_seq=1 Destination unreachable: Address unreachable
From 2607:5300:60:3630::1 icmp_seq=2 Destination unreachable: Address unreachable
From 2607:5300:60:3630::1 icmp_seq=3 Destination unreachable: Address unreachable
From 2607:5300:60:3630::1 icmp_seq=4 Destination unreachable: Address unreachable

--- ipv6.google.com ping statistics ---
4 packets transmitted, 0 received, +4 errors, 100% packet loss, time 2999ms

fredroo
Posts: 6
Joined: 2018/03/31 20:15:56

Re: How configure IPV6 in CentOS 6

Post by fredroo » 2018/03/31 21:17:17

-bash-4.1# ifconfig |grep inet6
inet6 addr: 2607:5300:60:3630::1/64 Scope:Global
inet6 addr: fe80::225:90ff:fe7b:b52a/64 Scope:Link
inet6 addr: ::1/128 Scope:Host

fredroo
Posts: 6
Joined: 2018/03/31 20:15:56

Re: How configure IPV6 in CentOS 6

Post by fredroo » 2018/03/31 21:26:36

-bash-4.1# ping6 2607:5300:60:3630::1 -c4
PING 2607:5300:60:3630::1(2607:5300:60:3630::1) 56 data bytes
64 bytes from 2607:5300:60:3630::1: icmp_seq=1 ttl=64 time=0.025 ms
64 bytes from 2607:5300:60:3630::1: icmp_seq=2 ttl=64 time=0.037 ms
64 bytes from 2607:5300:60:3630::1: icmp_seq=3 ttl=64 time=0.043 ms
64 bytes from 2607:5300:60:3630::1: icmp_seq=4 ttl=64 time=0.023 ms

--- 2607:5300:60:3630::1 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3003ms
rtt min/avg/max/mdev = 0.023/0.032/0.043/0.008 ms

fredroo
Posts: 6
Joined: 2018/03/31 20:15:56

Re: How configure IPV6 in CentOS 6

Post by fredroo » 2018/03/31 22:18:04

would not it be a firewall block? ip6tables

fredroo
Posts: 6
Joined: 2018/03/31 20:15:56

Re: How configure IPV6 in CentOS 6

Post by fredroo » 2018/03/31 22:23:19

Follow this guide
https://www.reliablesite.net/hosting-ne ... sAJ3IjwaUk

but not work

not ping in ipv6.google.com

but ping in local ip 2607:5300:60:3630::1 and works

I try ping6 to 2607:5300:60:3630::1 from website ping6 tool but not works

User avatar
TrevorH
Site Admin
Posts: 33191
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: How configure IPV6 in CentOS 6

Post by TrevorH » 2018/04/01 00:59:45

I just realised, this is OVH and they do really weird stuff. You need to ask them as the setup is peculiar to them.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply