Hurricane Electric's IPv6 Tunnel Broker Forums

Advanced search  

News:

Welcome to Hurricane Electric's Tunnelbroker.net forums!

Author Topic: Problems setting up a IPv6-Tunnel on Ubuntu 9.04 VPS  (Read 4802 times)

ipv6network

  • Newbie
  • *
  • Posts: 2
Problems setting up a IPv6-Tunnel on Ubuntu 9.04 VPS
« on: April 24, 2010, 03:46:33 AM »

Hello everyone,
I've problems setting up a IPv6-Tunnel on my Ubuntu 9.04 Xen based VPS. I've set up the tunnel by adding the following lines to /etc/network/interfaces: (I want to use 3 IP's and he.net-RDNS!)

Quote
auto he-ipv6
iface he-ipv6 inet6 v4tunnel
   address 2001:470:1f0a:c5a::2
   netmask 64
   endpoint 216.66.80.30
   local 84.200.12.100
   up ip route add ::/0 dev he-ipv6 metric 1
   #post-up sysctl -w net.ipv6.conf.all.forwarding=1
   up ip -6 addr add 2001:470:1f0b:c5a::1:1/128 dev he-ipv6
   up ip -6 addr add 2001:470:1f0b:c5a::2:1/128 dev he-ipv6
   up ip -6 addr add 2001:470:1f0b:c5a::3:1/128 dev he-ipv6

After a server restart I tried a traceroute6 to six.heise.de, but I stops after one hop (2001:470:1f0b:c5a::3:1)!

My Tunnel Details
Quote
Client IPv4 address: 84.200.12.100
Client IPv6 address: 2001:470:1f0b:c5a::2/64
Server IPv4 address: 216.66.80.30
Server IPv6 address: 2001:470:1f0b:c5a::1/64
Routed /48:    Not allocated
Routed /64:    2001:470:1f0b:c5a::/64
Anycasted IPv6 Caching Nameserver:   2001:470:20::2
Anycasted IPv4 Caching Nameserver:   74.82.42.42

Thanks for your help!

Simon
« Last Edit: April 24, 2010, 04:13:20 AM by ipv6network »
Logged

jimb

  • Hero Member
  • *****
  • Posts: 805
  • ^^^ Warped picture
Re: Problems setting up a IPv6-Tunnel on Ubuntu 9.04 VPS
« Reply #1 on: April 24, 2010, 10:39:26 AM »

Hello everyone,
I've problems setting up a IPv6-Tunnel on my Ubuntu 9.04 Xen based VPS. I've set up the tunnel by adding the following lines to /etc/network/interfaces: (I want to use 3 IP's and he.net-RDNS!)

Quote
auto he-ipv6
iface he-ipv6 inet6 v4tunnel
   address 2001:470:1f0a:c5a::2
   netmask 64
   endpoint 216.66.80.30
   local 84.200.12.100
   up ip route add ::/0 dev he-ipv6 metric 1
   #post-up sysctl -w net.ipv6.conf.all.forwarding=1
   up ip -6 addr add 2001:470:1f0b:c5a::1:1/128 dev he-ipv6
   up ip -6 addr add 2001:470:1f0b:c5a::2:1/128 dev he-ipv6
   up ip -6 addr add 2001:470:1f0b:c5a::3:1/128 dev he-ipv6

After a server restart I tried a traceroute6 to six.heise.de, but I stops after one hop (2001:470:1f0b:c5a::3:1)!

My Tunnel Details
Quote
Client IPv4 address: 84.200.12.100
Client IPv6 address: 2001:470:1f0b:c5a::2/64
Server IPv4 address: 216.66.80.30
Server IPv6 address: 2001:470:1f0b:c5a::1/64
Routed /48:    Not allocated
Routed /64:    2001:470:1f0b:c5a::/64
Anycasted IPv6 Caching Nameserver:   2001:470:20::2
Anycasted IPv4 Caching Nameserver:   74.82.42.42

Thanks for your help!

Simon

You're using the wrong addresses.  The he-ipv6 interface must use the IP address "2001:470:1f0a:c5a::2/64".  You need to put the routed /64 addresses (2001:470:1f0b:c5a::/64) on a different interface, not on the tunnel interface.  And they're /64s, not 128s.  You can just add them to your eth0 interface.

(BTW I don't think you pasted the tunnel info correctly ... the routed /64 and tunnel v6s are the same ... which is wrong).

Do something like this:

auto he-ipv6
iface he-ipv6 inet6 v4tunnel
   address 2001:470:1f0a:c5a::2
   netmask 64
   endpoint 216.66.80.30
   local 84.200.12.100
   gateway 2001:470:1f0a:c5a::1
   post-up sysctl -w net.ipv6.conf.all.forwarding=1


auto eth0
iface eth0 inet6 static
   address 2001:470:1f0b:c5a::1:1
   netmask 64
   address 2001:470:1f0b:c5a::2:1
   netmask 64
   address 2001:470:1f0b:c5a::3:1
   netmask 64


(not sure if that's how you do multiple addresses in debian/ubuntu interfaces file or not, but that's the general idea).
« Last Edit: April 24, 2010, 11:09:57 AM by jimb »
Logged