Link to home
Start Free TrialLog in
Avatar of awsemiao06
awsemiao06

asked on

VirtualBox Networkworking

I have a VirtualBox Vista host w/ip 192.168.5.101 and a Ubuntu guest with DCHP ip 192.168.5.108.  The guest is configured for Host Interface.  The guest can ping all other machines in the network and get to the internet.  The host can ping all the machines in the network AS WELL AS the guest OS at 108.  Any Ideas?
Avatar of pointerstop
pointerstop
Flag of Canada image

So what's the problem?  This is exactly as expected.  If you want the guest to be hidden, you'll have to firewall it, unless you don't need _any_ other computers to be able to reach it, in which case you can use a NAT interface.

This is exactly my configuration (because I can't get Ubuntu to install on this laptop natively) and for the first time ever I have Host interfaces working smoothly over both wired and wireless host interfaces.
Avatar of awsemiao06
awsemiao06

ASKER

The problem is the guest cannot ping the host.  They have ips on the same subnet.  Is that a limitation of host interface.. You cannot ping the host from guest?
Can any other pc ping guest Os ??

yes all the other pc's in the net.  They can even SSH etc to it.
ok in ubutu

is there anything wrirtten

/etc/hosts.deny file ??
Nothing in there.. Everything is commented out.
omm wired

form guest pc can you do ssh to host pc [ ubuntu ]
Host is Windows Vista with firewall open to all hosts in 192.168.5.0/24  for TCP and UDP.   Ubuntu guest (8.10) gives this error to ssh attempt to host os @ .101

ssh: connect to host 192.168.5.101 port 22: No route to host
you should try to to ssh from windows vista to ubutu by using putty
can do it to.. Putty and command line using cygwin
ASKER CERTIFIED SOLUTION
Avatar of fosiul01
fosiul01
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
You have it right.

Here is route table.  The DG is the private side of my router.

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.5.0     0.0.0.0         255.255.255.0   U     1      0        0 eth0
169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 eth0
0.0.0.0         192.168.5.1     0.0.0.0         UG    0      0        0 eth0
please allow me couple of hours
i will have to go out to pickup my car

will be back soon , then will digg this problem ..
fosiul01:  Now is the time to apologize for wasting your time.  I was able to open a smb file session from ubuntu to the host.  that got me looking at fw configs.  Its gotta be in there somewhere.  Especially if I can browse the host filesystem from the guest.

What does "route -n" show?
Thanks for talking through this with me. It got me looking in the right place.