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:
This may be a case in linux you have to set things up. I have never set up a linux guest, since its my main OS.
Here is the full output of netstat -r on my guest:
0x1 ........................... MS TCP Loopback interface
0x2 ...08 00 27 15 d2 8a ...... AMD PCNET Family PCI Ethernet Adapter - Packet Scheduler Miniport
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 10.0.2.2 10.0.2.15 20
10.0.2.0 255.255.255.0 10.0.2.15 10.0.2.15 20
10.0.2.15 255.255.255.255 127.0.0.1 127.0.0.1 20
10.255.255.255 255.255.255.255 10.0.2.15 10.0.2.15 20
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
188.8.131.52 240.0.0.0 10.0.2.15 10.0.2.15 20
255.255.255.255 255.255.255.255 10.0.2.15 10.0.2.15 1
Default Gateway: 10.0.2.2
I bunched the fields up, I had to pipe the output to a file on the guest, and use a share to copy it to my host system, then copy and paste it here.