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 ?
Host only network Win 7 Host, Ubuntu 9.1 guest
-
cr0wn3r
- Posts: 24
- Joined: 7. Sep 2009, 15:52
- Primary OS: MS Windows 7
- VBox Version: OSE other
- Guest OSses: Ubuntu 9
Re: Host only network Win 7 Host, Ubuntu 9.1 guest
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.
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.
-
baf
- Volunteer
- Posts: 829
- Joined: 27. Sep 2008, 06:18
- Primary OS: Mac OS X Leopard
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: linux,xp,win7
- Location: Luleå or Skellefteå, Sweden
Re: Host only network Win 7 Host, Ubuntu 9.1 guest
If you want eth1 to be on dhcp add this to the interfaces file:
auto eth1
iface eth1 inet dhcp
auto eth1
iface eth1 inet dhcp
Some say: "You learn as long as you live".
My way: "You live as long as you learn".
My way: "You live as long as you learn".