• February 24, 2025, 01:23:57 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: Using 6to4  (Read 7932 times)

jnob

  • Level 1 Member
  • *
  • Posts: 11
Using 6to4
« on: June 22, 2010, 05:57:46 AM »

I've configured 6to4 on my DIR-825, but don't seem to be getting v6 connectivity. There is no place in the configuration to define a default router - it should therefore automatically use 192.88.99.1 following RFC 3068. I see v4 ping a nearby 192.88.99.1, but can't v6 ping it.
Has anyone had success with 6to4 on the DIR-825?
Logged

rickm1350

  • Level 2 Member
  • **
  • Posts: 81
Re: Using 6to4
« Reply #1 on: June 22, 2010, 08:09:28 AM »

is your 6to4 adapter working properly?  Did you check it out in device manager?
Logged

jnob

  • Level 1 Member
  • *
  • Posts: 11
Re: Using 6to4
« Reply #2 on: June 23, 2010, 02:29:43 AM »

I've tried from both Windoze and Linux boxes, which have v6 2002: (6to4) addresses configured (so I guess the 825 is doing the correct router ADV - although I haven't tried sniffing the traffic yet to verify.) I'm able to ping6 the 825. Traceroutes stop at the 825.
Logged

sota767

  • Level 1 Member
  • *
  • Posts: 5
Re: Using 6to4
« Reply #3 on: June 24, 2010, 07:48:59 PM »

Same here. My 825 refuses to accept the 192.88.99.1 anycast address it puts in the 6to4 relay field by default, it keeps complaining "The IPv6 address is illegal". I also can't find any information saying the DIR-825 will forward type 41 packets which apparently is needed to be done by a router doing NAT and 6to4.
Logged

kamberwell

  • Level 1 Member
  • *
  • Posts: 1
Re: Using 6to4
« Reply #4 on: July 01, 2010, 05:22:49 PM »

Same here!!!

The router keep replying "The IPv6 address is illegal" error, any ideas?
Logged

maguire

  • Level 1 Member
  • *
  • Posts: 1
Re: Using 6to4
« Reply #5 on: July 03, 2010, 07:57:06 AM »

With a DIR-825, Hardware version B1, firmware 2.01EU I set the router to use 6to4 using Telia's fiberlan; the DIR-825 gets a 6to4 address based upon its IPv4 address.

I have used 2001:2000:4000::2 for DNS for IPv6.

I set the field in the LAN IPv6 Address to 0001.

I set the DIR-825 to do enable autoconfiguration and stateful DHCPv6 and gave it a range of 2 to 100.

Then I use dhcp6 to get an address (setting BOOTPROTO='dhcp6' in /etc/sysconfig/network/ifcfg-eth1 for OpenSuSE 11.2). Restarting the network the linux machine gets an IPv6 address on the ipv6 subnet that was allocated via the ISP.

However, at this point the linux machines does not have a IPv6 default route. This can be set up by saying the following:
 /sbin/ip -6 route add 2000::/3 via FE80::226:5AFF:FECD:9FF4 dev eth1

where the link local address is the link local address of the DIR-825 and eth1 is the network interface that I have configured for DHCPv6.

Now it is possible to reach IPv6 hosts - for example: ipv6.google.com

traceroute to ipv6.google.com (2a00:1450:8003::67), 30 hops max, 40 byte packets using UDP
 1  2002:4e48:9dd9:1::1 (2002:4e48:9dd9:1::1)  0.223 ms   0.179 ms   0.157 ms
 2  6to4gw-link.se.ipv6.telia.net (2001:2000:4001::1)  3.141 ms * *
 3  hy-peer3.se.ipv6.telia.net (2001:2000:4018:d::1)  5.597 ms   5.430 ms   6.805 ms
 4  teliasonera.tsd.cw.net (2001:5000:200:9::2)  2.307 ms   2.187 ms   1.947 ms
 5  teliasonera.tsd.cw.net (2001:5000:200:9::2)  1.986 ms   1.854 ms   1.995 ms
 6  ip-3-1-0-iar1.tsd.cw.net (2001:5000:200:9::1)  38.871 ms   38.879 ms   38.785 ms
 7  ge-2-3-0-xcr1.lsw.cw.net (2001:5000:0:141::1)  38.545 ms   38.795 ms ge-9-3-1-xcr1.lsw.cw.net (2001:5000:0:143::1)  38.547 ms
 8  xe-11-1-0-xcr1.amd.cw.net (2001:5000:0:12f::2)  45.704 ms xe-5-2-0-xcr1-amd.cw.net (2001:5000:0:99::2)  45.368 ms   45.243 ms
 9  pr61.ams04.net.google.com (2001:7f8:1::a501:5169:1)  44.483 ms   43.998 ms   44.249 ms
10  2001:4860::1:0:4b3 (2001:4860::1:0:4b3)  44.383 ms 2001:4860::1:0:8 (2001:4860::1:0:8)  44.121 ms 2001:4860::1:0:4b3 (2001:4860::1:0:4b3)  43.239 ms
11  2001:4860::1:0:12 (2001:4860::1:0:12)  44.150 ms   43.747 ms   43.866 ms
12  2001:4860::34 (2001:4860::34)  45.550 ms   44.422 ms   45.351 ms
13  2001:4860:0:1::2d (2001:4860:0:1::2d)  54.740 ms   53.684 ms   52.679 ms
14  2a00:1450:8003::67 (2a00:1450:8003::67)  45.404 ms   45.887 ms   45.510 ms

The routing table can be see by saying:
 ip -6 route show
2002:4e48:9dd9:1::/64 dev eth1  proto kernel  metric 256  mtu 1500 advmss 1440 hoplimit 0
2000::/3 via fe80::226:5aff:fecd:9ff4 dev eth1  metric 1024  mtu 1500 advmss 1440 hoplimit 0
fe80::/64 dev eth0  proto kernel  metric 256  mtu 1500 advmss 1440 hoplimit 0
fe80::/64 dev eth1  proto kernel  metric 256  mtu 1500 advmss 1440 hoplimit 0

Using Wireshark I do _not_ see the DIR-825 sending router advertisements. However, the DIR-825 does respond to Neighbor Solitation with a Neighbor Advertisement.

Logged

jnob

  • Level 1 Member
  • *
  • Posts: 11
Re: Using 6to4
« Reply #6 on: July 05, 2010, 08:02:09 AM »

OK. We've got the same HW  - I'm using 2.01EU-B15.

What do you mean by "set the router to use 6to4 using Telia's fiberlan"? There doesn't seem to be any 6to4 configuration on the DIR-825 towards the internet.

Do you configure DNS on the DIR-825, and the clients get it via stateful DHCPv6? Although apparently they don't get the default router in the same way.

You say "Restarting the network the linux machine gets an IPv6 address on the ipv6 subnet that was allocated via the ISP." You mean it gets an address allocated by the DIR-825 (in the address range you specified for the stateful dhcp.)?
Logged

jnob

  • Level 1 Member
  • *
  • Posts: 11
Re: Using 6to4
« Reply #7 on: July 05, 2010, 08:08:51 AM »

Oops, no. I forgot I upgraded to 2.02 EU. Could be that explains some differences.
Logged

sota767

  • Level 1 Member
  • *
  • Posts: 5
Re: Using 6to4
« Reply #8 on: July 06, 2010, 08:26:05 PM »

Same here!!!

The router keep replying "The IPv6 address is illegal" error, any ideas?

It looks like it's the DNS address the router is complaining about. If you enter an IPv6 DNS server it should accept it.
« Last Edit: July 06, 2010, 08:33:46 PM by sota767 »
Logged