FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 03-05-2011, 07:45 PM
Nathaniel Homier
 
Default Setting up IPv6 tunnel, having trouble with the GUI part

Ubuntu 10.04.2 GUI version

IPv6 tunnel by Hurricane Electric
Home computer with direct net connection. No router. No need to give
out IPv6 LAN addresses. Strictly end user.

Ok, so here's my problem. I signed up for a tunnel and used this how to
located here: https://wiki.ubuntu.com/IPv6#Get%20connected%20with%
20Hurricane%20Electric

Editing the interfaces file was easy enough I think. The interfaces
files ask for IP adresses like so 3501:470:1f04:1a82::1/64 Do I leave in
the slash / and 64 or do I remove them like so 3501:470:1f04:1a82::1
(fake IP addresses by the way)

Second, the how to talks about the GUI part about network manager. The
how to talks about two separate addresses. One for the machines IP and
a gateway IP. In network manager on the IPv6 tab there is no gateway
option, no box for inputting a gateway. Also as above do I leave in the
slash or remove it.

How did you get your Hurricane Electric tunnel up and running.

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 03-06-2011, 01:03 AM
NoOp
 
Default Setting up IPv6 tunnel, having trouble with the GUI part

On 03/05/2011 12:45 PM, Nathaniel Homier wrote:
> Ubuntu 10.04.2 GUI version
>
> IPv6 tunnel by Hurricane Electric
> Home computer with direct net connection. No router. No need to give
> out IPv6 LAN addresses. Strictly end user.
...
I've not tried HE, but instead I just use miredo.

Ping to my laptop (connected to a wireless router) from my desktop:

$ ping6 2001:0:53aa:64c:<snipped>:359a:ba1b:ae43
PING
2001:0:53aa:64c:<snipped>:359a:ba1b:ae43(2001:0:53 aa:64c:3068:359a:ba1b:ae43)
56 data bytes
64 bytes from 2001:0:53aa:64c:<snipped>:359a:ba1b:ae43: icmp_seq=1
ttl=64 time=204 ms
64 bytes from 2001:0:53aa:64c:<snipped>:359a:ba1b:ae43: icmp_seq=2
ttl=64 time=2.99 ms
64 bytes from 2001:0:53aa:64c:<snipped>:359a:ba1b:ae43: icmp_seq=3
ttl=64 time=1.37 ms


I can ssh to the same.

And from the laptop back to the desktop:
$ ping6 2001:0:53aa:64c:<snipped>:7d52:ba1b:ae43
PING
2001:0:53aa:64c:<snipped>:7d52:ba1b:ae43(2001:0:53 aa:64c:<snipped>:7d52:ba1b:ae43)
56 data bytes

To determine your IPv6 address just use 'ifconfig' & you'll find it in
the 'teredo' section:

teredo Link encap:UNSPEC HWaddr
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet6 addr: 2001:0:53aa:64c:<snipped>:359a:ba1b:ae43/32
Scope:Global
inet6 addr: fe80::ffff:ffff:ffff/64 Scope:Link
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1280 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:0 (0.0 B) TX bytes:144 (144.0 B)

Ping to facebook (note the interesting IPv6 address):
$ host www.v6.facebook.com
www.v6.facebook.com has IPv6 address 2620:0:1cfe:face:b00c::3

$ ping6 www.v6.facebook.com
PING www.v6.facebook.com(www.v6.facebook.com) 56 data bytes
64 bytes from www.v6.facebook.com: icmp_seq=1 ttl=56 time=374 ms
64 bytes from www.v6.facebook.com: icmp_seq=2 ttl=56 time=14.5 ms

So, my question would be whether you need HE, or will miredo do what you
need it to do? Simple setup:
$ sudo aptitude install miredo

Added note:
https://wiki.ubuntu.com/IPv6
<quote>
Conclusion

You should now be able to ping and surf IPv6 enabled sites like
ipv6.google.com or www.kame.net. For a ping perform ping6
ipv6.google.com. It's a good idea to think about firewalling within your
clients, because all clients have now a public reachable IPv6 IP. In
Ubuntu this is also an very easy task with the new UbuntuFirewall (ufw
or uncomplicated firewall), just edit /etc/default/ufw and set IPV6=yes
to get started.
</quote>


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 03-06-2011, 01:51 AM
Harry Strongburg
 
Default Setting up IPv6 tunnel, having trouble with the GUI part

On Sat, Mar 05, 2011 at 01:45:58PM -0700, Nathaniel Homier wrote:
> Ok, so here's my problem. I signed up for a tunnel and used this how to
> located here: https://wiki.ubuntu.com/IPv6#Get%20connected%20with%
> 20Hurricane%20Electric
>
> Editing the interfaces file was easy enough I think. The interfaces
> files ask for IP adresses like so 3501:470:1f04:1a82::1/64 Do I leave in
> the slash / and 64 or do I remove them like so 3501:470:1f04:1a82::1
> (fake IP addresses by the way)

I assume you are using the Fremont tunnel-server (72.52.104.74), based
on the IP it gave you.

Try something like this:
auto he-ipv6
iface he-ipv6 inet6 v4tunnel
netmask 64
ttt 64
endpoint 72.52.104.74
up ip route add ::/0 dev he-ipv6 metric 1
post-up ip -6 addr add AddressInYourRouted64/128 dev he-ipv6

Replace 72.52.104.74 with whatever tserv you are using ("Server IPv4
address" on he.net), and AddressInYourRouted64 with any address in your
"Routed /64" on he.net. You can simply copy the address it gives you,
append a "1" after the ::, top it off with a /128, and it should work
the next time you reload your interfaces file.

> Second, the how to talks about the GUI part about network manager. The
> how to talks about two separate addresses. One for the machines IP and
> a gateway IP. In network manager on the IPv6 tab there is no gateway
> option, no box for inputting a gateway. Also as above do I leave in the
> slash or remove it.

I don't know, as I don't use Ubuntu's network manager. If you set it
through the interfaces file, I don't think you will need to even touch
that anymore. I don't know why that guide is confusing people with using
the network manager when it should save properly in the interfaces
file...

I highly suggest reading up more about IPv6 address blocks and how they
differ from IPv4's, whenever you have free time; it will help a lot.

And for the record, no one really cares what your IP is, and censoring
it simply makes it harder for us to help with your problem. Both yours
and NoOp's censoring failed in some places. Though I like how you
censored out the static 2001:470 part instead of the endpoint...

HTH.

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 03-06-2011, 02:19 AM
NoOp
 
Default Setting up IPv6 tunnel, having trouble with the GUI part

On 03/05/2011 06:51 PM, Harry Strongburg wrote:
..
> And for the record, no one really cares what your IP is, and censoring
> it simply makes it harder for us to help with your problem. Both yours
> and NoOp's censoring failed in some places. Though I like how you
> censored out the static 2001:470 part instead of the endpoint...

Getting old & need new glasses :-)
I only censored (tried) just to keep the addresses from floating around
on the archives (failed). In my case they aren't public facing so it
doesn't much matter, but the OP is not behind a NAT or other firewall
(that I'm aware of), so I think in his case it's prudent to
snip/obfuscate some bits in the interim.



--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 03-06-2011, 02:30 AM
Nathaniel Homier
 
Default Setting up IPv6 tunnel, having trouble with the GUI part

On Sun, 2011-03-06 at 02:51 +0000, Harry Strongburg wrote:
> On Sat, Mar 05, 2011 at 01:45:58PM -0700, Nathaniel Homier wrote:
> > Ok, so here's my problem. I signed up for a tunnel and used this how to
> > located here: https://wiki.ubuntu.com/IPv6#Get%20connected%20with%
> > 20Hurricane%20Electric
> >
> > Editing the interfaces file was easy enough I think. The interfaces
> > files ask for IP adresses like so 3501:470:1f04:1a82::1/64 Do I leave in
> > the slash / and 64 or do I remove them like so 3501:470:1f04:1a82::1
> > (fake IP addresses by the way)
>
> I assume you are using the Fremont tunnel-server (72.52.104.74), based
> on the IP it gave you.
>
> Try something like this:
> auto he-ipv6
> iface he-ipv6 inet6 v4tunnel
> netmask 64
> ttt 64
> endpoint 72.52.104.74
> up ip route add ::/0 dev he-ipv6 metric 1
> post-up ip -6 addr add AddressInYourRouted64/128 dev he-ipv6
>
> Replace 72.52.104.74 with whatever tserv you are using ("Server IPv4
> address" on he.net), and AddressInYourRouted64 with any address in your
> "Routed /64" on he.net. You can simply copy the address it gives you,
> append a "1" after the ::, top it off with a /128, and it should work
> the next time you reload your interfaces file.
>
[SNIP]
> HTH.
>

I did the below as you suggested. I understand the endpoint but I'm
confused about the routed address. The client ipv6 address is
2001:470:1f04:1a82::2/64 I'm assuming thats what I use for the routed
address. It fails to bring up the interface.

auto he-ipv6
iface he-ipv6 inet6 v4tunnel
netmask 64
ttt 64
endpoint 72.52.104.74
up ip route add ::/0 dev he-ipv6 metric 1
post-up ip -6 addr add 2001:470:1f04:1a82::2/64 dev he-ipv6

Nate

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 03-06-2011, 02:50 AM
Nathaniel Homier
 
Default Setting up IPv6 tunnel, having trouble with the GUI part

On Sat, 2011-03-05 at 13:45 -0700, Nathaniel Homier wrote:
> Ubuntu 10.04.2 GUI version
>
> IPv6 tunnel by Hurricane Electric
> Home computer with direct net connection. No router. No need to give
> out IPv6 LAN addresses. Strictly end user.
>
> Ok, so here's my problem. I signed up for a tunnel and used this how to
> located here: https://wiki.ubuntu.com/IPv6#Get%20connected%20with%
> 20Hurricane%20Electric
>
> Editing the interfaces file was easy enough I think. The interfaces
> files ask for IP adresses like so 3501:470:1f04:1a82::1/64 Do I leave in
> the slash / and 64 or do I remove them like so 3501:470:1f04:1a82::1
> (fake IP addresses by the way)
>
> Second, the how to talks about the GUI part about network manager. The
> how to talks about two separate addresses. One for the machines IP and
> a gateway IP. In network manager on the IPv6 tab there is no gateway
> option, no box for inputting a gateway. Also as above do I leave in the
> slash or remove it.
>
> How did you get your Hurricane Electric tunnel up and running.

I got it to work by using the ip command. HE kindly provided commands
to run after I found them by poking around the site. Here is what I
did. Word of warning, you may get a bunch of errors but thats ok, of
course don't you run these it won't work, because these are my account.

modprobe ipv6
ip tunnel add he-ipv6 mode sit remote 72.52.104.74 local 174.44.178.56
ttl 255
ip link set he-ipv6 up
ip addr add 2001:470:1f04:1a82::2/64 dev he-ipv6
ip route add ::/0 dev he-ipv6
ip -f inet6 addr

No files to edit, no need to restart networking. Worked perfectly.
Even Bind is serving up DNS now in ipv6. Wish I found these commands
earlier. At HE there at the bottom of your account page.
I tested with these sites.
http://test-ipv6.com/
http://ds.testmyipv6.com/

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 

Thread Tools




All times are GMT. The time now is 05:12 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org