Host-only networking on Win7 64-bit with Ubuntu 9.10 guest

Discussions related to using VirtualBox on Windows hosts.
Post Reply
ryan
Posts: 4
Joined: 5. Oct 2009, 17:11
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Ubuntu 9.10

Host-only networking on Win7 64-bit with Ubuntu 9.10 guest

Post by ryan »

Hi,

I'm using VirtualBox 3.0.6 on Windows 7 64-bit Ultimate RC and with the latest Ubuntu beta (9.10 Karmic Koala x86)
as the guest. NAT networking works fine, but host-only doesn't seem to work at all. Any host-only
interface on the guest fails to get an IP address with DHCP and if I set one statically it still can't ping the host.

Thanks in advance for your help,
Ryan
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Host-only networking on Win7 64-bit with Ubuntu 9.10 guest

Post by Perryg »

Host-only will setup a second adapter.
Run ifconfig in a terminal on the guest and ipconfig /all on the host to see the addresses.
You can change the address scheme and turn on DHCP in the VBox program under file -> preferences -> network.
ryan
Posts: 4
Joined: 5. Oct 2009, 17:11
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Ubuntu 9.10

Re: Host-only networking on Win7 64-bit with Ubuntu 9.10 guest

Post by ryan »

Virtual-box host-only adapter exists in Windows 7 and is enabled, with host IP 192.168.56.1.

DHCP is enabled under File -> Preference -> Network (with the default settings, assigning 192.168.56.101 to 192.168.56.254 to guests).

"ipconfig" /all output (after info about the host's LAN connections):

Ethernet adapter VirtualBox Host-Only Network:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : VirtualBox Host-Only Ethernet Adapter
Physical Address. . . . . . . . . : 08-00-27-00-F0-99
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
IPv4 Address. . . . . . . . . . . : 192.168.56.1(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
NetBIOS over Tcpip. . . . . . . . : Enabled

Tunnel adapter isatap.{4458F94F-8003-4347-B048-2EFE72F5803A}:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft ISATAP Adapter
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 11:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
IPv6 Address. . . . . . . . . . . : 2001:0:d5c7:a2d6:3444:3a3a:3f57:fe98(Pref
erred)
Link-local IPv6 Address . . . . . : fe80::3444:3a3a:3f57:fe98%13(Preferred)
Default Gateway . . . . . . . . . : ::
NetBIOS over Tcpip. . . . . . . . : Disabled

Tunnel adapter isatap.{CCCFFF5D-D8A6-48DC-86C2-D60268873C95}:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft ISATAP Adapter #2
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
ryan
Posts: 4
Joined: 5. Oct 2009, 17:11
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Ubuntu 9.10

Re: Host-only networking on Win7 64-bit with Ubuntu 9.10 guest

Post by ryan »

And as I said, it doesn't work.
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: Host-only networking on Win7 64-bit with Ubuntu 9.10 guest

Post by Sasquatch »

An ifconfig -a on the Guest? Tried running dhclient as root from a terminal? Do you have a firewall running on the Host? The default Windows one blocks ICMP ping. Can you ping the Guest from the Host?
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.
ryan
Posts: 4
Joined: 5. Oct 2009, 17:11
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Ubuntu 9.10

Re: Host-only networking on Win7 64-bit with Ubuntu 9.10 guest

Post by ryan »

Todays update (3.0.8) has fixed the bug. Thanks.
Post Reply