• Welcome to Hurricane Electric's IPv6 Tunnel Broker Forums.

Almost got it working, but not quite... Help?

Started by johnstray2001, June 29, 2016, 01:24:43 AM

Previous topic - Next topic

johnstray2001

I have setup a Ubuntu Server 16.04 device that will act as a dedicated IPv6 gateway for my network, however I'm having a bit of an issue getting the HE tunnel working properly.

While testing IPv6 internet connectivity, I get the following results:

Working:
- Name Resolution is working - NSLOOKUP and DIG can both return AAAA records for domain names - Using Google Public DNS (IPv6 address [2001:4860:4860::8888])
- Ping is working - Ping6 to multiple different domains returns a reply with an average time of 400ms <-- a bit slow?

Not working:
- WGET is not working - Using wget to test ability to download plus connection speed test fails.


root@IPV6TUNNEL:~# wget -O /dev/null http://speedtest.wdc01.softlayer.com/downloads/test10.zip
/dev/null: Scheme missing.
--2016-06-29 16:09:05-- http://speedtest.wdc01.softlayer.com/downloads/test10.zip
Resolving speedtest.wdc01.softlayer.com (speedtest.wdc.softlayer.com)... 2607:f0d0:3001:78::2, 208.43.102.250
Connecting to speedtest.wdc01.softlayer.com (speedtest.wdc.softlayer.com)|2607:f0d0:3001:78::2|:80... connected.
HTTP request sent, awaiting response...

*** Wait about 5-10 mins ***

HTTP request sent, awaiting response... Read error (Connection reset by peer) in headers.
Retrying.


The same thing happens when manually specifying the IPv6 address instead of the domain name to wget.

I've done a fair bit of searching around and nothing I've tried, such as reducing the MTU to 1472, seems to help.

My configuration

Tunnel Details:

Server IPv4: 66.220.18.42 (Sydney, AU)
Server IPv6: 2001:470:c:224::1/64
Client IPv4: 49.176.248.239
Client IPv6: 2001:470:c:224::2/64
Routed /64: 2001:470:d:224::/64
Routed /48: 2001:470:f0fc::/48


IFCONFIG Output:

root@IPV6TUNNEL:~# ifconfig
eth0
Link encap:Ethernet  HWaddr 00:15:5d:01:64:07
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask 255.255.255.0
inet6 addr: fe80::215:5dff:fe01:407/64 Scope:Link
inet6 addr: 2001:470:d:224::1/64 Scope:Global
UP BROADCAST RUNNING MULTICAST  MTU:1500 Metric:1

he-ipv6
Link encap: IPv6-in-IPv4
inet6 addr: 2001:470:c:224::2/64 Scope:Global
inet6 addr: fe80::c0a8:102/64 Scope:Link
UP POINTOPOINT RUNNING NOARP  MTU:1472 Metric:1


/etc/network/interfaces

root@IPV6TUNNEL:~# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

#The loopback network interface
auto lo
iface lo inet loopback

The primary network interface
auto eth0
iface eth0 inet dhcp

up ip -6 addr add 2001:470:d:224::1/64 dev eth0
down ip -6 addr del 2001:470:d:224::1/64 dev eth0
dns-nameservers 2001:4860:4860::8888

#IPv6 via Hurricane Electric Tunnel
auto he-ipv6
iface he-ipv6 inet6 v4tunnel
endpoint 66.220.18.42
address 2001:470:c:224::2
netmask 64
ttl 255
local 192.168.1.2
gateway 2001:470:c:224::1
mtu 1472

up ip -6 route add default dev he-ipv6
down ip -6 route del default dev he-ipv6


/etc/radvd.conf

root@IPV6TUNNEL:~# cat /etc/radvd.conf
interface eth0
{
AdvSendAdvert on;
AdvLinkMTU 1480;
MinRtrAdvInterval 30;
MaxRtrAdvInterval 180;
advManagedFlag off;
AdvOtherConfigFlag on;
prefix 2001:470:d:224::/64
{
AdvOnLink on;
AdvAutonomous: on;
};
RDNSS 2001:4860:4860::8888 2001:4860:4860::8844
{
# AdvRDNSSLifetime 3600;
};
};


Notes:
- The server is in my router's DMZ
- Router is a Sagemcom F@st 3864 VDSL2+ (No idea if it passes Protocol 41 - Considering what I can do, I'd say it does)

If there is any other information you require to help me get this going, the please let me know and I'll post back.

Thanks in advance for any help you can provide.

cholzhauer


johnstray2001

I'm using Ubuntu Server, so no graphical interface, only command line.

HQuest

Quote from: johnstray2001 on June 29, 2016, 07:36:05 PM
I'm using Ubuntu Server, so no graphical interface, only command line.
apt install lynx
or
apt install links
No more excuses because "only command line" ;D Welcome to 1995 :)

johnstray2001

So, installed lynx...

Same problem. It just sits there trying to connect. Nothing happens.

Does anyone have any suggestions?