IPv6 support with NIC in NAT mode.

Here you can provide suggestions on how to improve the product, website, etc.
Post Reply
SSCBrian
Volunteer
Posts: 365
Joined: 13. Jun 2008, 15:04
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 8 RTM (MSDN)

IPv6 support with NIC in NAT mode.

Post by SSCBrian »

That would be really cool if someone could figure it out. :-) Right now if I want to go IPv6, I have to switch to bridged mode (instead of NAT), and since we don't have DHCP here, I have beg a free address. Effectively I end up with a choice of either IPv4 (NAT mode) OR IPv6 (bridged mode) without extra work. Would be cool if IPv6 also worked in NAT mode!
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: IPv6 support with NIC in NAT mode.

Post by Sasquatch »

You can get IPv6 with NAT by using a third party tool. I have a tunnel at sixxs and by using their application, aiccu, I can use IPv6. There is an easier way to get it, and that's with Teredo. If you use Linux as Guest, install Miredo, which will create a Teredo tunnel. Windows Vista has it build in, but I don't know how it exactly works. XP will use Teredo when you install the IPv6 protocol, in the same way as Vista does.
Implementing IPv6 is a lot harder than you might think. I've done 6 months of research for it at school, and want to do it another 6 months for graduation. Get yourself a bit more into the protocol and you know it's not as easy as configuring your home router for internet access.
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.
SSCBrian
Volunteer
Posts: 365
Joined: 13. Jun 2008, 15:04
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 8 RTM (MSDN)

Re: IPv6 support with NIC in NAT mode.

Post by SSCBrian »

Already covered that part. :-) We're running IPv6 across our entire network here, with tunneled outbound access. Just wishing that VBox NAT could take advantage of it.
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: IPv6 support with NIC in NAT mode.

Post by Sasquatch »

Then it wouldn't be NAT anymore. With IPv6, there is no such thing as NAT. Of course, you can still create a setup like that, but technically, it's no longer part of the protocol.
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.
SSCBrian
Volunteer
Posts: 365
Joined: 13. Jun 2008, 15:04
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 8 RTM (MSDN)

Re: IPv6 support with NIC in NAT mode.

Post by SSCBrian »

Sasquatch wrote:Then it wouldn't be NAT anymore. With IPv6, there is no such thing as NAT. Of course, you can still create a setup like that, but technically, it's no longer part of the protocol.
Right, I don't want IPv6 NAT. I want my IPv4 to be NAT, while my IPv6 is native... Right now I can get my IPv4 NAT, but I lose my IPv6. OR, I can go native and get my IPv6 but not be able to do NAT IPv4!
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: IPv6 support with NIC in NAT mode.

Post by Sasquatch »

So you can't use IPv6 only on a bridged setting while using NAT too? With Windows, you can simply disable IPv4 on the interface, for Linux you can configure it to get only an IPv6 address.
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.
SSCBrian
Volunteer
Posts: 365
Joined: 13. Jun 2008, 15:04
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 8 RTM (MSDN)

Re: IPv6 support with NIC in NAT mode.

Post by SSCBrian »

Sasquatch wrote:So you can't use IPv6 only on a bridged setting while using NAT too? With Windows, you can simply disable IPv4 on the interface, for Linux you can configure it to get only an IPv6 address.
When in NAT, IPv6 doesn't seem to function.

If I go bridged, IPv6 works fine. However, I need to be dual-stack. Without NAT, I can't share my IPv4 address with the host (which is what I need to do)...
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: IPv6 support with NIC in NAT mode.

Post by Sasquatch »

What I mean, is use IPv6 on the bridge only, while your IPv4 goes through the NAT interface. Can't you set it up like that? Shouldn't be too hard, right?
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.
SSCBrian
Volunteer
Posts: 365
Joined: 13. Jun 2008, 15:04
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 8 RTM (MSDN)

Re: IPv6 support with NIC in NAT mode.

Post by SSCBrian »

Sasquatch wrote:What I mean, is use IPv6 on the bridge only, while your IPv4 goes through the NAT interface. Can't you set it up like that? Shouldn't be too hard, right?
Yep, that's what I'm looking for. No idea how to do it though. If I setup the VM for NAT, both go that way. If I set it up for bridged, both go that way. I don't see how to bridge v6 traffic, but yet NAT v4 traffic. Perhaps if I could bind v6 to a different adapter from v4 traffic?
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: IPv6 support with NIC in NAT mode.

Post by Sasquatch »

That's what I stated in the previous post, disable IPv4 for the Bridged adapter, and do the same for IPv6 on NAT. That should force each protocol over the proper NIC.
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.
SSCBrian
Volunteer
Posts: 365
Joined: 13. Jun 2008, 15:04
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 8 RTM (MSDN)

Re: IPv6 support with NIC in NAT mode.

Post by SSCBrian »

Sasquatch wrote:That's what I stated in the previous post, disable IPv4 for the Bridged adapter, and do the same for IPv6 on NAT. That should force each protocol over the proper NIC.
Oh, got it. I completely misunderstood your previous post. I thought you wanted me to disable IPv4 completely (which didn't make sense to me because I need both stacks running currently). :-)
JamesK
Posts: 7
Joined: 1. Aug 2015, 23:03

Re: IPv6 support with NIC in NAT mode.

Post by JamesK »

I have set up 2 adapters, one as NAT for IPv4 and one bridged for IPv6. On IPv6, I get an address and can ping ipv6.google.com, by using the -6 option. However, I cannot access an IPv6 web site with a browser. Any idea why the browser cannot access an IPv6 site that I can ping? I'm running Windows 7 and tried both Firefox and Chrome browsers.

BTW, in Windows 7, not in a VM, I don't have to use the -6 option to ping ipv6.google.com.
apraetor
Posts: 2
Joined: 29. Sep 2016, 18:42

Re: IPv6 support with NIC in NAT mode.

Post by apraetor »

Try giving your IPv6 interface a lower metric than the IPv4 one.
Post Reply