LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-19-2015, 05:55 AM   #1
Conz
LQ Newbie
 
Registered: Jan 2013
Posts: 3

Rep: Reputation: Disabled
Centos 6.7 Unable to ping local ipv6


I am trying to figure out ipv6 so as a start I am just trying to set up a local ipv6 lan with dhcp and a dns server (no gateways etc)
The machine I'm using is a Centos 6.7 machine that *used* to have ipv6 disabled.

I'm not entirely sure where the problem is as I have very little experience with ipv6. I *think* I have the subnetting correct in the dhcp, I picked an fd40 range as that is supposed to be the ipv6 local subnets.

I configured the dhcpd6 with:
Quote:
subnet6 fd40:9dc7:b528::/48 {
range6 fd40:9dc7:b528::1 fd40:9dc7:b528::FFFF;
# option dhcp6.name-servers fd40:9dc7:b528::1:1;
}
fd40:9dc7:b528::1:1 is the ip6 of my centos machine.

Quote:
eth0 Link encap:Ethernet HWaddr 00:50:56:83:35F
inet addr:z.y.x.a Bcast:z.y.x.255 Mask:255.255.255.0
inet6 addr: fd40:9dc7:b528::1:1/64 Scope:Global
inet6 addr: fe80::250:56ff:fe83:35df/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:486474 errors:0 dropped:0 overruns:0 frame:0
TX packets:478646 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:45119824 (43.0 MiB) TX bytes:45596010 (43.4 MiB)
A client pc *does* get an ipv6 address from the server but I am unable to ping6 those ip's.
'ip neigh show' shows the ip6 ip's as STALE.
I cannot ping6 fd40:9dc7:b528::1:1 from the machine itself.


So now I'm slightly confused and any pointers would be appreciated :-)
 
Old 11-20-2015, 09:43 AM   #2
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,341

Rep: Reputation: Disabled
Your DHCP setup looks correct, and you've selected a valid IPv6 address range.

When you say:
Quote:
Originally Posted by Conz View Post
I cannot ping6 fd40:9dc7:b528::1:1 from the machine itself.
...do you mean the server is actually unable to ping its own IPv6 address? If so, you should check your ip6tables ruleset to make sure it's not blocking localhost traffic.

As long as the MAC addresses reported by ip -6 neigh show are correct, the fact that they're marked as STALE does not necessarily indicate a problem. Neighbor entries are supposed to have a very limited lifetime, and will be refreshed as soon as traffic starts flowing between the hosts in question. If an ip -6 neigh show command is run immediately after a ping6, it should show the entry as REACHABLE.
 
Old 11-20-2015, 11:54 AM   #3
Conz
LQ Newbie
 
Registered: Jan 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Ser Olmy View Post
Your DHCP setup looks correct, and you've selected a valid IPv6 address range.

When you say:

...do you mean the server is actually unable to ping its own IPv6 address? If so, you should check your ip6tables ruleset to make sure it's not blocking localhost traffic.
Initially ip6tables was on and blocking dhcpd, that started working after I turned iptables off so it's not that blocking ping6.
And yes it's unable to ping fd40:9dc7:b528::1:1, so slightly confused here.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
unable to ping with ipv6 address gswapna Linux - Networking 3 05-09-2013 11:14 PM
[SOLVED] Unable to ping between Centos and Windows XP... Need Help... dhiman.manish23 Linux - Networking 3 01-21-2012 07:57 AM
[SOLVED] Unable to ping local subnet behind peer in IPSEC tusharsharma43 Linux - Networking 2 12-05-2011 05:50 AM
Unable to ping some hosts on local network from linux box john test Linux - Networking 17 04-17-2009 04:29 AM
Unable to ping or Traceroute or FTP from local network. retheesh Linux - Networking 3 10-15-2003 06:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration