my host is slackware.
the virtual machine is windows xp.
I am going to add the folder in my slackware into the windows using samba in the slackware.
first setting the samba in the slackware. I think I have another post about samba in this blog. Then in the virtualbox, set the network setting into two nic. The first nic as bridge adapter and the other as nat.
Later in the virtual machine, we will see the lan address of the bridge. Then set it manually to the same network address as host. If the host is 192.168.1.1 then the bridge is 192.168.1.2
Next, through the network browser file manager in windows, browse to 192.168.1.1, we will see the samba share right over there.