NAT network mode & IPv6?

Discussions related to using VirtualBox on Windows hosts.
Post Reply
rousseauhk
Posts: 45
Joined: 8. Apr 2013, 09:16
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Ubuntu Server
Contact:

NAT network mode & IPv6?

Post by rousseauhk »

I see a few references in passing (eg viewtopic.php?f=9&t=18641) to IPv6 being disabled between the guest and host when running with NAT mode. Is that still the case?

And if I used host-only or bridged, is there some way to disable IPv6 for the communication (and have IPv4 only)?

thanks
Steve
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: NAT network mode & IPv6?

Post by mpack »

NAT piggybacks on the hosts TCP/IP connection, so if the host doesn't support IPv6 (e.g. XP), then naturally the guest can't use it either.

If you aren't using NAT then the guest is implementing its own independant network stack from top to bottom, so it's entirely up to the guest what network protocols it uses (and AFAIK it needn't even be TCP/IP).
rousseauhk
Posts: 45
Joined: 8. Apr 2013, 09:16
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Ubuntu Server
Contact:

Re: NAT network mode & IPv6?

Post by rousseauhk »

My host(s) are Vista/7/8, which all have IPv6 support. Does that mean IPv6 would be supported? How would I be able to tell?

thx
Steve
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: NAT network mode & IPv6?

Post by mpack »

Beats me. I have an XP host, and I rarely use NAT. Why not try it and tell us?
rousseauhk
Posts: 45
Joined: 8. Apr 2013, 09:16
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Ubuntu Server
Contact:

Re: NAT network mode & IPv6?

Post by rousseauhk »

I'll do some digging.

thx
Steve
Martin
Volunteer
Posts: 2562
Joined: 30. May 2007, 18:05
Primary OS: Fedora other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: XP, Win7, Win10, Linux, OS/2

Re: NAT network mode & IPv6?

Post by Martin »

If I remember correctly IPv6 support is not yet implemented for VBox NAT.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: NAT network mode & IPv6?

Post by Perryg »

I agree with Martin here. Since the predefined address range is IPv4 I doubt you can force it to use IPv6

You can read 9.12 Fine-tuning the VirtualBox NAT engine in your VBox Manual if you want to try to change it to IPv6 and see.

I also read discussions on this via DEV mail so it may be possible in the future.
Post Reply