| 
 
Help setting up a subnet 
  Shadow Hawkins on Friday, 16 July 2004 12:46:18
I've recently setup a ipv6 tunnel which is working fine.
Now I would like to connect a second host but I need some help with it.
My setup:
1 netgear router connected to a (redhat-)linux machine and a winxp machine
The tunnel is running on the linux machine because that one is running 24h a day. What would be the best way to give the winxp machine ipv6 access?
 
Help setting up a subnet 
And how are these things interconnected ? Also do you mean "Netgear NAT Box" or a real router, if it is a real router you will need to let it support IPv6...
 
Help setting up a subnet 
  Shadow Hawkins on Friday, 16 July 2004 13:22:37
The netgear is just a nat-box.
Currently, things are connected using a hub and ipv4
 
Help setting up a subnet 
I thought you had a difficult problem... you might want to read the How do I give connectivity to other hosts on my subnet?
 
Help setting up a subnet 
  Shadow Hawkins on Friday, 16 July 2004 14:12:26
This might be easy for you, but it isn't for me. That's why I posted my question here :7-
I read the faq, but that didn't help. Ahwell, I'll read some more faq's/howto's then.
 
Help setting up a subnet 
Have you tried? If you did, what have you done and what parts worked and what went wrong etc. As you don't show any information what you did or tried we don't know if you have even tried something thus the only thing I can do is point you to the FAQ.
 
Help setting up a subnet 
  Shadow Hawkins on Friday, 16 July 2004 16:26:32
I have radvd running with this config on linux:
interface eth0
{
  AdvSendAdvert on;
  prefix 2001:838:3d5::/48
  {
  };
};
On WinXP i've installed IPv6.
Do I have to configure something else on XP?
 
Help setting up a subnet 
That is almost good but not correct. a /48 are 65535 links. You need to specify a single /64 there.
And then XP will accept it (when one has installed the IPv6 stack, which you did).
 
Help setting up a subnet 
  Shadow Hawkins on Friday, 16 July 2004 17:14:46
Thanks! I changed to /64.
..but XP still doesn't accept it. 
 Ethernet-adapter LAN-verbinding:
        Verbindingsspec. DNS-achtervoegsel: chello.nl
        IP-adres. . . . . . . . . . . . . : 192.168.1.10
        Subnetmasker. . . . . . . . . . . : 255.255.255.0
        IP-adres. . . . . . . . . . . . . : fe80::20d:87ff:fe42:d9b9%4
        Standaardgateway. . . . . . . . . : 192.168.1.1
Tunnel-adapter Teredo Tunneling Pseudo-Interface:
        Verbindingsspec. DNS-achtervoegsel:
        IP-adres. . . . . . . . . . . . . : fe80::5445:5245:444f%5
        Standaardgateway. . . . . . . . . :
Tunnel-adapter Automatic Tunneling Pseudo-Interface:
        Verbindingsspec. DNS-achtervoegsel: chello.nl
        IP-adres. . . . . . . . . . . . . : fe80::5efe:192.168.1.10%2
        Standaardgateway. . . . . . . . . :
 
Will this work with only 1 ethernet card installed on linux (acting as a tunnel and router)?
Help setting up a subnet 
Assuming, as you didn't draw it that your "network" looks like:
 { Internet } --- { Netgear } --- { Hub } ------- { Linux }
                                    |
                                    |
                              { Windows XP }
 
It should work. What you should do is check if the linux box itself has an IPv6 address from the prefix you are announcing, that the /64 is in it's routing table and that radvd is actually running. Also check that the linux box does have forwarding enabled.
In case of doubt, dump the information "ip6 int sho; ip6 -6 tun sho; ip -6 ro sho".
Help setting up a subnet 
  Shadow Hawkins on Friday, 16 July 2004 17:50:34
The schema you draw is exactly what I have :D
Forwarding is enabled (net.ipv6.conf.all.forwarding = 1)
And radvd is running!
ip -6 tun sho
 sit0: ipv6/ip  remote any  local any  ttl 64  nopmtudisc
sixxs: ipv6/ip  remote 213.197.27.252  local 192.168.1.11  ttl 64
 
ip -6 ro sho:
2001:838:300:215::/64 via :: dev sixxs  proto kernel  metric 256  mtu 1280 advmss 1220
fe80::/64 via :: dev sixxs  proto kernel  metric 256  mtu 1280 advmss 1220
ff00::/8 dev sixxs  proto kernel  metric 256  mtu 1280 advmss 1220
default via 2001:838:300:215::1 dev sixxs  metric 1024  mtu 1280 advmss 1220
 
Help setting up a subnet 
And "ip -6 int sho" ?
I assume that the eth0 interface didn't get an address either so you might want to check if the accept_ra sysctl is on, which would then create the address, otherwise, the easy method, add the IPv6 address out that /64 yourself by taking the fe80::<x> from eth0 and pasting the /64 prefix in fron of it thus making: 2001:838:300:215::<x>, then at least the interface has an IP from which it can send traffic. Another thing to do is start tcpdumping and seeing if the RA's are sent and received.
On XP you can use 'ipconfig renew' to solicit for a new RA.
 
Help setting up a subnet 
  Shadow Hawkins on Friday, 16 July 2004 20:40:06
I tried adding the ipv6 adress to eth0, but it won�?�ôt add it.
My ipv6 endpoint is 2001:838:300:215::2/64 and subnet prefix 2001:838:3d5::/48
The ipv6 adress I should add would then be 2001:838:300:215::a00:6ff:fe0e:b25e/64
I get the following message:
2001:838:300:215::a00:6ff:fe0e:b25e: Resolver Error 0 (no error)
(or should it be 2001:838:300:215:a00:6ff:fe0e:b25e/64 , without the double ":" ?)
"ip -6 int sho" didn't work:
Object "int" is unknown, try "ip help".
ps: thank you for still helping me.
 
Help setting up a subnet 
'ip int'.. hmm that should be 'ip link sho'
Try:
ip -6 addr add 2001:838:300:215:a00:6ff:fe0e:b25e/64 dev eth0
Thus indeed without the double colon, I guess it doesn't take that IPv6 address as it then would contain 9 words which is more than 128 bits.
 
Help setting up a subnet 
  Shadow Hawkins on Sunday, 18 July 2004 20:16:14
Amazing, it's working now 8-) thnx.
Here is the output of 'ip -6 link show' (just to be sure)
 1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 100
    link/ether 08:00:06:0e:b2:5e brd ff:ff:ff:ff:ff:ff
3: sit0@NONE: <NOARP> mtu 1480 qdisc noop
    link/sit 0.0.0.0 brd 0.0.0.0
4: sixxs@NONE: <POINTOPOINT,NOARP,UP> mtu 1280 qdisc noqueue
    link/sit 192.168.1.11 peer 213.197.27.252
 
  |