Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


455 posts

Ultimate Geek
+1 received by user: 128


Topic # 125740 17-Jul-2013 21:33
Send private message

Have been playing with the Technicolor TG589vn v2 while I wait for VDSL to be installed and impressed by the depth of the CLI. Managed to get a simple IPv6 setup working with SLAAC and a 6to4 tunnel with just a few lines. You'll need a static IP for this and the hardest bit is probably converting that into your IPv6 network.

Where I've written [aabb:ccdd] below substitue for your IPv4 static converted to hex. For example if your IPv4 static was 125.236.1.2 it would be 7dec:0102. Also note I'm still on PPPoA whereas you are hopefully running on PPPoE by now.

As always, BACK UP YOUR CONFIG FIRST and no liability accepted for anything you break.


#Add and IPv6 address for LocalNetwork and setup Prefix Adertisement

:ip ipadd intf=LocalNetwork addr=2002:[aabb:ccdd]:1::1
:ip rt6advd intf=LocalNetwork subnet-id=2002:[aabb:ccdd]:1::/64

#Build 6to4 tunnel to anycast server and setup default route.
#Change sourceintf to PPPoE once on VDSL.

:tunnel 6to4 add ifname=6to4tunnel
:tunnel 6to4 modify ifname=6to4tunnel sourceintf=PPPoA rrs=192.88.99.1 pltime=604800 vltime=2592000
:ip rtadd dst=::/0 intf=6to4tunnel

And we're away. Quick ping to confirm all is working.

>ping ipv6.google.com

Pinging ipv6.l.google.com [2404:6800:4006:803::1014] with 32 bytes of data:
Reply from 2404:6800:4006:803::1014: time=244ms
Reply from 2404:6800:4006:803::1014: time=243ms
Reply from 2404:6800:4006:803::1014: time=241ms
Reply from 2404:6800:4006:803::1014: time=242ms

Ping statistics for 2404:6800:4006:803::1014:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 241ms, Maximum = 244ms, Average = 242ms

I know there has been some work on DNS, but what other useful CLI tweaks and mods have people found?

Create new topic
Mr Snotty
8027 posts

Uber Geek
+1 received by user: 4018

Moderator
Trusted
Lifetime subscriber

  Reply # 858348 17-Jul-2013 21:35
Send private message

I'm pretty amazed with what you guys are finding out about the TG589vn, very good job!




133 posts

Master Geek
+1 received by user: 41


  Reply # 862671 20-Jul-2013 17:30
One person supports this post
Send private message

Discovered a problem where by if the router thinks the WAN interface is down, it has a DNS spoofer to direct you to "helpful pages".

Well, instead of being redirected, I was just receiving page timeout errors due to DNS not resolving.

This may only be applicable to running PPPoA (ADSL1/2+), I can confirm this later once my VDSL2 is connected.

If you are using your devices in DHCP with the DNS servers from the TG589vn gateway, and are getting a lot of random page timeouts...

Try a PING

Command Prompt: ping (address of site not responding)
Response: "e.g Pinging: www.geekzone.co.nz [198.18.1.54]"

If you are seeing an IP in the 198.18.1.XXX range, this means it is trying to Spoof it to redirect you to a helpful page.

If you change your DNS to a manual one (e.g 8.8.8.8) on your PC and it all works just fine, then you might want to disable this feature - so your DNS being served to your DHCP clients is working properly.

#Telnet to router

:menu

[dns] [server] [config] [WANDownSpoofing] = disabled


Your DNS should work just fine after that :)

31 posts

Geek
+1 received by user: 3


  Reply # 863313 22-Jul-2013 00:30
Send private message

hashbrown:
:tunnel 6to4 add ifname=6to4tunnel
:tunnel 6to4 modify ifname=6to4tunnel sourceintf=PPPoA rrs=192.88.99.1 pltime=604800 vltime=2592000
:ip rtadd dst=::/0 intf=6to4tunnel


Should be able to do much the same to connect to a managed 6in4 service like sixxs.net... This is all untested...


#Add and IPv6 address for LocalNetwork and setup Prefix Adertisement

:ip ipadd intf=LocalNetwork addr=2001:[aabb:ccdd:eeff]::1
:ip rt6advd intf=LocalNetwork subnet-id=2001:[aabb:ccdd:eeff]::/64

#Build 6to4 tunnel to server and setup default route.
#Change sourceintf to PPPoE once on VDSL.

:tunnel 6to4 add ifname=6to4tunnel
:tunnel 6to4 modify ifname=6to4tunnel sourceintf=PPPoA rrs=<gateway IP> pltime=604800 vltime=2592000
:ip ipadd intf=6to4tunnel addr=2001:[aabb:ccdd:eff]::2
:ip rtadd dst=2000::/3 intf=6to4tunnel addr=2001:[aabb:ccdd:eff]::1





192.88.99.1 seems to lead to AARNet's 6to4 gateway, in australia. It's quite reliable, but on the way back, 2002::/16 packets just get routed to the nearest peer announcing that route, which could be anything anywhere.

31 posts

Geek
+1 received by user: 3


  Reply # 863339 22-Jul-2013 08:04
Send private message

And then, when you're done, head to http://test-ipv6.com/ and run their tests...



455 posts

Ultimate Geek
+1 received by user: 128


  Reply # 863959 22-Jul-2013 22:43
Send private message

hydroksyde:
Should be able to do much the same to connect to a managed 6in4 service like sixxs.net... This is all untested...


SIXXS would be a 6in4 tunnel. Probably not much difference in the way it is setup, but the Techicolor has a different tunnel type for that which may work better.

i.e. probably the same syntax, but replace "tunnel 6to4" with "tunnel 6in4"



31 posts

Geek
+1 received by user: 3


  Reply # 863976 22-Jul-2013 23:35
Send private message

Interesting... they both use protocol 41 packets, just addressed differently. looks like the properties are a bit different.

I'd assume something like source=<your IP> destination=<tunnel IP> mtu=1280... Might have a play with it over the weekend, mine is just a bridge currently

Create new topic

Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.