| Linode Forum https://forum.linode.com/ |
|
| Native ipv6 refuses to come up https://forum.linode.com/viewtopic.php?f=19&t=9350 |
Page 1 of 1 |
| Author: | kg4peq [ Wed Sep 05, 2012 2:16 am ] |
| Post subject: | Native ipv6 refuses to come up |
I have been using the IPv6 tunnel service from Hurricane Electric and tonight I decided to switch to native Linode IPv6. The HE tunnel has worked beautifully, but I cannot get the Linode configuration to come up. I am running Centos 5.8. According to the Linode site, my IP's are: 74.207.230.94/255.255.255.0 ( atlanta.wx4akq.org ) 2600:3c02::f03c:91ff:fe96:a6f7/64 Default gateways: 74.207.230.1 fe80::1 I have-- as best I can tell-- removed all traces of the HE.net tunnel from the system. Part of this was changing /etc/sysconfig/network to reflect "IPV6_DEFAULTDEV=eth0" instead of "=sit0" as configured during the HE.net tunnel setup. When my Linode boots, eth0 finds the link address, but is not populating with the IPv6 address: Code: eth0 Link encap:Ethernet HWaddr F2:3C:91:96:A6:F7 I can manually add the address using the "ip" command: Code: ip -6 addr add 2600:3c02::f03c:91ff:fe96:a6f7/64 dev eth0 ...and then "ifconfig eth0" shows the address, as expected: Code: eth0 Link encap:Ethernet HWaddr F2:3C:91:96:A6:F7 ...however, I still cannot pass any traffic out to the Internet over IPv6: Code: ping6 ipv6.google.com At various points in playing with the system, bringing interfaces up and back down and tinkering with configuration files and routing I have gotten it working *briefly* but upon cycling the interface down and back up, or rebooting the Linode, it stops working again, and even repeating the steps which previously worked do not appear to fix it, so I think it's more of a fluke that it ever worked at all. I'm sure there's something still lurking in the system relating to the HE.net tunnels that needs to be removed, but I have no idea where to begin looking. Any suggestions? |
|
| Author: | XReaper [ Wed Sep 05, 2012 2:25 am ] |
| Post subject: | Re: Native ipv6 refuses to come up |
Your system should be configured for SLAAC (Autoconfiguration), which doesn't need any configuration for ipv6 to work. Perhaps you changed something when you had the tunnel set up? Also, you can use iproute2 to show addresses, no need for ifconfig (ip -6 addr, and ip -4 addr etc) Can you post the output of 'ip -6 route show' Thanks |
|
| Author: | kg4peq [ Wed Sep 05, 2012 2:27 am ] |
| Post subject: | Re: Native ipv6 refuses to come up |
Code: [root@atlanta ~]# ip -6 route show |
|
| Author: | mnordhoff [ Wed Sep 05, 2012 2:28 am ] |
| Post subject: | Re: Native ipv6 refuses to come up |
This probably isn't it, but please also paste the output of "ip6tables-save". |
|
| Author: | kg4peq [ Wed Sep 05, 2012 2:33 am ] |
| Post subject: | Re: Native ipv6 refuses to come up |
mnordhoff wrote: This probably isn't it, but please also paste the output of "ip6tables-save". It's not that, as I have ip6tables disabled at the moment while trying to get all this sorted out. I did just do: Quote: ip -6 route add default via fe80::1 dev eth0 and traffic is now flowing. Here is the updated 'ip -6 route show': Code: [root@atlanta ~]# ip -6 route show So it looks like in addition to never getting the IP address, it also wasn't getting a default route. Traffic is now flowing in and out of IPv6... so short of throwing those two commands in rc.local, where do we go from here to check to see why those aren't configuring automatically? Thanks for your help, by the way. |
|
| Author: | dwfreed [ Wed Sep 05, 2012 2:35 am ] |
| Post subject: | Re: Native ipv6 refuses to come up |
Post the output of the following, so we can help you fix this permanently: Code: cat /etc/sysconfig/network-scripts/ifcfg-* Also, define "disabled"; default policy ACCEPT on all chains, and no rules? |
|
| Author: | mnordhoff [ Wed Sep 05, 2012 2:40 am ] |
| Post subject: | Re: Native ipv6 refuses to come up |
kg4peq wrote: It's not that, as I have ip6tables disabled at the moment while trying to get all this sorted out. Humor me. iptables rules sometimes sneak in when you aren't watching. On a different subject, what's with all of those 6to4 and other routes on lo? |
|
| Author: | kg4peq [ Wed Sep 05, 2012 2:42 am ] |
| Post subject: | Re: Native ipv6 refuses to come up |
dwfreed wrote: Post the output of the following, so we can help you fix this permanently: Code: cat /etc/sysconfig/network-scripts/ifcfg-* Code: [root@atlanta ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0 Code: [root@atlanta ~]# cat /etc/sysconfig/network-scripts/ifcfg-lo Code: [root@atlanta ~]# sysctl -a | grep 'net.ipv6.conf' Code: [root@atlanta ~]# cat /etc/sysctl.conf dwfreed wrote: Also, define "disabled"; default policy ACCEPT on all chains, and no rules? Exactly. |
|
| Author: | kg4peq [ Wed Sep 05, 2012 2:44 am ] |
| Post subject: | Re: Native ipv6 refuses to come up |
mnordhoff wrote: kg4peq wrote: It's not that, as I have ip6tables disabled at the moment while trying to get all this sorted out. Humor me. iptables rules sometimes sneak in when you aren't watching. Code: [root@atlanta ~]# ip6tables-save mnordhoff wrote: On a different subject, what's with all of those 6to4 and other routes on lo? Who knows. Only 6to4 stuff I know about is whatever was created when the HE tunnel was created. |
|
| Author: | kg4peq [ Wed Sep 05, 2012 11:45 pm ] |
| Post subject: | Re: Native ipv6 refuses to come up |
Not sure why my final post didn't show up here, so I'll try again. Y'all got my wheels turning, and I fixed the problem at o'dark:30 this morning. When I said ip6tables was disabled, I was not taking down ip6tables until the system finished booting. I did not have a rule in ip6tables to allow ICMPv6 traffic, and that's apparently necessary for the interface to auto-configure. After modifying ip6tables to allow ICMPv6, everything works beautifully. Code: ip6tables -A INPUT -p icmpv6 -j ACCEPT Thanks to everyone for all the help! |
|
| Author: | sweh [ Fri Sep 07, 2012 4:29 pm ] |
| Post subject: | Re: Native ipv6 refuses to come up |
kg4peq wrote: Not sure why my final post didn't show up here, so I'll try again. You posted it in the wrong thread ("iptables vs ip6tables") |
|
| Author: | kg4peq [ Sat Sep 08, 2012 4:23 am ] |
| Post subject: | Re: Native ipv6 refuses to come up |
sweh wrote: kg4peq wrote: Not sure why my final post didn't show up here, so I'll try again. You posted it in the wrong thread ("iptables vs ip6tables") Well that's just bizarre. |
|
| Page 1 of 1 | All times are UTC-04:00 |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|