Hurricane Electric's IPv6 Tunnel Broker Forums

General IPv6 Topics => IPv6 Basics & Questions & General Chatter => Topic started by: TheBadShepperd on August 09, 2011, 05:20:56 PM

Title: Using the routed /64
Post by: TheBadShepperd on August 09, 2011, 05:20:56 PM
This is probably one of the stupider questions on this forum, but I'm defiantly not an expert with DNS/IPv6/Networking.

I've successfully set up a tunnel and am able to access IPv6 sites and services normally, but my IP is the Client IPv6 Address rather than my Routed /64.

What do I need to do (In Windows 7 *and* Ubuntu Linux, please) to use an address from my /64?

In case it is needed:

Client IPv6 Address: 2001:470:1f04:1efd::2/64

Routed /64:            2001:470:1f05:1efc::/64

Thanks in advanced!

Title: Re: Using the routed /64
Post by: cholzhauer on August 09, 2011, 06:07:13 PM
For windows 7 you can add a static ipv6 address the same way you add a static ipv4 address..just choose the ipv6 adapter instead.  Use an address from your routed /64 and the gateway is the ipv6 address on the inside of your firewall
Title: Re: Using the routed /64
Post by: sim100 on August 21, 2011, 08:55:41 PM
In *nix (and Ubuntu) you can add IP addresses using virtual interfaces.

There are tons of tutorials on how do it just google "linux multiple ip address eth0" as an example.
From the top of my head though it's done like this:

# vim /etc/network/interfaces
then add more interfaces:

auto sit1:0
iface sit1:0 inet static
address ...

auto sit1:1
iface sit1:1 inet static
address ...

auto sit1:2
iface sit1:2 inet static
address ...

Make sure you keep your original "sit1" without any ":" at the end.
Then restart your networking which in Ubuntu is done with:
# /etc/init.d/networking restart
Title: Re: Using the routed /64
Post by: sim100 on August 21, 2011, 09:16:40 PM
Actually an easier way on Ubuntu is to just type as root:
# ip addr add 2001:a::3/64 dev sit1
# ip addr add 2001:a::4/64 dev sit1
# ip addr add 2001:a::5/64 dev sit1

You may not need the /64, try both.
Title: Re: Using the routed /64
Post by: lfoothome on December 22, 2011, 10:00:31 PM
This topic or one like is definitely good reading for Newbies and Explorers like myself.