how to set up ipv6 on Ubuntu guest with Windows host

Discussions about using Linux guests in VirtualBox.
Post Reply
ingber
Posts: 8
Joined: 2. Nov 2010, 00:47
Primary OS: MS Windows 7
VBox Version: OSE Debian
Guest OSses: Ubuntu, Solaris, CentOS, ScientificLinux
Contact:

how to set up ipv6 on Ubuntu guest with Windows host

Post by ingber »

My host is Windows 7 Ultimate x64, and my VBox host is Ubuntu 11.04 x64. The host (and guest) are behind a router.

I have a working ipv6 tunnel set up through tunnelbroker.net on my router and on my Windows host, which seems to be working fine.

I do not see how to set up my Ubuntu guest to also use both ipv4 and ipv6?

I used tunenlbroker.net info for setting up Linux (not necessarily a VBox guest!?):
ifconfig sit0 up
ifconfig sit0 inet6 tunnel ::their_ipv4
ifconfig sit1 up
ifconfig sit1 inet6 add my_ipv6_tunnel
route -A inet6 add ::/0 dev sit1

In Ubuntu, I have added nameservers in /etc/resolv.conf
nameserver 2620:0:ccc::2
nameserver 2620:0:ccd::2
nameserver 208.67.222.222
nameserver 208.67.220.220

My ifconfig -a on the Ubuntu guest gives:

ifconfig -a
eth1 Link encap:Ethernet HWaddr 08:00:27:36:4c:7d
inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0
inet6 addr: some_fe80_ipv6_address Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1652 errors:0 dropped:0 overruns:0 frame:0
TX packets:1778 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:693470 (693.4 KB) TX bytes:277722 (277.7 KB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:480 (480.0 B) TX bytes:480 (480.0 B)

This does not work, e.g., by testing from a browser in Ubuntu to
http://ipv6/google.com
http://testipv6.com

Thanks.

Lester
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: how to set up ipv6 on Ubuntu guest with Windows host

Post by Sasquatch »

You've set the VM to use NAT, that won't do. You have to use Bridged.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Post Reply