Remark. You include more than three IP addresses on "dns-nameservers" lines but please note that the glibc resolver only handles up to three addresses and, accordingly, resolvconf truncates the list of addresses in resolv.conf after the first three.
–
jdthoodJan 5 '13 at 10:29

JDT: Just curious how this works with having 3 ipv4 & 3 ipv6? Does it resolve 3 per?
–
TymanthiusJan 7 '13 at 13:42

The resolver will try up to three nameservers whether their addresses are IPv4 or IPv6.
–
jdthoodJan 7 '13 at 19:05

1 Answer
1

IPv4 uses iptables and IPv6 uses ip6tables. It might be that the change in your iptables configuration breaks your IPv4 connectivity. So you probably don't want to remove that line. It might define the policy for forwarding IPv4 packets between your eth0 and eth1 interfaces, so it might be that that breaks your configuration...

A bit further down you have a broken IPv6 configuration, but this shouldn't affect your IPv4 connectivity.

In the up/down lines you add a default route pointing to the tunnel device. The gateway line adds another default route pointing to an unused address on the tunnel interface (HE always gives its end of the tunnel the address ending in ::1) so that will break things. The following configuration should work better:

And then you try to do the impossible :-) You try to use the addresses that the tunnel uses on your eth0 link as well. This will not work. The tunnel IPv6 prefix is 2001:470:1f0e:1034::/64, which are all the addresses in the range 2001:0470:1f0e:1034:0000:0000:0000:0000 to 2001:0470:1f0e:1034:ffff:ffff:ffff:ffff. Even though the tunnel only uses two addresses from that range (2001:470:1f0e:1034::1 and 2001:470:1f0e:1034::2) you can't use the other addresses anywhere but on the tunnel.

Your eth0 link seems to be your connection to your ISP or upstream network. If it doesn't offer you IPv6 then don't configure it, especially not with addresses that conflict with another link. Just remove the following lines:

When creating the IPv6 tunnel at tunnelbroker.net you got two /64's. If your tunnel has 2001:470:1f0e:1034::/64 then your Routed /64 probably has 2001:470:1f0f:1034::/64, but check the information you got from tunnelbroker.net to confirm that. If I'm right then the correct configuration should be:

And then you should enable IPv6 forwarding. Something like this should be in your /etc/sysctl.conf file:

# Uncomment the next line to enable packet forwarding for IPv6
# Enabling this option disables Stateless Address Autoconfiguration
# based on Router Advertisements for this host
net.ipv6.conf.all.forwarding=1

To finish the configuration you should probably also configure ip6tables like you configured iptables.

Thank you so much Sander! While I am very good at making small ip4 networks, I have discovered with ip6 that I don't truly understand networking. This has gotten me to the point where the server has ip4 & 6, and my home network works just fine. Now to install radvd & see what happens. :)
–
TymanthiusJan 4 '13 at 18:48

radvd install went fine, used the config file example from the wiki.ubuntu site, and I'm up. Again, thank you so much!!
–
TymanthiusJan 4 '13 at 18:58