Page 3 of 3

Re: Host only network Win 7 Host, Ubuntu 9.1 guest

Posted: 23. Mar 2010, 10:47
by cr0wn3r
I've just tried the last thing Perryg suggested:

Added

auto eth1
iface eth1 inet dhcp

to network/interfaces, and restarted networking.

It's now got an IP for eth1 as well.

ifconfig gives eth0 with a 10. ip, eth1 with 192.168.56.101, and the lo with 127.


I can still ping the web from the guest so eth0 is working, but I still cant connect from the host to the guest. Anything on eth1 ip gets a time out, or unable to connect message. (tried ssh and web).

The rest of my network is running on 192.168.1.xxx
Is it a problem that the vbox networking is on 192.168.56.xxx ?

Re: Host only network Win 7 Host, Ubuntu 9.1 guest

Posted: 23. Mar 2010, 11:01
by cr0wn3r
Well. Another restart and now it works. The eth1 ip is now responsive and the guest can still access the web on eth0.

Not sure what was different to last time when the interfaces file change seemed to cause the machine to not boot... but now it all works.

Wonderful :)

Thanks so much for your help guys.

Re: Host only network Win 7 Host, Ubuntu 9.1 guest

Posted: 23. Mar 2010, 15:12
by baf
If you want eth1 to be on dhcp add this to the interfaces file:

auto eth1
iface eth1 inet dhcp