You are not logged in.

#1 2010-08-01 02:15:25

richendes
Member
From: Aus
Registered: 2010-08-01
Posts: 8

Enableing IPv6

Hi, I'm having trouble enabling IPv6 on my new installation of Arch. My network is a duel layer IPv4/IPv6, with dhcp for v4 and autoconfiguration  for v6 along with certain servers that have statics on both. I have MacOSX, Suse, Ubuntu, Mandriva and Windoze all working with both IPv6 and v4 but I can't seem to get Arch to work for v6.

So I have tried adding into modprob.conf "alias net-pf-10 on" which seems to have done nothing. I have also tried adding another interface into rc.conf like
eth0_ipv6="inet6"
INTERFACES=(eth0  eth0_ipv6)

along with differnt varients of eth0_ipv6 such as replacing inet6 with "eth0 autoconfigure".

So does anyone have any ideas on how to set up IPv6? as this was one of the main reasons I am trying out Arch due to the fact it has already got dhcp4.2 which has native v6 support.

Any help would be great

Thanks Richendes

Offline

#2 2010-08-01 02:19:01

richendes
Member
From: Aus
Registered: 2010-08-01
Posts: 8

Re: Enableing IPv6

oh and I'll also add I don't want to set up a tunnel etc either as I just want native v6 on my internal network and soon may set up native v6 over ADSL as my ISP has set this up.

Offline

#3 2010-08-01 04:56:07

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,223
Website

Re: Enableing IPv6

richendes wrote:

eth0_ipv6="inet6"
INTERFACES=(eth0  eth0_ipv6)

If you look at /etc/rc.d/network, it uses the name you give here as the interface to bring up, so I doubt it will be able to find an interface called "eth0_ipv6". Of course you can't have colons in bash variable names, so I think you're going to have to just stick it in rc.local until the Arch init scripts support IPv6 config. This is the same way you have to do alias addresses (eg, eth0:1) unless something has changed since the last time I tried it.

/sbin/ifconfig eth0 inet6 up
richendes wrote:

oh and I'll also add I don't want to set up a tunnel etc either as I just want native v6 on my internal network and soon may set up native v6 over ADSL as my ISP has set this up.

Internode? big_smile
I've been meaning to play with this IPv6 they provide... wink

Last edited by fukawi2 (2010-08-01 04:57:12)

Offline

#4 2010-08-01 05:45:12

richendes
Member
From: Aus
Registered: 2010-08-01
Posts: 8

Re: Enableing IPv6

I just tried the line "eth0_ipv6_0="eth0 add fd8d::3/64"" in rc.conf along with changing the "INTERFACES" line so it matched http://bugs.archlinux.org/task/16114. This gave me the result

[root@arch64 ~]# /etc/rc.d/network restart
:: Stopping Network                                                      [FAIL] 
:: Starting Network                                                      [BUSY] No support for INET6 on this system.
                                                                         [FAIL] 
[root@arch64 ~]# 

So I'll assume that in the normal version of Arch Linux that IPv6 is not even supported in the kernel. oh well I'll keep watching this thread but for now I'll have to try some more variants of linux to test the programs I wanted with IPv6. As soon as Arch has ipv6 support though, I'll be straight back as from what I have seen so far to get to this point is very promising and from the install was a lot cleaner (ie with out the bloat or some other distros).

and yeah it is Internode! great ISP. I haven't played round with there implementation yet but thats mainly because I wanted to learn on the internal network and get all the internal services v6 compatable such as proxy, dns, apache, etc and then slowly connect to the outside world. The other reason I haven't connected yet is that our external router doesn't support v6 and our internal cisco one does but if I use that it will give v6 to the whole network where as I would prefer to start off with a single comp. getting v6 so to test then expand to the others on the network.

Offline

#5 2010-08-01 06:00:42

Diaz
Member
From: Portugal
Registered: 2008-04-16
Posts: 366

Re: Enableing IPv6

Maybe try NetworkManager, i'm not sure, but saw somewhere that it should support IPv6.

And you're a lucky one for your ISP to support it, i'd like mine to do it too.

Offline

#6 2010-08-01 06:20:42

richendes
Member
From: Aus
Registered: 2010-08-01
Posts: 8

Re: Enableing IPv6

is NetworkManager a GUI tool? as I am really looking to not have to use a GUI at all and stay completely text based due to performance properties.

Offline

#7 2010-08-01 08:43:40

parintachin
Member
Registered: 2009-05-25
Posts: 72

Re: Enableing IPv6

you have definitly a problem because i had to turn of ipv6 onall my installs (had problem with slow dns-lookup) otherwise ipv6 worked out of the box on 3 installs

Offline

#8 2010-08-01 09:26:52

richendes
Member
From: Aus
Registered: 2010-08-01
Posts: 8

Re: Enableing IPv6

Was that with the 2010.05 64bit version? maybe I should try the 32bit version and see if it works. It may be that a flag was missing when the 64bit version got compiled.

Or would ipv6 got turned off recently due to a lot of people (it seems that way from my searches of the forums) wanting to disable the feature?

Offline

#9 2010-08-01 10:45:02

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: Enableing IPv6

The install iso version makes no difference... i686/x86_64 should not matter either.

cat /usr/src/linux-2.6.34-ARCH/.config | grep IPV6
CONFIG_IPV6=m
[...]

Maybe you have to add ipv6 to the modules array in rc.conf?

P.S.:  not sure if this could be helpful:

modinfo ipv6
filename:       /lib/modules/2.6.34-ck/kernel/net/ipv6/ipv6.ko
[...]
parm:           autoconf:Enable IPv6 address autoconfiguration on all interfaces (int)

Last edited by hokasch (2010-08-01 11:11:48)

Offline

#10 2010-08-01 11:16:15

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,964
Website

Re: Enableing IPv6

There is no sane way to get ipv6 working with initscripts. Use netcfg instead. Here is my config...maybe this gives you some ideas:

CONNECTION="ethernet"
DESCRIPTION="lan0"
INTERFACE="lan0"
IP="static"
IPCFG=("addr add 81.169.131.187/32 broadcast 81.169.131.187 dev lan0"
       "route add 81.169.128.1 dev lan0"
       "route add default via 81.169.128.1 dev lan0"

       "addr add 2a01:238:4200:3800:b5:e33:60e0:a026/128 dev lan0"
       "route add default via fe80::1 dev lan0")
DNS=("81.169.163.106" "85.214.7.22" "81.169.148.34")
SEARCH="stratoserver.net"

This is the dual-stack config for archlinux.de. And don'T forget to add the ipv6 module to rc.conf.

Offline

#11 2010-08-01 11:18:31

richendes
Member
From: Aus
Registered: 2010-08-01
Posts: 8

Re: Enableing IPv6

I finally have it now. I added ipv6 into the modules array in rc.conf and also installed kernel headers which for some reason wasn't installed (noticed after trying the cat of the source files). Now inet6 is showing and ipv6 seems to be up and running. Not sure which did the trick as I did them both together (will try again on another install tomorrow to check which did the trick). Thanks for the help, really good. big_smile

Offline

#12 2010-08-03 00:24:23

richendes
Member
From: Aus
Registered: 2010-08-01
Posts: 8

Re: Enableing IPv6

So I tried again today, and found that by adding ipv6 into the modules array in rc.conf turned ipv6 on. I just don't understand why it's turned off by default. but anyway that for the help Guys. I am now a happy arch convert

Offline

#13 2010-08-03 00:48:19

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,223
Website

Re: Enableing IPv6

richendes wrote:

I am now a happy arch convert

Welcome. You can never leave now tongue

Offline

#14 2010-08-03 01:39:23

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: Enableing IPv6

Offline

Board footer

Powered by FluxBB