How can I communicate from windows host to linux guest?
How can I communicate from windows host to linux guest?
I'm a newbie of VirtualBox. I have a question about the communication between the host and the guest system.My host system is windows XP, and my guest system is ubuntu linux. after the guest system installed in VirtualBox, I can't communicate to windows host. Generally, the IP configuration is needed when I install the ubuntu, but I have not seen that this time.
Someone tell me use the netbridge in windows, I do that. but after I created a netbridge in windows xp, I lost my net connection. I'm in a LAN,which is setting up with DHCP.
How can I solve these problems? anybody help me?thanks a lot!
Someone tell me use the netbridge in windows, I do that. but after I created a netbridge in windows xp, I lost my net connection. I'm in a LAN,which is setting up with DHCP.
How can I solve these problems? anybody help me?thanks a lot!
Try this tutorial: How to network Bridge on Windows
And another one (with screenshots and diagrams):
http://opensourceexperiments.wordpress. ... ista-host/
My advice: don't try this with VirtualBox 2.0.4
And another one (with screenshots and diagrams):
http://opensourceexperiments.wordpress. ... ista-host/
My advice: don't try this with VirtualBox 2.0.4
-
TerryE
- Volunteer
- Posts: 3572
- Joined: 28. May 2008, 08:40
- Primary OS: Ubuntu other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS
- Contact:
Also have a look at this: HOWTO: Use Guest Properties. I use this trick to do fully automated guest system builds.
Read the Forum Posting Guide
Google your Q site:VirtualBox.org or search for the answer before posting.
Google your Q site:VirtualBox.org or search for the answer before posting.
-
TerryE
- Volunteer
- Posts: 3572
- Joined: 28. May 2008, 08:40
- Primary OS: Ubuntu other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS
- Contact:
Version 2 introduced some major architectural enhancements (such as 64bit support and improved Mac OS and openSolaris support) and with any new enhancements come bugs. With 2.0.2 and 2.0.4 the current version has become more stable and the net numbers of problems reduced. However if you don't need any of the extra V2 functionality, then version 1.6.6 is still more stable.Horontu wrote: "My advice: don't try this with VirtualBox 2.0.4," what is mean? could you tell some detail about that?
Read the Forum Posting Guide
Google your Q site:VirtualBox.org or search for the answer before posting.
Google your Q site:VirtualBox.org or search for the answer before posting.
Guess I should have explained more.Horontu wrote: Another question for #2, "My advice: don't try this with VirtualBox 2.0.4," what is mean? could you tell some detail about that?
I found that in VBox 2.0.4 one cannot pick the virtual NICs one create. Because it is showing the network name field instead of the network adapter field.
VBox 1.6.6 works fine. At least ... the correct fields are shown, and one can pick the virtual NIC from the dropdown list.
[Update!] I just learned that one CAN pick the virtual NIC in host interface mode! The method of picking it has changed since VBox 1. Now one simply select it in the list of NICs halfway down the screen, instead of picking it from a dropdown list. Please ignore my stupid advice a few posts back!
Thanks everyone!!
However, I failed to do it. When I bridged my physical card and the VBox card, the net connection was cut right now, and the physical card can't get an IP address, it's unplugged status. In fact, the line was plugged. The guest system had got an IP address which is like 169.254.73.249.
I reinstall my physical card, reinstall the guest system, rebuild the bridge and so on. I did everything that I can. however, I'm not success.
help me please!!
thanks a lot!!
by the way, my edition of VBox is 2.0.4
However, I failed to do it. When I bridged my physical card and the VBox card, the net connection was cut right now, and the physical card can't get an IP address, it's unplugged status. In fact, the line was plugged. The guest system had got an IP address which is like 169.254.73.249.
I reinstall my physical card, reinstall the guest system, rebuild the bridge and so on. I did everything that I can. however, I'm not success.
help me please!!
thanks a lot!!
by the way, my edition of VBox is 2.0.4
-
TerryE
- Volunteer
- Posts: 3572
- Joined: 28. May 2008, 08:40
- Primary OS: Ubuntu other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS
- Contact:
Most probably what has happened is that your udev enumeration has failed because your eth0 MAC address has changed. sudo edit /etc/udev/70-persistent-net.rules and delete lines from 5 on. udev will then pick up the correct MAC address as eth0.
Read the Forum Posting Guide
Google your Q site:VirtualBox.org or search for the answer before posting.
Google your Q site:VirtualBox.org or search for the answer before posting.
-
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
First solve your Host network issues. The Guest can't obtain an IP from the network, if the Host does not have proper connectivity with it (like a cable plugged in).
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.
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.
-
TerryE
- Volunteer
- Posts: 3572
- Joined: 28. May 2008, 08:40
- Primary OS: Ubuntu other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS
- Contact:
Thanks Sasquatch. I misread the last post and thought it was guest probs.
Read the Forum Posting Guide
Google your Q site:VirtualBox.org or search for the answer before posting.
Google your Q site:VirtualBox.org or search for the answer before posting.
Thank TerryE and Sasquatch!
To Sasquatch:
I don't think it is the problem of host network. because of the problem comes true only when I bridged the host card and vbox card.
primitively, I used this computer in the LAN which binding IP and MAC, and had no this problem. but now, I'm in the LAN which is using DHCP, the problem comes true.
my host network is nice when I didn't bridge. I thought the reason was the changed setting, so I reinstalled the host card. It was not for something wrong.
Now, I set the static IP address for the vbox card and set another static IP address which is in the same subnet with the vbox card, and I can communicate each other, and the host system works well in network. however, the virtual system still can't link to the Internet.
To Sasquatch:
I don't think it is the problem of host network. because of the problem comes true only when I bridged the host card and vbox card.
primitively, I used this computer in the LAN which binding IP and MAC, and had no this problem. but now, I'm in the LAN which is using DHCP, the problem comes true.
my host network is nice when I didn't bridge. I thought the reason was the changed setting, so I reinstalled the host card. It was not for something wrong.
Now, I set the static IP address for the vbox card and set another static IP address which is in the same subnet with the vbox card, and I can communicate each other, and the host system works well in network. however, the virtual system still can't link to the Internet.
-
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
When you create a bridge on a Windows Host, the MAC address changes. Your physical adapter will not be 'used' for the DHCP request, but the bridge is instead. The bridge uses the slave NICs for it's connectivity, so it uses the physical NIC to go on your network, but issues a DHCP with it's own MAC address.primitively, I used this computer in the LAN which binding IP and MAC, and had no this problem. but now, I'm in the LAN which is using DHCP, the problem comes true.
For the Guest, the same as above is valid. It will use it's own MAC address (not one of the Hosts, but the one you set in the VM settings). Some DHCP servers cannot handle this, as it appears that some OSes still send the Host MAC address when the Guest is sending a DHCP request.
For the internet connection, do you use MAC filtering on the router? Did you set the gateway and DNS server?
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.
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.