Using aiccu client machine as gateway for other computers?
Shadow Hawkins on Saturday, 29 March 2008 03:13:03
I recently discovered that the Wii supports IPv6 out of the box. I would be interested in trying its connectivity, but unfortunately I am behind a NAT. The computer which I use to connect to IPv6 is a PowerMac G4, connecting with aiccu. Is there any way for me to provide IPv6 connectivity for the other computers on the network without having to connect directly to the PoP? For example can I make it so they can connect via the PowerMac, which is using aiccu?
Using aiccu client machine as gateway for other computers?
Shadow Hawkins on Saturday, 29 March 2008 14:39:36
Sure. Request a subnet from SiXXs and follow the FAQ hot to set it up.
Using aiccu client machine as gateway for other computers?
Shadow Hawkins on Saturday, 29 March 2008 20:01:34
I have requested and received my subnet. I have attemped to follow the *BSD instuctions, but they don't seem to be getting me far - I don't if there is any variance between them and MacOS X. I received a subnet:
end point: 2001:4978:f:48::2
subnet: 2001:4978:15d::/48
and added this to the rtadvd.conf file, of the computer connected via aiccu:
en0:\
:addr="2001:4978:15d::":prefixlen#48:
At the moment I have left the IPv6 settings on automatic, in the IPv6 settings in the system preferences, but I suspect that in this case I should be manually specifying the address, router and prefix length, but I am not sure what values I should be using? This computer is using 10.4.11
On the second Mac, running 10.5, should it be configuring IPv6 automatically?
Using aiccu client machine as gateway for other computers?
Shadow Hawkins on Sunday, 30 March 2008 12:06:10
1) use a prefix of 64 in rtadvd.conf. Also add a network number:
addr="2001:4978:15d:XXXX::" - XXXX = 000...FFFF
(if you just leave as it is and only change the prefix to 64, then the value is zero for XXXX, which is just fine)
2.) check if the en0 interface has assigned an IPv6 address from thet subnet. It must have one.
3.) Ususally there is no configuration needed on the hosts (besides enabling IPv6). At least not on modern linux and Windows, I don't have any MACs.
Does the host (second Mac) get any IPv6 addresses assigned (automatically) ?
Regards,
David
Using aiccu client machine as gateway for other computers?
Shadow Hawkins on Monday, 31 March 2008 01:20:47
I have changed the setting to:
en0:\
:addrs#1:addr="2001:4978:15d::":prefixlen#64:
accepting 0 for XXXX. I then ran the command "rtadvd -d en0".
Doing an ifconfig -a I see for en0 and tun0:
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet6 fe80::230:65ff:fed6:b164%en0 prefixlen 64 scopeid 0x4
inet 192.168.2.101 netmask 0xffffff00 broadcast 192.168.2.255
ether 00:30:65:d6:b1:64
media: autoselect (100baseTX <full-duplex>) status: active
supported media: none autoselect 10baseT/UTP <half-duplex> 10baseT/UTP <full-duplex> 10baseT/UTP <full-duplex,hw-loop
tun0: flags=8851<UP,POINTOPOINT,RUNNING,SIMPLEX,MULTICAST> mtu 1280
inet6 fe80::230:65ff:fed6:b164%tun0 prefixlen 64 scopeid 0x7
inet6 2001:4978:f:48::2 --> 2001:4978:f:48::1 prefixlen 128
open (pid 2024)
Clearly the address for en0 is not in the appropriate subnet, so something is not right somewhere.
Using aiccu client machine as gateway for other computers?
Shadow Hawkins on Monday, 31 March 2008 12:48:59
Yes, you must asiign an address to en0 manually.
use either PRE:FIX::1/64, that is 2001:4978:15d::1/64
or its EUI-64 ID (can be seen in the fe80:: address): 2001:4978:15d::230:65ff:fed6:b164
It would be nice, if it were assigne automatically, but it isn't. The FAQ mentions this, but only for linux :
https://noc.sixxs.net/faq/connectivity/?faq=usingsubnet&os=linux.router
Using aiccu client machine as gateway for other computers?
Shadow Hawkins on Tuesday, 01 April 2008 02:18:07
I tried both:
2001:4978:15d::230:65ff:fed6:b164
and
2001:4978:15d::1
I wasn't too sure about the router address, but in both cases I tried one of:
::1
2001:4978:f::1 (Pop address)
2001:4978:f::2 (end point)
But in all these cases I am unable to ping6 ipv6.google.com. I generally get the following result:
$ ping6 ipv6.google.com
PING6(56=40+8+8 bytes) 2001:4978:15d::1 --> 2001:4860:0:2001::68
ping6: sendmsg: No buffer space available
ping6: wrote ipv6.google.com 16 chars, ret=-1
On the other hand when en0's IP address is left to automatic, then I have no issues. My routing table looks as, follows it is a routing issue:
$ netstat -r
Routing tables
Internet:
Destination Gateway Flags Refs Use Netif Expire
default 192.168.2.1 UGSc 18 9 en0
127 localhost UCS 0 0 lo0
localhost localhost UH 16 6199 lo0
169.254 link#4 UCS 0 0 en0
192.168.2 link#4 UCS 4 0 en0
192.168.2.1 0:30:bd:8f:43:7c UHLW 20 25 en0 1155
192.168.2.4 0:19:fd:45:c0:3f UHLW 1 3 en0 1159
192.168.2.5 0:17:f2:4f:19:ee UHLW 3 1360 en0 1123
192.168.2.101 localhost UHS 0 14 lo0
192.168.2.255 ff:ff:ff:ff:ff:ff UHLWb 3 25 en0
Internet6:
Destination Gateway Flags Netif Expire
default gw-73.chi-02.us.si UGSc tun0
localhost link#1 UHL lo0
gw-73.chi-02.us.si cl-73.chi-02.us.si UH tun0
cl-73.chi-02.us.si link#7 UHL lo0
cl-73.chi-02.us.si Uc lo0
cl-73.chi-02.us.si link#1 UHL lo0
link#4 UC en0
zanniati.local 0:30:65:d6:b1:64 UHL lo0
zanniati.local Uc tun0
zanniati.local link#7 UHL lo0
ff01:: localhost U lo0
ff02::%lo0 localhost UC lo0
ff02::%en0 link#4 UC en0
ff02::%tun0 zanniati.local UC tun0
Using aiccu client machine as gateway for other computers?
Shadow Hawkins on Tuesday, 01 April 2008 02:40:13
Well I am not sure what changed but things seem to be working now. In the IPv6 setting of the aiccu client machine I specified the IPv6 address:
2001:4978:15d::1
and left the router address empty, though it seems to default to ::1. The interface now has two IPv6 addresses assigned to it:
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet6 fe80::230:65ff:fed6:b164%en0 prefixlen 64 scopeid 0x4
inet 192.168.2.101 netmask 0xffffff00 broadcast 192.168.2.255
inet6 2001:4978:15d::1 prefixlen 64
ether 00:30:65:d6:b1:64
The second machine can connect by just leaving the settings at automatic. I'll see if I can work out what I was doing wrong previously, so I will know in the future.
Thanks :)
Using aiccu client machine as gateway for other computers?
Jeroen Massar on Sunday, 06 April 2008 00:45:37
"I recently discovered that the Wii supports IPv6 out of the box."
How did you discover this? As I can find some people on the internet stating that the Wii does IPv6, but even though it requests first an A record and then an AAAA record, it does nothing IPv6.
I've tried the very easy test: www.ipv6.sixxs.net in the Opera browser ("Internet Channel"), which results in: "240023: Could not locate the remote server"
Not so odd as there is no IPv6 ND/RD/DAD or anything going on when the box boots up, or even during the time after that, as such there is no way that it could do IPv6 as it is not participating in getting an IPv6 prefix nor an address. It also doesn't respond on Link-Local.
As such, my only conclusion is that, though it might do an AAAA query, there is not much IPv6 in there. Now, if there just could be somebody at Nintendo who could explain where the rumor came from and if it is true or not...
Using aiccu client machine as gateway for other computers?
Shadow Hawkins on Sunday, 06 April 2008 04:01:19
Well, I didn't find out myself, but read about people coming to the conclusion that it does. The assumption was since the Wii makes AAAA queries it supports IPv6. During the brief period I had a working subnet (I still can't get it working consistently), I could not get Opera to connect to http://ipv6.google.com/. Because of this, I reached the same conclusion you did, that the Wii does not seem to support IPv6 at this point.
I can't find any evidence that the Wii is dealing with IPv6. Any site that says the Wii support IPv6 has bad information, unless they can prove conclusively that the Wii is connecting to an IPv6 site, rather than just doing look ups.
Using aiccu client machine as gateway for other computers?
Shadow Hawkins on Monday, 07 April 2008 20:46:00
Were you able to get addresses assigned to your other clients? I'm pretty sure the OS X stack is based on KAME like the other BSDs so you may want to set some RA flags in your rtadvd.conf (see other setup threads). I've never bothered to use OS X or even Darwin as a router but there may need to be some similar settings made to allow it do so, esp since you're using the client OS as the server install may already have the necessary kernel perms turned on. I'm curious to learn more about IPv6 with the Wii, though, so please let us know if you discover anything further. If I get a chance to bring mine in to the office to test with my setup, I'll post the results here.
-Gary
Using aiccu client machine as gateway for other computers?
Shadow Hawkins on Monday, 07 April 2008 23:36:04
I was briefly. I have duplicate thread here (don't ask why):
http://www.sixxs.net/forum/?msg=setup-702504
I have tried following any instructions I can find. I am starting to ask myself whether there is a bug in OS X or a bug in aiccu on OS X, because I can't believe no configuration gets the job working consistently. I might end up just buying the Apple Airport Extreme, but I would like to get things working on MacOS X, so I can document the necessary steps.
If there are any other people with Macs out there I would really like to compare their experiences, with using one as the aiccu client & router.
Using aiccu client machine as gateway for other computers?
Jeroen Massar on Monday, 07 April 2008 23:45:30
You are just doing it wrong, most likely due to old-leftover routes and other garbage, and most very likely due to misconfiguration and misunderstanding, as it works perfectly fine already for several years. Check your routing tables and interfaces and go through the checklist.
Forget about the Wii, it doesn't do IPv6, the people who stated that 'fact' are confusing DNS lookups over IPv4 with actual IPv6 connectivity. None of the actual tech-specs anywhere list IPv6 as a capability, and I am very sure that Nintendo would list it and show off with it. I would not be surprised though if they could install an update and enable it that way though or that it is in the Wii but just dormant.
Posting is only allowed when you are logged in. |