We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now

x

VirtualBox Networkworking

Medium Priority
581 Views
Last Modified: 2012-05-06
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?
Comment
Watch Question

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.

Author

Commented:
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?
Top Expert 2009

Commented:
Can any other pc ping guest Os ??

Author

Commented:
yes all the other pc's in the net.  They can even SSH etc to it.
Top Expert 2009

Commented:
ok in ubutu

is there anything wrirtten

/etc/hosts.deny file ??

Author

Commented:
Nothing in there.. Everything is commented out.
Top Expert 2009

Commented:
omm wired

form guest pc can you do ssh to host pc [ ubuntu ]

Author

Commented:
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
Top Expert 2009

Commented:
you should try to to ssh from windows vista to ubutu by using putty

Author

Commented:
can do it to.. Putty and command line using cygwin
Top Expert 2009
Commented:
ubuntu cant ping to vista

but vista can ping to ubuntu

ommm
what the route -n command in ubuntu

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Author

Commented:
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
Top Expert 2009

Commented:
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 ..

Author

Commented:
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?

Author

Commented:
Thanks for talking through this with me. It got me looking in the right place.  
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.