TG588v low-end technicolor router with 6in4 static IP
Shadow Hawkins on Friday, 24 October 2014 21:27:23
I have a horrible but mandatory TG588v from my upstream supplier, with a static IP. It is possible to configure tunnels on it and there is (limited) documentation provided.
Using the documentation I have things set up but can't ping6 from either OSX nor FreeBSD 10 client, although they seem to pick up the IPv6 addresses just fine, to my untrained eye.
Maybe somebody notices something obviously incorrect or missing?
$ ifconfig en0
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
options=10b<RXCSUM,TXCSUM,VLAN_HWTAGGING,AV>
ether a8:20:66:52:0c:f8
inet6 fe80::aa20:66ff:fe52:cf8%en0 prefixlen 64 scopeid 0x4
inet 10.0.0.2 netmask 0xffffff00 broadcast 10.0.0.255
inet6 2001:1620:f00:287:aa20:66ff:fe52:cf8 prefixlen 64 autoconf
inet6 2001:1620:f00:287:b521:aeb4:25b6:59ce prefixlen 64 autoconf temporary
nd6 options=1<PERFORMNUD>
media: autoselect (100baseTX <full-duplex,flow-control>)
status: active
$ traceroute6 ipv6.google.com
traceroute6 to ipv6.l.google.com (2a00:1450:4001:80a::100e) from 2001:1620:f00:287:b521:aeb4:25b6:59ce, 64 hops max, 12 byte packets
1 gw-648.zrh-02.ch.sixxs.net 0.745 ms 0.600 ms 0.539 ms
^C
$ ping6 ipv6.google.com
PING6(56=40+8+8 bytes) 2001:1620:f00:287:b521:aeb4:25b6:59ce --> 2a00:1450:4001:80a::100e
^C
--- ipv6.l.google.com ping6 statistics ---
4 packets transmitted, 0 packets received, 100.0% packet loss
$ netstat -rn
Routing tables
Internet:
Destination Gateway Flags Refs Use Netif Expire
default 10.0.0.138 UGSc 45 0 en0
10/24 link#4 UCS 3 0 en0
10.0.0.2/32 link#4 UCS 0 0 en0
10.0.0.4 ec:35:86:10:b4:b0 UHLWI 0 0 en0 431
10.0.0.6 74:e1:b6:b9:e2:ad UHLWI 0 0 en0 1175
10.0.0.7 0:c:29:85:5d:60 UHLWI 0 0 en0 709
10.0.0.138/32 link#4 UCS 1 0 en0
10.0.0.138 9c:97:26:8c:f2:34 UHLWIir 46 1171 en0 733
127 127.0.0.1 UCS 0 0 lo0
127.0.0.1 127.0.0.1 UH 3 30 lo0
169.254 link#4 UCS 0 0 en0
172.16.143/24 link#12 UC 1 0 vmnet1
172.16.213/24 link#13 UC 1 0 vmnet8
Internet6:
Destination Gateway Flags Netif Expire
default fe80::9e97:26ff:fe8c:f234%en0 UGc en0
::1 ::1 UHL lo0
2001:1620:f00:287::/64 link#4 UC en0
2001:1620:f00:287::1 2001:1620:f00:287::2 UHLr gif0
2001:1620:f00:287::1 9c:97:26:8c:f2:34 UHLI en0
2001:1620:f00:287::2 link#2 UHL lo0
2001:1620:f00:287:aa20:66ff:fe52:cf8 a8:20:66:52:c:f8 UHL lo0
2001:1620:f00:287:b521:aeb4:25b6:59ce a8:20:66:52:c:f8 UHL lo0
fe80::%lo0/64 fe80::1%lo0 UcI lo0
fe80::1%lo0 link#1 UHLI lo0
fe80::%gif0/64 link#2 UCI gif0
fe80::aa20:66ff:fe52:cf8%gif0 link#2 UHLI lo0
fe80::%en0/64 link#4 UCI en0
fe80::9e97:26ff:fe8c:f234%en0 9c:97:26:8c:f2:34 UHLWIir en0
fe80::aa20:66ff:fe52:cf8%en0 a8:20:66:52:c:f8 UHLI lo0
ff01::%lo0/32 ::1 UmCI lo0
ff01::%gif0/32 link#2 UmCI gif0
ff01::%en0/32 link#4 UmCI en0
ff02::%lo0/32 ::1 UmCI lo0
ff02::%gif0/32 link#2 UmCI gif0
ff02::%en0/32 link#4 UmCI en0
full details here so I can remove any private info later.
As my tunnel has never worked, I'm also very negative in balance, could that be the remaining issue?
FWIW the doc I used is Appendix F '6in4'
TG588v low-end technicolor router with 6in4 static IP
Jeroen Massar on Friday, 24 October 2014 22:13:55 but can't ping6 from either OSX nor FreeBSD 10 client,
You can't ping which address from which address?
inet6 2001:1620:f00:287:aa20:66ff:fe52:cf8 prefixlen 64 autoconf
You are likely missing an '8' there.
2001:1620:f00:0287::/64 = tunnel
2001:1620:f00:8287::/64 = subnet behind the tunnel.
$ traceroute6 ipv6.google.com traceroute6 to ipv6.l.google.com (2a00:1450:4001:80a::100e) from 2001:1620:f00:287:b521:aeb4:25b6:59ce, 64 hops max, 12 byte packets 1 gw-648.zrh-02.ch.sixxs.net 0.745 ms 0.600 ms 0.539 ms
gw-* should be the PoP. It seems you assigned the PoP IP to your host, which is why your latency is so low...
Hence, that is your Technicolor box, not the PoP.
Fix the subnet above and you will be swell with this part.
TG588v low-end technicolor router with 6in4 static IP
Shadow Hawkins on Friday, 24 October 2014 22:52:21
Jeroen Massar wrote:
> but can't ping6 from either OSX nor FreeBSD 10 client,
You can't ping which address from which address?
Thanks for the answer Jereon!
I took the subnet from here:
IPv6 Prefix2001:1620:f00:287::1/64
PoP IPv62001:1620:f00:287::1
Your IPv62001:1620:f00:287::2
But I see where you get the 8287 from below. And now.... drum roll:
ping6 ipv6.google.com
PING6(56=40+8+8 bytes) 2001:1620:f00:8287:1838:3954:28e7:a3c5 --> 2a00:1450:4001:80d::1008
16 bytes from 2a00:1450:4001:80d::1008, icmp_seq=0 hlim=56 time=47.813 ms
16 bytes from 2a00:1450:4001:80d::1008, icmp_seq=1 hlim=56 time=46.100 ms
O.M.G.
Thank-you very much!
I now have a list of steps how to set this up, is this of interest for the wiki? The TG588v routers are very common, although direct access to the config is... not common.
The only remaining issue I have is that I don't seem to enable ping on the external interface for the router, but that's not an issue for here.
inet6 2001:1620:f00:287:aa20:66ff:fe52:cf8 prefixlen 64 autoconf
You are likely missing an '8' there.
2001:1620:f00:0287::/64 = tunnel
2001:1620:f00:8287::/64 = subnet behind the tunnel.
$ traceroute6 ipv6.google.com traceroute6 to ipv6.l.google.com (2a00:1450:4001:80a::100e) from 2001:1620:f00:287:b521:aeb4:25b6:59ce, 64 hops max, 12 byte packets 1 gw-648.zrh-02.ch.sixxs.net 0.745 ms 0.600 ms 0.539 ms
gw-* should be the PoP. It seems you assigned the PoP IP to your host, which is why your latency is so low...
Hence, that is your Technicolor box, not the PoP.
Fix the subnet above and you will be swell with this part.
TG588v low-end technicolor router with 6in4 static IP
Jeroen Massar on Friday, 24 October 2014 22:55:40 Thank-you very much!
No prob.
[..]
is this of interest for the wiki?
Of course, every bit can be useful to somebody else.
The only remaining issue I have is that I don't seem to enable ping on the external interface for the router, but that's not an issue for here.
As you have a static tunnel, do make sure that the PoP (2001:1620:f00:287::1) can ping6 you (2001:1620:f00:287::2) otherwise it will complain that your tunnel is not online.
You can check this in the live status btw.
TG588v low-end technicolor router with 6in4 static IP
Shadow Hawkins on Saturday, 25 October 2014 22:38:18
As promised, a how to guide for this 6in4 setup
Posting is only allowed when you are logged in. |