Page 1 of 1
VB 2.1.0 Linux - Host Interface Bridging not working
Posted: 6. Jan 2009, 00:15
by jeremiahj
I'm running VB under Jeos (ubuntu) 8.04 and have VB 2.1.0 installed.
I'm trying to get bridging working so that I can use a public ip space ip in VB. The VB manual tells me that with VB 2.1.0 that all i need to do i s select 'Host Interface' and simply select one of my active net devices, currently 'eth0', for bridging.
However, when i boot into linux in VB, all i get is the 'lo' device. Attempts to bring up eth0 fail via 'sudo ifup eth0' w/ error message "No such device".
Thoughts?
Thanks!
JJ
Re: VB 2.1.0 Linux - Host Interface Bridging not working
Posted: 6. Jan 2009, 20:42
by migajek
Same in my case, where host is Ubuntu 8.10 and guest is WinXP. I selected "eth0" as host interface, but under windows there's no networking...
let me know...
Posted: 6. Jan 2009, 21:09
by jeremiahj
...if you figure it out. I'm still searching for the fix.
Re: let me know...
Posted: 6. Jan 2009, 21:48
by migajek
jeremiahj wrote:...if you figure it out. I'm still searching for the fix.
well anyway I can tell you that I tried port forwarding as well, didn't worked either.
I downgraded to 2.0.6 as it seems to be known bug in 2.1.0, later I compiled the latest SVN version but none of this worked properly ...
working?
Posted: 6. Jan 2009, 21:54
by jeremiahj
did downgrading to 2.06 work?
Posted: 6. Jan 2009, 23:28
by sej7278
must be an ubuntu issue as it works fine here on fedora10 - thats with linux, windows, freebsd and solaris guests.
time to switch to a real distro?

Posted: 6. Jan 2009, 23:37
by migajek
sej7278 wrote:time to switch to a real distro?

not funny

Actually, VB is listening on the proper port for sure, checked it.
Posted: 7. Jan 2009, 00:38
by sej7278
migajek wrote:sej7278 wrote:time to switch to a real distro?

not funny
Actually, VB is listening on the proper port for sure, checked it.
ah come on, it was pretty funny!
what do you mean proper port - there's no port to listen on, do you mean interface?
your eth0 isn't a wireless card is it, as that probably won't work, if its wired is the cable connected (to a switch/hub/router/whatever)?
which model card did you select - the intel 1000's i have no problem with, only ever use pcnet for old windows pre-xp.
Posted: 7. Jan 2009, 00:42
by Sasquatch
Do you have a valid config for eth0 in your VM? Do you even have an ethernet device in the VM? Do an ifconfig -a to see them, or lshw -C network. An lspci will also reveal any network devices.
Posted: 7. Jan 2009, 22:44
by migajek
Sasquatch wrote:Do you have a valid config for eth0 in your VM? Do you even have an ethernet device in the VM? Do an ifconfig -a to see them, or lshw -C network. An lspci will also reveal any network devices.
1. nope, downgrading didn't worked
2. I checked the port on which VirtualBox was supposed to listen and forward to it's Guest
3. eth0 is wired connection
4. the guest is winxp so there's nothing to configure I guess?
Posted: 8. Jan 2009, 00:05
by sej7278
did you try a different ethernet card - e1000 instead of pcnet3?
Posted: 9. Jan 2009, 14:05
by migajek
sej7278 wrote:did you try a different ethernet card - e1000 instead of pcnet3?
Thank you
very much
It did resolved the problem - I selected the pro/1000, downloaded the drivers installed and now the port forwarding works.
However, I run into some strange problem (which fortunately is very easy to resolve)
If I ran the listening app under guest from the shared directory (yes, I did downloaded the windows program under linux, and copied it into the shared directory, than ran from guest os which is windows xp!) it simply doesn't work. It does not handle the port forwarding. However, if I copy the same app to my guest OS drive (virtualized drive) and run - it works fine... that is quite strange, but proven in my case (I did tried with many apps listening for TCP)
Posted: 9. Jan 2009, 20:05
by skajotde
migajek wrote:sej7278 wrote:did you try a different ethernet card - e1000 instead of pcnet3?
Thank you
very much
It did resolved the problem - I selected the pro/1000, downloaded the drivers installed and now the port forwarding works.
However, I run into some strange problem (which fortunately is very easy to resolve)
On last week I had many version vbox on my Ubuntu 8.10 to repair networking: 2.0.4-ose, 2.1 standalone from script, 2.1 from deb.
At beggining and remove virtualbox-ose-2.0.4 and install 2.1 standalone windows networking works (with intel pro selected in settings) but i cant reproduce this working sittuation. What I can monitor problem ?
Posted: 9. Jan 2009, 20:15
by skajotde
skajotde wrote:
At beggining and remove virtualbox-ose-2.0.4 and install 2.1 standalone windows networking works (with intel pro selected in settings) but i cant reproduce this working sittuation. What I can monitor problem ?
Now I tested on home router and vbox networking in xp works. I must ask network administrator why there are problem at work router (one time xp in vbox get ip but onlny one time per 30 ! ) Have you some suggession ?