Hi, Thanks for your responses. I have been experimenting with the networking options. In the bridged mode, I just can't access the net though I have 2 way communication with the host and guest, perhaps because as David mentioned I am using a standard adsl2 modem which doesn't have routing functions. I had enabled ICS on an earlier attempt to get the host bridge working properly, perhaps I will have another go at that and report back.
In the meantime I have been trying to get nat networking to work better, I did the nat port forwarding as explained in the vbox manual and can access my apache server on the guest if I set apache on the guest to listen to port 2222. I then used putty to login in to the guest, it worked with localhost:2222, which is the port I forwarded with vboxmanage and then used the ssh tunneling functions in putty to access more ports on the guest, for instance in putty in ssh tunnel I set up host port 3000 to guest port 3000 and can now access my rails apps too, of course I can serve the rails app on port 2222 and access it directly without putty but with putty I can access both apache and rails and any other ports I need from a single 2222 port set up by vboxmanage. I am not so adept at networking and port forwarding and stuff so I am thrilled I have got so far. The only thing is I can't ping 10.0.2.15 or 10.0.2.2 from the windows host to the linux guest even though the manual mentions this should be possible. Also unless I put in my dns address provided by the isp when I dial up dsl broadband, in the networking settings of the guest, the guest ubuntu machine can't access the net. I wonder why? Is it because my host connection is all dhcp and does not have any entries for ip, gateway and dns and stuff. Would love to figure that out and why pinging the guest on 10.0.2.15 doesn't work. Thanks Raul On 4/10/07, David Balazic <[EMAIL PROTECTED]> wrote:
Raul, just enable ICS(Internet Connection Sharing) on your internet connection. To recap : - leave every network (TCP/IP) related setting on "automatic", don't change anything - you have a dial-up internet connection on the host system; enable ICS on it - you have LAN and vbox virtual adapter bridged Regards, David ------------------------------ *From:* [EMAIL PROTECTED] on behalf of David Murphy *Sent:* Sun 08-Apr-07 17:44 *To:* VirtualBox end user list *Subject:* Re: [vbox-users] Host interface networking with Windows Host &Ubuntu Edgy guest --- raul patel <[EMAIL PROTECTED]> wrote: > Hi, > > I am running windows xp sp2 as the host and ubuntu edgy as the guest os. > I > have the vbox additions installed. My internet connection is provided by > an > adsl modem (not wireless) which is initiated by a dialup. ip, gateway and > dns is set to autoconfig in windows. I set up a virtual network card as > in > the guide and bridged the lan and the virtual connection. > > I am unable to connect to the internet with host interface networking > from > the guest linux os. I can connect to the internet from the windows host > though. However I can access the windows host from the guest os, for > instance I can access the adsl modem on 192.168.1.1 from Ubuntu guest, > and > access the guest ubuntu os from the host. Is there any guide to make the > internet connectivity work? The guest linux os is set to dhcp, dns is > 192.168.1.1. > > NAT works but only if I put in a my broadband providers dns address in > addition to the 10.0.2.3 provided by vbox in the Ubuntu network config. > > I would like to test a server on the guest os and would prefer the host > interface but I have searched for over 2 days on google and can't find > references or guides for this for a Windows host. > > I tried to set promiscuous mode on the bridged interface in windows with > the > netsh command thinking that could be the problem but my adsl dialup won't > connect to the net after doing this so I had to delete and recreate the > bridged interface. Any ideas? > > > Thanks > > Raul > > > Update: Thanks. I just installed a proxy called analogx on host windows > and > now I can access the net from the guest os on 192.168.1.4( host ip > address) > port 6588. Is there any way to make it work without using a proxy? Does your modem have routing functions? Perhaps you need a router... -David Murphy ____________________________________________________________________________________ TV dinner still cooling? Check out "Tonight's Picks" on Yahoo! TV. http://tv.yahoo.com/ _______________________________________________ vbox-users mailing list [email protected] http://vbox.innotek.de/mailman/listinfo/vbox-users
_______________________________________________ vbox-users mailing list [email protected] http://vbox.innotek.de/mailman/listinfo/vbox-users
