View previous topic :: View next topic |
Author |
Message |
fpemud Guru
Joined: 15 Feb 2012 Posts: 349
|
Posted: Wed Jun 26, 2013 5:07 am Post subject: how to start dedicated samba server for qemu virt-machine? |
|
|
I'm writing a script to start qemu virt-machine.
I want to share a folder of host with the winxp guest in qemu virt-machine.
My vm uses NAT networking, the ip address of bridge interface is 10.3.232.1.
I'm using a samba server for file sharing between PC, so I want to start a dedicated samba server for my virt-machines.
Problem occured when doing socket binding operation:
The main samba server binds to 0.0.0.0:139, and the dedicated samba server needs to bind to 10.3.232.1:139. The binding of the dedicated samba server failed.
I know this limit, although I don't understand why it's there.
How should I do this? please help! |
|
Back to top |
|
|
fpemud Guru
Joined: 15 Feb 2012 Posts: 349
|
Posted: Wed Jun 26, 2013 5:13 am Post subject: |
|
|
Solution in my head currently:
1. winxp only recoginize port 139, so I can't modify the port number of the dedicated samba server,
2. Can I isolate the bridge interface and other interfaces using cgroup?
3. In my script, I can use the main samba server to share the fodler to virt-machine, but it'll be complicate, needs dynamic samba config modification, netbios alias etc.
How does virtual-box implement its "share-folder" feature? |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|