Unable to connect Windows host with guest ubuntu via network
I saw few posts of this type, but did find any help.
Well, I'm using Windows XP as my native OS and I have installed Ubuntu 10.10 on VirtualBox.
My windows ip is 9.xxx.xxx.xxx but my linux IP is 10.0.2.15
I'm unable to ping from either side.
I need to create samba shares in linux and access those in Windows, but network is not getting connected.
In VirtualBox my network is attached to NAT and in advanced "Intel PRO/1000 MT Desktop" is selected.
Any help someone can provide?
Thanks in advance.
You need to install Guest Additions. I run a linux host and XP guest. From the guest side, I can copy files in both directions.
I do not know how the routing between the two systems works, I can ping between the two, my host is a 192.168.x.y address, and XP ( guest is ) 10.0.2.15. The NAT setup you described is the way mine is.
Once you install Guest Additions, you should be able to set up what will be shared between guest and host. Its in the V-box config.
Samba is not so easy to set up. Have a look at the the tutorials on this board, in the Tuts-Networking section.
I have already installed guest additions. Still it's not working for me.
Any other suggestion?
When you are testing with the ping command, are you on the host side or the guest side?
I can ping the host from the guest, but not the guest from the host. Sharing as far as I know, only works from the guest, to the host. I can read and write both directions, but only on the guest.
Since you have Linux as your guest, you will have to set up samba first.
The guest to host has to work first. If you open a command prompt in the guest, ( linux ) and run the command 'netstat -r' ( without the quotes ) do you have a default route set? On my guest I see this:
Here is the full output of netstat -r on my guest:
Before you start the Guest OS, on the right-hand side click on Network. in the Adapter 1 tab, change the Attached Adapter from nat attached to Bridged Adpapter from the drop down list and then hit OK. This will put your virtual guest in the same network id of your host machine 192.168.x.y
I do this with all my guests OS's and I am able to ping, ssh, samba, copy and run services with no problems. Also if you have firewall(s) make sure to open the ports for them to pass through.
|All times are GMT -5. The time now is 09:32 PM.|