Bridged networks in VirtualBox only works one way.
Linux - Virtualization and CloudThis forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Bridged networks in VirtualBox only works one way.
I've setup a virtual guest on VirtualBox using a bridged adapter and can not reach the guest from the rest of my network. Its been a while but I thought this used to work. So example
test workstation 192.168.1.100
host server 192.168.1.108
virtual guest 192.168.1.109
the workstation on .100 can't ping the guest on .109 but can the server on .108. I thought I've set this up before and it worked fine, would think the bridged adapter should pass through both ways.
It should work without any trouble. Are you sure you using BRIDGE mode, and not NAT or user mode?
Is there only one network adapter on the host?
Could it be a firewall blocking stuff from the LAN?
Go with what alroger said, I would hazard you are using host only, or something other than bridged by accident. If that is not the case t is very likely the guest is running some sort of firewall.
I double and triple checked, guest is set for bridged. Guest can get to the internet, ping other systems on the network but not the host. Other systems on the network can't ping the guest, no firewall, its just a simple install of slackware 13.1.
Only think I could think, is virtualbox particular about what nic you bridge the guests to? I'm using the hosts wireless for now until I run a cable to my closet.
I double and triple checked, guest is set for bridged. Guest can get to the internet, ping other systems on the network but not the host. Other systems on the network can't ping the guest, no firewall, its just a simple install of slackware 13.1.
Only think I could think, is virtualbox particular about what nic you bridge the guests to? I'm using the hosts wireless for now until I run a cable to my closet.
Ooooops, I think that's your problem. Very few wireless adapters will work right with BRIDGE. Try the cable before anything else.
Sorry; didn't notice that you were working with a wireless adapter.
Here's a quote from http://forums.virtualbox.org/viewtopic.php?t=1787
"Wireless adapters don't always bridge properly in Windows. They will report connected to the bridge (so it reports bridged) but does not pass on the IP address at all..."
Sorry; didn't notice that you were working with a wireless adapter.
Here's a quote from http://forums.virtualbox.org/viewtopic.php?t=1787
"Wireless adapters don't always bridge properly in Windows. They will report connected to the bridge (so it reports bridged) but does not pass on the IP address at all..."
Warning: Network bridging will not work when the physical network device (eg eth1, ath0) used for bridging is a wireless device (eg ipw3945), as most wireless device drivers do not support bridging!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.