[Solved] How to modify internal dhcp ( IPv6 to IPv4 ) ??

Discussions related to using VirtualBox on Linux hosts.
Post Reply
newpublic
Posts: 3
Joined: 23. Jul 2009, 09:58
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: LInux

[Solved] How to modify internal dhcp ( IPv6 to IPv4 ) ??

Post by newpublic »

How to modify internal dhcp to IPv4 ??

I want to simulate a IPv4 internal environment, but vbox's internal dhcp is IPv6 default ......
And in the VirtualBox Menu, File --> Prefernces --> Network --> ...... Only "Host-only Networks ", no "Internal Networks" ......
Can't modify internal dhcp to IPv4 ???
newpublic
Posts: 3
Joined: 23. Jul 2009, 09:58
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: LInux

Re: How to modify internal dhcp ( from IPv6 to IPv4 ) ??

Post by newpublic »

OK
I got it

1? append a dhcp server ( ip v4 )
2? internal netname --> created just now
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 modify internal dhcp ( from IPv6 to IPv4 ) ??

Post by Sasquatch »

VB does not provide a direct IPv6 DHCP, unless you specify a range manually, just like IPv4. Your interfaces get a default Link-Local address, that starts with fe80. Check http://en.wikipedia.org/wiki/IPv6 for more IPv6 info.
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.
newpublic
Posts: 3
Joined: 23. Jul 2009, 09:58
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: LInux

Re: [Solved] How to modify internal dhcp ( IPv6 to IPv4 ) ??

Post by newpublic »

boot with internal 's default intnet
then the default ip is ipv6
and ping6 with each other is alive

Isn't it ip v6 default ???
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: [Solved] How to modify internal dhcp ( IPv6 to IPv4 ) ??

Post by Sasquatch »

No, it's not. IPv6 is only available because you have the proper modules loaded on the systems. If you blacklist the IPv6 module, you don't have IPv6 connectivity. And like I said, check that Wikipedia link. Every NIC gets a Link-Local address. It's perfectly normal and has nothing to do with VB. Sure you can ping6 both systems, because they are connected to each other, in the same way a normal ping4 would work if the NICs have an IPv4 address on them.

Now, what do you not understand about this? VB does NOTHING with the Link-Local addresses, the OS itself does it all.
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