Virtualbox host-guest network setup [closed]

2019-01-30 18:35发布

How do I set up a network between the Host and the guest OS in Windows vista?

4条回答
姐就是有狂的资本
2楼-- · 2019-01-30 18:45

You can do this on a Linux host. I've documented the steps I took in Ubuntu 9.04 here.

查看更多
别忘想泡老子
3楼-- · 2019-01-30 18:51

I've got a better answer than my first one.

Give the guest a single Host-only network adapter, and enable Internet Connection Sharing (ICS) on the host. I've tried this on a Windows XP host with a Windows XP guest.

The guest can connect to the Internet.

The guest can connect to the host at an address like 192.168.0.1 (chosen by ICS). -- Remember to allow the guest through the host's firewall.

The host can connect to the guest at an address like 192.168.0.22 (assigned by the DHCP service provided by ICS).

查看更多
贼婆χ
4楼-- · 2019-01-30 18:57

I don't run vista, but virtualbox should do most of the setup for you - all you need to do is assign an IP address, subnet mask, and (optionally) a default gateway to your guest OS, and it should just work.

Don't bother with any of the advanced network settings in the options for the VM - they're useful in some situations, but I've never had to use them, and I've been using virtualbox for some years now.

If you post the specific problem you're having perhaps I can help more. But your question is rather vague...

查看更多
看我几分像从前
5楼-- · 2019-01-30 19:02

Give the guest two network adapters, one NAT and the other Host-only. The NAT one will allow the guest to see the Internet, and the Host-only one will allow the host to see the guest.

One of them also allows the guest to see the host. I'm not sure which, but I know it works since I've tested web server stuff with it. You just have to choose the right IP address, 10.x.x.x or 192.168.x.x.

Also, you may have to be careful about having File and Printer Sharing running on both adapters at once, since the guest will see its own name and conflict with itself. I ran into this during install.

查看更多
登录 后发表回答