| Linode Forum https://forum.linode.com/ |
|
| IPV6 configuration - Ubuntu 10.04 https://forum.linode.com/viewtopic.php?f=19&t=8698 |
Page 1 of 1 |
| Author: | danscott [ Sun Apr 15, 2012 10:44 pm ] |
| Post subject: | IPV6 configuration - Ubuntu 10.04 |
Hi, I have added an IPV6 address to my Ubuntu 10.04 linode. For some reason, the autoconfigure doesn't seem to be working: Code: eth0 Link encap:Ethernet HWaddr f2:3c:91:96:68:a5 My /etc/network/interfaces is: Code: # This file describes the network interfaces available on your system Do I need to modify the interfaces file to get the autoconfiguration working? I have a Fedora Linode too - the IPV6 address was added with no problem. Thanks, Dan |
|
| Author: | theckman [ Sun Apr 15, 2012 10:57 pm ] |
| Post subject: | |
Do you have any type of firewall helper (ufw for example)? What does "sysctl -a | grep net.ipv6.conf.eth0" show? -Tim |
|
| Author: | danscott [ Sun Apr 15, 2012 11:04 pm ] |
| Post subject: | |
Nope, no firewall helper, just the iptables.up.rules file that is mentioned in interfaces. It would be ip6tables for IPV6, right? In any case the firewall shouldn't stop the IP address being assigned, right? Output from sysctl: Code: dan@block-shape:~$ sudo sysctl -a | grep net.ipv6.conf.eth0 Thanks. |
|
| Author: | fuzzman442 [ Sun Apr 15, 2012 11:09 pm ] |
| Post subject: | |
Question #1: Did you reboot your Linode after you added the IPv6 address? |
|
| Author: | theckman [ Sun Apr 15, 2012 11:13 pm ] |
| Post subject: | |
fuzzman442 wrote: Question #1: Did you reboot your Linode after you added the IPv6 address?
Enabling IPv6 within the Linode Manager forces a reboot. |
|
| Author: | danscott [ Sun Apr 15, 2012 11:15 pm ] |
| Post subject: | |
theckman wrote: fuzzman442 wrote: Question #1: Did you reboot your Linode after you added the IPv6 address? Enabling IPv6 within the Linode Manager forces a reboot. Exactly. I have also restarted networking. |
|
| Author: | theckman [ Sun Apr 15, 2012 11:19 pm ] |
| Post subject: | |
Well, with sysctl it looks like you should be good. Just to cover the bases what does this show: ip6tables-save -Tim |
|
| Author: | danscott [ Sun Apr 15, 2012 11:23 pm ] |
| Post subject: | |
As far as I'm aware, it should be the default config. This is what I get: Code: dan@block-shape:~$ sudo ip6tables-save |
|
| Author: | danscott [ Sun Apr 15, 2012 11:29 pm ] |
| Post subject: | |
I just noticed this in syslog: Code: Apr 16 03:35:06 block-shape kernel: eth0: no IPv6 routers present Is this something I can fix? |
|
| Author: | theckman [ Mon Apr 16, 2012 12:00 am ] |
| Post subject: | |
I've never seen that error before. Which datacenter are you in? |
|
| Author: | danscott [ Mon Apr 16, 2012 8:26 am ] |
| Post subject: | |
London |
|
| Author: | irgeek [ Mon Apr 16, 2012 8:37 am ] |
| Post subject: | |
danscott wrote: Code: *filter You're dropping everything in the filter table so you never see the router advertisements. The quick fix is to allow all IPv6 traffic by changing the policy to ACCEPT. You can also set up rules to allow only the traffic you need, but that's more complicated. -James |
|
| Author: | danscott [ Mon Apr 16, 2012 9:16 am ] |
| Post subject: | |
OK, I think I've got it now, thanks. Code: -A INPUT -j ACCEPTfor ip6tables worked and I got the IPV6 address. Do you know which rules I need specifically? I added these: Code: -A INPUT -p ipv6-icmp -m icmp6 --icmpv6-type 134 -j ACCEPT and removed the 'accept all' rule, but I lost my address again. |
|
| Author: | smiffy [ Wed Apr 25, 2012 1:16 am ] |
| Post subject: | |
If it's any help, I just got things working on mine by borrowing the ICMP6 rules from here: www.cert.org/downloads/IPv6/ip6tables_rules.txt |
|
| Page 1 of 1 | All times are UTC-04:00 |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|