Linux IPv6 Default Route Not Working
CentOS / Fedora / Red Hat Enterprise / Other Linux distro has weird bug in kernel itself.
I've tested this on Linux 2.6.18-92.1.1.el5 x86_64. The default IPv6 route, as configured in /etc file does not work. You need to add it manually using route command.
# ip route add {IPv-6-IP} dev {device}
OR
# ip route add 2000::/3 dev eth2
Now, you can ping to IPv6 site, enter:
# ping6 ipv6.google.com
Sample output:
PING ipv6.google.com(2001:4860:0:2001::68) 56 data bytes 64 bytes from 2001:4860:0:2001::68: icmp_seq=0 ttl=59 time=37.3 ms 64 bytes from 2001:4860:0:2001::68: icmp_seq=1 ttl=59 time=36.7 ms 64 bytes from 2001:4860:0:2001::68: icmp_seq=2 ttl=59 time=36.9 ms 64 bytes from 2001:4860:0:2001::68: icmp_seq=3 ttl=59 time=36.9 ms
You may also be interested in other helpful articles:
- Understanding the IPv6 (Internet Protocol, version 6)
- HP-UX: How Do I configure routing or add route?
- Linux: How to disable the IPv6 protocol
- Solaris: How do I setup a default static route / static router IP address?
- How do I Drop or block attackers IP with null routes?
Leave a Reply
We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!
Tags: default route, ip command, kernel, linux ipv6, ping6 command, red hat enterprise, route command, weird bug




Recent Comments
Yesterday ~ 24 Comments
Yesterday ~ 24 Comments
Yesterday ~ 3 Comments
Yesterday ~ 2 Comments
09/05/2008 06:08 pm (2 days ago) ~ 16 Comments