Hurricane Electric's IPv6 Tunnel Broker Forums

General IPv6 Topics => IPv6 on Routing Platforms => Topic started by: drydog on November 18, 2008, 11:01:48 AM

Title: D-Link native support of IPv6 announced--anyone tried it yet?
Post by: drydog on November 18, 2008, 11:01:48 AM
D-Link is supposed to support IPv6 directly in some of their (newer?) routers.  They are: D-Link IPv6 support: DI-784 abg, DI-524 bg, DI-624 bg, WBR-1310 g, WBR-2310 g rangebooster, DIR-615 n. See p. 16 of
Ref: http://www.ipv6.org.tw/summit2008/doc/1-4-4.pdf

On p. 15, they say:
Not only meet IPv6 Ready logo requirements, but also upper layer IPv6 connection mechanisms:
  Static IP, DHCPv6 (Stateful), DHCPv6 (Stateless), PPPoE, IPv6/IPv4 Tunneling, 6to4 Tunneling, Autoconfiguration, Link-Local connection.

Has anyone tried one of these routers? If so, could they post configuration instructions for one of these?

I plan to buy one of these some day and try it out, but I may be more motivated if someone has already tried it with HE's Protocol 41 tunnel.
- Dan
Title: Re: D-Link native support of IPv6 announced--anyone tried it yet?
Post by: starczar on April 12, 2009, 10:40:21 PM
I know this topic is quite old and probably abandoned, but I thought I'd offer what little experience I have on the subject.

I have been conducting experiments with a DIR-615 and have found it to be acceptable, at least in the early stages.  Some people have complained about some of the limited options in the configuration and the lack of an IPv6 status screen.  It could be frustrating for some.

I don't know if it is a problem with the DIR-615 or with my server, but one intersting problem that I have not yet resolved is that my testing Windows 2000 Advanced server box will not talk to the d-link router, even via IPv4.  I have tried DHCP and hard coding the IP addresses and nothing.  Just as weird is the fact that the Win2k server _will_ talk to both of the 2008 servers that are also conencted to the DIR-615.

Title: Re: D-Link native support of IPv6 announced--anyone tried it yet?
Post by: dhorn2000 on June 17, 2009, 06:49:52 AM
I was able to get my hands on a DIR-615 Rev C1 router here in the US, and have successfully setup 6in4 tunnel using the HE tunnelbroker.

The stability seems to be very good so far using the latest f/w from D-Link (been running about 2 weeks with no issues).  The only real limitation so far for the DIR-615 is that there are no settings for an IPv6 based firewall on the router, so all IPv6 hosts on the LAN side will need to ensure proper firewall logic using IPv6.

I also wrote a shell script that will update both the router, and tunnelbroker.net when my WAN IPv4 address changes.  It is suitable for running interactively, or via cron job from *NIX.

If anyone is interested in the script, I will clean it up a bit an post it for general use.

So far, I give the DIR-615 rev C1 with f/w 3.10NA a thumbs up. ;D

--Dave
Title: Re: D-Link native support of IPv6 announced--anyone tried it yet?
Post by: cthrax on August 02, 2009, 10:12:17 PM
I have the DIR-825 up and running with only one complaint.  I'm getting 220ms of latency through the seattle tunnel server to an IPv6 enabled site versus 15ms for an IPv4.  Obviously the tunnel adds some latency, but 10x seems a little ridiculous.  My complete guess was maybe DLINK isn't using a very efficient IPv6 stack?  Anyone else have any thoughts? For the record, pinging directly to the Seattle tunnel server is only about 75 ms...
Title: Re: D-Link native support of IPv6 announced--anyone tried it yet?
Post by: kcochran on August 02, 2009, 11:19:22 PM
What does the v6 trace look like versus the v4?
Title: Re: D-Link native support of IPv6 announced--anyone tried it yet?
Post by: CecilWard on September 18, 2009, 10:26:18 AM
@cthrax - Thanks for the post regarding the DIR-825

Did you manage to make any sense out of the long-latency-over-IPv6 thing? What happens if you traceroute to the IPV4 address of the far end of the tunnel? (And check that the route is what you expect.)

Aside from the tunnel you see, I suppose there could be other tunnels further away along the IPV6 internet for all we know. Or else it could just be that the route in the IPV6 internet is just plain bad, congested or tortuous or the ipv6 enabled site you looked at is not as capable as its ipv4 counterpart. So I would think that tracerouting in both IPV4 and IPV6 and looking at the intermediate hops is the key surely?

Another thought, could this be an MTU/MRU issue? (If using ADSL, could try forcing your own ipv4 MTU/MRU down to 1430 [for PPPoA], say, temporarily while testing, as that presumably levels the playing field between protocols.)
Title: Re: D-Link native support of IPv6 announced--anyone tried it yet?
Post by: busterb on September 22, 2009, 06:42:48 AM
I would be interested in the script, dhorn2000. My current problem with the DIR-615's IPv6 support is that it is impossible to set the local IPv4 address correctly. The address changes every time the router reboots, and applying changes also causes the router to reboot. So, every time I enter the local IPv4 address and apply, it changes.

I guess I could but the router behind a different router, but that kind of defeats the purpose. If there was some way to say 'use the WAN ip' for the local ipv4 address, that would be great, but if your script can update without rebooting, also good. Or can you just use the LAN address there?
Title: Re: D-Link native support of IPv6 announced--anyone tried it yet?
Post by: dhorn2000 on September 25, 2009, 07:43:00 PM
Here the the shell script that will update the DIR-615 Rev C router's 6in4 ipv4 tunnel endpoint, and the tunnelbroker.net ipv4 endpoint.

Dependancies:  openssl, curl, grep, sh

You need to edit the script, and set your personal information:

881-# = The UserID from the main page of the tunnelbroker (not your username)
955:tunnel_provider_user="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
1011-# = The password (plaintext) from your tunnelbroker account.  This
1078-#   will be md5 encoded and only transmitted via SSL.
1132:tunnel_provider_password="xxxxxxxxxx"
1170-# = The Global Tunnel ID from the tunnel_details page
1224:tunnel_id="xxxxx"
1388-# = The cleartext password for the D-Link router admin login
1449:router_admin_password="xxxxx"
1479-# make sure that the silly graphical login image is disabled

returns:  0 on no change needed, and 10 on successful update, and 100 on failure

'sh he_dir615_update.sh --verbose' will show verbose status messages.  By default the script is very quiet, and only gives an exit code.
'sh he_dir615_update.sh; echo $?' will show the exit status code to the terminal.

The script is attached. (hopefully intact)

Good Luck.

--Dave
Title: Re: D-Link native support of IPv6 announced--anyone tried it yet?
Post by: dhorn2000 on September 26, 2009, 08:45:36 AM
Quote from: busterb on September 22, 2009, 06:42:48 AM
If there was some way to say 'use the WAN ip' for the local ipv4 address, that would be great, but if your script can update without rebooting, also good. Or can you just use the LAN address there?

Yes, you would think that there would be a selection listed for "use wan ipv4 address", rather than having to look it up, then change it every time in two places.  <sigh>  But for me, DHCP gives me a very stable lease (have the same ipv4 addr for over 3 months).  I run the shell script via cron every hour to verify that there are no changes, and I get a nice email from cron when the address gets updated (since the script exits >0 when updating the ipv4 addresses).

We should start submitting bug reports to dlink on these items, as that is probably the only way things will improve.

Let me know if the script works for your configuration, and what f/w revision and hardware revision you have.

BTW, what f/w are you using on your DIR-615 rev C ?  I have 3.11NA, and it mostly works with no issues.  There is a glitch in not starting radvd (stateless autoconfig/RA process) occasionally that I have not completely figured out yet, but I found a work-around to disable QoS <save settings>, enable QoS <save settings>.  Go figure. 

I recommend enabling remote syslog so you can look at the router logs without going through the router web gui.

--Good Luck

-_Dave H
Title: Re: D-Link native support of IPv6 announced--anyone tried it yet?
Post by: ssorel on October 05, 2009, 09:29:02 AM
I am currently using a DIR-615 Rev. C.  I bought it from newegg.com This month for $40. A great router, and the IPv6 Works flawless with Tunnelbroker.net.... I had a problem with the out of box firmware not starting the radvd to setup stateless autoconfig... Updated frimware from 3.10NA to 3.11NA and works flawless. Highly recomended over DD-WRT, mostly because even an advanced Linux guy as myself could'nt get the IPv6 Kernel modules to load properly on the newer build, so you have to use old, custom builds to get it working. Builds that have had Bug Fixes in later releases ETC, also posting on the forums didn't seem to reveal if the newer upcoming beilds would have better IPv6 Support out of the box. It's a shame. I hear better stories with OpenWRT but my Router isn't supported. So I packed it away in the basement, and got this puppy, working straight thru since the day it came in 2 weeks ago!
Title: Re: D-Link native support of IPv6 announced--anyone tried it yet?
Post by: snarked on January 03, 2010, 02:09:15 AM
For the WBR-2310, which version - or both?  I have a relative who has version A1.
Title: Re: D-Link native support of IPv6 announced--anyone tried it yet?
Post by: drydog on October 12, 2010, 02:41:23 PM
Here's an update to this thread I started 2 years ago.  Still haven't got a new router.  My IPv6 traffic is still served through my home server.

Here's a list of D-Link supported routers (or at least support is claimed by D-Link):
QuoteDIR-300 Rev. B2
DIR-600 Rev. B2
DIR-615 Rev. D3
DIR-655 Rev. A1 and B1
DIR-685 Rev. A2
DIR-852 Rev. A1
DIR-865 Rev. A1
This list is from
http://yorickdowne.wordpress.com/2010/02/26/ipv6-at-home-or-office-part-4-0-tunnelbroker-net-ipv6-routers/

Here's another thread about setting up D-Link DIR-615 on HE's 6in4 tunnel:
http://www.tunnelbroker.net/forums/index.php?topic=709.0

I'm thinking of getting the DIR-655N.  It was highly-recommended at Fry's, as long as you don't need dual band N.  My guess (or hope) is the configuration is the same or similar to the DIR-615 at the link above.

Another link about configuring DIR-615 on HE's tunnel appears dead.  My guess is the employee moved on from HE and HE zapped all the personal webpages he had.  Anyone have the info cached?
http://broquea.corp.he.net/615/
http://broquea.corp.he.net/615/615-HE-tunnel.PNG
*Edit* broquea, thanks for restoring the files--this is a big help and the fewer sysadmin headaches (specifically, configuration uncertainties), the better :).
Title: Re: D-Link native support of IPv6 announced--anyone tried it yet?
Post by: broquea on October 12, 2010, 09:12:26 PM
Uh, I still work here, I was simply cleaning up my files. I can put them back later :P

*edit* - there files are back.
Title: Re: D-Link native support of IPv6 on DIR-825
Post by: drydog on November 19, 2010, 11:47:28 PM
I configured a HE Tunnelbroker IPv6 in IPv4 tunnel on a D-Link DIR-825.  I'm under the impression that all D-Link routers (the "newer" ones at least) support IPv6.

One major glitch is it appears router advertisement is broken. I have router autoconfiguration enabled in the D-Link router ("stateless", lifetime 30 minutes), but on both my Solaris and Windows 7 machines I need to add the IPv6 address and default route manually.  :(

Here's my HE configuration, followed by a screen shot of the D-Link configuration page.  :
(http://dan.drydog.com/images/he-ipv6-settings.png)

Here's the D-Link DIR-825 IPv6 router configuration, under the Advanced-->IPv6 tab:
(Note: The 10.11.12.1 address is the INTERNAL IPv4 network address for the D-Link router.)
(http://dan.drydog.com/images/dlink-ipv6-settings.png)
Title: Re: D-Link native support of IPv6 announced--anyone tried it yet?
Post by: jimb on November 20, 2010, 04:14:18 PM
Hrm that's interesting.  Have you tried increasing the frequency of the RAs from 30 minutes to something shorter?  I know my radvd pops off way more frequently than that.  Seems to be about every five minutes.
Title: Re: D-Link native support of IPv6 announced--anyone tried it yet?
Post by: lukec on November 21, 2010, 04:39:15 PM
Would the 30 minutes being suggested be the "lifetime of the allocated prefix" and not the frequency of RAs ?

You could try a packet capture of ICMP6 and check the "managed other" flag.

What are the other settings from the dropdown "Autoconfiguration Type" ?
Regards
lukec
Title: Re: D-Link native support of IPv6 announced--anyone tried it yet?
Post by: drydog on November 22, 2010, 10:38:20 AM
Quote from: lukec on November 21, 2010, 04:39:15 PMWould the 30 minutes being suggested be the "lifetime of the allocated prefix" and not the frequency of RAs ? You could try a packet capture of ICMP6 and check the "managed other" flag. What are the other settings from the dropdown "Autoconfiguration Type" ?

I upgraded the D-Link firmware from 2.02NA (came out of the box) to 2.03NA (latest on website).  Still no joy.

The other settings for "Autoconfiguration Type" are: Stateless (current, and default setting) or Sateful (DHCPv6).

I saved the packet capture, and I looked again--no "managed other" flag.

From their DIR-825 emulator help page:
http://www.support.dlink.com/emulators/dir825_revB/203NA/support_adv.html#ipv6
Enable Autoconfiguration
    These two values (from and to) define a range of IPv6 addresses that the DHCPv6 Server uses when assigning addresses to computers and devices on your Local Area Network. Any addresses that are outside this range are not managed by the DHCPv6 Server. However, these could be used for manually configuring devices or devices that cannot use DHCPv6 to automatically obtain network address details.
    When you select Stateful (DHCPv6), the following options are displayed.
    The computers (and other devices) connected to your LAN also need to have their TCP/IP configuration set to "DHCPv6" or "Obtain an IPv6 address automatically".


So, I'll try Stateful autoconfiguration and see if it works.

By the way, D-Link has an online emulator of their router configuration webpages here.  To login, just click login (no password):
http://www.support.dlink.com/emulators/dir825_revB/203NA/login.html
Go to
Login-->Advanced-->IPv6-->IPv6 over IPv4 Tunnel
to see IPv6 configuration options

Title: Re: D-Link native support of IPv6 announced--anyone tried it yet?
Post by: jimb on November 22, 2010, 10:59:17 AM
U won't get a default route w/ DHCPv6, 'cause it doesn't do it.  RA is supposed to do defroutes AFAIK.
Title: Re: D-Link native support of IPv6 announced--anyone tried it yet?
Post by: liuxyon on November 23, 2010, 10:58:55 PM
I have using D-LINK DI615 F3, it isn't support ipv6.  ???
Title: Re: D-Link native support of IPv6 announced--anyone tried it yet?
Post by: drydog on December 01, 2010, 12:06:48 AM
Quote from: drydog on November 22, 2010, 10:38:20 AM
I upgraded the D-Link firmware from 2.02NA (came out of the box) to 2.03NA (latest on website).  Still no joy.
The other settings for "Autoconfiguration Type" are: Stateless (current, and default setting) or Stateful (DHCPv6).

For the record, setting the D-Link router to "Stateful" instead of "Stateless" Autoconfiguration didn't help.  Still no automatic IPv6 address or default route.  The router works if you assign an IPv6 address by-hand (and default route).  That's fine for my desktop, but a pain for my laptop which isn't always on my home network.

I should probably look for a router that fully supports IPv6--including Router Advertisement (RA). Any suggestions for some router that really supports IPv6, from personal experience?
Title: Re: D-Link native support of IPv6 announced--anyone tried it yet?
Post by: drydog on December 01, 2010, 12:15:32 AM
Quote from: liuxyon on November 23, 2010, 10:58:55 PM
I have using D-LINK DI615 F3, it isn't support ipv6.  ???

What's the firmware rev?  This link implies DIR-615 is IPv6-ready, at least with some firmware versions:
http://www.tunnelbroker.net/forums/index.php?topic=296.0
Title: Re: D-Link native support of IPv6 announced--anyone tried it yet?
Post by: cconn on January 26, 2011, 08:47:29 AM
I would keep an eye on the DIR-615.  I have been in contact with engineering and have successfully tested DHCP-PD over PPPoE.  A few minor issues not necessarily related to IPv6 remain, however the firmware I was lucky enough to test looks promising and I have good hopes for their product.  I  am on the DIR-615 E3/E4.
Title: Re: D-Link native support of IPv6 announced--anyone tried it yet?
Post by: antillie on January 26, 2011, 09:43:25 AM
Quote from: drydog on December 01, 2010, 12:06:48 AM
I should probably look for a router that fully supports IPv6--including Router Advertisement (RA). Any suggestions for some router that really supports IPv6, from personal experience?

Well it doesn't have a nice pretty web based GUI but a Cisco 2621xm running a 12.4 Advanced Enterprise IOS image supports IPv6 routing, tunneling, prefix delegation, and RA's just fine. I have been using a 2621xm running "c2600-adventerprisek9-mz.124-25d.bin" to terminate my 6in4 tunnel to HE for a few months now and it works perfectly.

Now not everyone is comfortable working on a Cisco router but an old 2621xm can be had for under $100 on Ebay.

Another option would be to use something like Vyatta or pfSense. In fact using something like pfSense might be better since not only does it have a nice web based GUI but it also runs on nearly any random x86 box. Also even though getting a 2621xm is relatively easy getting the appropriate IOS image for it can be quite a challenge if you don't have an active service contract with Cisco.
Title: Re: D-Link native support of IPv6 announced--anyone tried it yet?
Post by: cconn on January 26, 2011, 11:20:41 AM
Quote from: antillie on January 26, 2011, 09:43:25 AM
Quote from: drydog on December 01, 2010, 12:06:48 AM
I should probably look for a router that fully supports IPv6--including Router Advertisement (RA). Any suggestions for some router that really supports IPv6, from personal experience?

Well it doesn't have a nice pretty web based GUI but a Cisco 2621xm running a 12.4 Advanced Enterprise IOS image supports IPv6 routing, tunneling, prefix delegation, and RA's just fine. I have been using a 2621xm running "c2600-adventerprisek9-mz.124-25d.bin" to terminate my 6in4 tunnel to HE for a few months now and it works perfectly.


what I don't like about IOS and prefix delegation is that (in a PPPoE scenario...) if the WAN interface goes down, when it is re-established, IOS doesn't renew its DHCP prefix with the DHCPv6 server.  In a scenario where multiple routers or multiple DHCP servers are used, this is a show stopper.  I have found a workaround using the event-manager to clear the dhcp lease upon the WAN going down, but I don't like that.  Are there any other ways?
Title: Re: D-Link native support of IPv6 announced--anyone tried it yet?
Post by: antillie on January 26, 2011, 01:41:40 PM
Interesting. I didn't know that.

I haven't used a PPPoE connection on IOS with IPv6 so that's good to know. Do you know if this affects IOS 15 as well? If it does this sounds like a good feature request/bug to submit to Cisco.
Title: Re: D-Link native support of IPv6 announced--anyone tried it yet?
Post by: cconn on January 26, 2011, 01:55:53 PM
Quote from: antillie on January 26, 2011, 01:41:40 PM
Interesting. I didn't know that.

I haven't used a PPPoE connection on IOS with IPv6 so that's good to know. Do you know if this affects IOS 15 as well? If it does this sounds like a good feature request/bug to submit to Cisco.

I'm sure Cisco knows, I read about this in Cisco-NSP a while ago.  This is the "fix" on the CPE side;

event manager applet renew-v6-lease
event syslog pattern "DIALER-6-BIND"
action 1.0 cli command "clear ipv6 dhcp client Dialer0"
action 2.0 syslog priority debugging msg "Renewing DHCPv6-PD lease"

In a PPPoE scenario, if the WAN dies, the LNS that acted as a DHCPv6 server will drop the route for the prefix it had assigned.  When the CPE reconnects over PPPoE, even if it was to connect to the same LNS, doesn't re-request or refresh its prefix, thus the LNS never re-establishes a route for that prefix towards the Vaccess of that PPPoE connection.

I haven't tried IOS 15 yet, however the 12.4T of late still does this.
Title: Re: D-Link native support of IPv6 announced--anyone tried it yet?
Post by: snydergc on April 13, 2011, 01:53:48 PM
When using a router configured like this, I assume the clients are NATed behind this router. So for example they could have addresses of 192.168.1.2, 192.168.1.3, etc.  Do you use the example configurations given for each different type of system OS under the tunnel details page? If not how do you setup those systems? Just a newbie question.
Title: Re: D-Link native support of IPv6 announced--anyone tried it yet?
Post by: broquea on April 13, 2011, 02:11:09 PM
Quote from: snydergc on April 13, 2011, 01:53:48 PM
When using a router configured like this, I assume the clients are NATed behind this router. So for example they could have addresses of 192.168.1.2, 192.168.1.3, etc.  Do you use the example configurations given for each different type of system OS under the tunnel details page? If not how do you setup those systems? Just a newbie question.

We have no idea what your DHCP IP is behind those NAT appliances, so we only build example configurations based on your IPv4 endpoint. However we do have this NOTE under the examples, that lots of people seem to gloss over or not read:

NOTE: When behind a firewall appliance that passes protocol 41, use the IPv4 address you get from your appliance's DHCP service instead of the IPv4 endpoint you provided to our broker.