How to share a folder between Ubuntu host and a NAT Windows guest with virt-manager?
Multi tool use
I have a Windows 10 guest running under a Ubuntu 18.04 host with Virt-Manager and KVM. It has NAT connectivity because the host is connected through wi-fi, so I can't access my NAS to share files between guest and host.
I also have installed the Spice Windows Guest Tools, but I can drag-drop only small files like text documents or images and not an entire folder. I tried to share a folder from the host adding a filesystem as squash, but the guest is unable to see it.
How can I share big files between the host and the virtual machine?
Thanks in advance for answers.
networking virtualization windows-10 kvm virt-manager
add a comment |
I have a Windows 10 guest running under a Ubuntu 18.04 host with Virt-Manager and KVM. It has NAT connectivity because the host is connected through wi-fi, so I can't access my NAS to share files between guest and host.
I also have installed the Spice Windows Guest Tools, but I can drag-drop only small files like text documents or images and not an entire folder. I tried to share a folder from the host adding a filesystem as squash, but the guest is unable to see it.
How can I share big files between the host and the virtual machine?
Thanks in advance for answers.
networking virtualization windows-10 kvm virt-manager
Install ssh server on guest or host, then use filezilla.
– Gravemind
Feb 7 at 12:15
@Gravemind guest is under NAT.
– cialu
Feb 7 at 12:49
My guess is that your host has 192.168.122.xxx IP. So your guest should also have IP from that subnet. You should try 'arp -a' or check network interface settings on Windows to see the IP.
– Gravemind
Feb 7 at 13:34
192.168.122.xxx is guest IP under KVM NAT. Host IP depends on router and LAN, it could be anything like 192.168.yyy.xxx.
– cialu
Feb 7 at 14:02
actually it depends on your communication. Be default KVM creates virbr0 interface on your Linux host which has 192.168.122.1 IP. So if you want to connect to host from guest you can do ssh login@192.168.122.1 (of course it works only if you have ssh server seted up on Host)
– Gravemind
Feb 7 at 14:16
add a comment |
I have a Windows 10 guest running under a Ubuntu 18.04 host with Virt-Manager and KVM. It has NAT connectivity because the host is connected through wi-fi, so I can't access my NAS to share files between guest and host.
I also have installed the Spice Windows Guest Tools, but I can drag-drop only small files like text documents or images and not an entire folder. I tried to share a folder from the host adding a filesystem as squash, but the guest is unable to see it.
How can I share big files between the host and the virtual machine?
Thanks in advance for answers.
networking virtualization windows-10 kvm virt-manager
I have a Windows 10 guest running under a Ubuntu 18.04 host with Virt-Manager and KVM. It has NAT connectivity because the host is connected through wi-fi, so I can't access my NAS to share files between guest and host.
I also have installed the Spice Windows Guest Tools, but I can drag-drop only small files like text documents or images and not an entire folder. I tried to share a folder from the host adding a filesystem as squash, but the guest is unable to see it.
How can I share big files between the host and the virtual machine?
Thanks in advance for answers.
networking virtualization windows-10 kvm virt-manager
networking virtualization windows-10 kvm virt-manager
asked Feb 7 at 11:11
cialucialu
369520
369520
Install ssh server on guest or host, then use filezilla.
– Gravemind
Feb 7 at 12:15
@Gravemind guest is under NAT.
– cialu
Feb 7 at 12:49
My guess is that your host has 192.168.122.xxx IP. So your guest should also have IP from that subnet. You should try 'arp -a' or check network interface settings on Windows to see the IP.
– Gravemind
Feb 7 at 13:34
192.168.122.xxx is guest IP under KVM NAT. Host IP depends on router and LAN, it could be anything like 192.168.yyy.xxx.
– cialu
Feb 7 at 14:02
actually it depends on your communication. Be default KVM creates virbr0 interface on your Linux host which has 192.168.122.1 IP. So if you want to connect to host from guest you can do ssh login@192.168.122.1 (of course it works only if you have ssh server seted up on Host)
– Gravemind
Feb 7 at 14:16
add a comment |
Install ssh server on guest or host, then use filezilla.
– Gravemind
Feb 7 at 12:15
@Gravemind guest is under NAT.
– cialu
Feb 7 at 12:49
My guess is that your host has 192.168.122.xxx IP. So your guest should also have IP from that subnet. You should try 'arp -a' or check network interface settings on Windows to see the IP.
– Gravemind
Feb 7 at 13:34
192.168.122.xxx is guest IP under KVM NAT. Host IP depends on router and LAN, it could be anything like 192.168.yyy.xxx.
– cialu
Feb 7 at 14:02
actually it depends on your communication. Be default KVM creates virbr0 interface on your Linux host which has 192.168.122.1 IP. So if you want to connect to host from guest you can do ssh login@192.168.122.1 (of course it works only if you have ssh server seted up on Host)
– Gravemind
Feb 7 at 14:16
Install ssh server on guest or host, then use filezilla.
– Gravemind
Feb 7 at 12:15
Install ssh server on guest or host, then use filezilla.
– Gravemind
Feb 7 at 12:15
@Gravemind guest is under NAT.
– cialu
Feb 7 at 12:49
@Gravemind guest is under NAT.
– cialu
Feb 7 at 12:49
My guess is that your host has 192.168.122.xxx IP. So your guest should also have IP from that subnet. You should try 'arp -a' or check network interface settings on Windows to see the IP.
– Gravemind
Feb 7 at 13:34
My guess is that your host has 192.168.122.xxx IP. So your guest should also have IP from that subnet. You should try 'arp -a' or check network interface settings on Windows to see the IP.
– Gravemind
Feb 7 at 13:34
192.168.122.xxx is guest IP under KVM NAT. Host IP depends on router and LAN, it could be anything like 192.168.yyy.xxx.
– cialu
Feb 7 at 14:02
192.168.122.xxx is guest IP under KVM NAT. Host IP depends on router and LAN, it could be anything like 192.168.yyy.xxx.
– cialu
Feb 7 at 14:02
actually it depends on your communication. Be default KVM creates virbr0 interface on your Linux host which has 192.168.122.1 IP. So if you want to connect to host from guest you can do ssh login@192.168.122.1 (of course it works only if you have ssh server seted up on Host)
– Gravemind
Feb 7 at 14:16
actually it depends on your communication. Be default KVM creates virbr0 interface on your Linux host which has 192.168.122.1 IP. So if you want to connect to host from guest you can do ssh login@192.168.122.1 (of course it works only if you have ssh server seted up on Host)
– Gravemind
Feb 7 at 14:16
add a comment |
1 Answer
1
active
oldest
votes
I solved installing the SMB networking protocol with Samba on the host Ubuntu machine.
On the Win10 guest machine, I created a 'Public'
folder with the appropriate permissions and shared it on the network with the following network path: \<vm-guest-name>Public
.
On the Ubuntu Linux host machine, I used the 'Connect to server'
function and set the following address as a reference: smb://<IP-address-vm-guest>/Public
. In my case, the address was 192.168.122.188
.
In the end, I saved the address with the Samba protocol as a bookmark on Nautilus. Now, with a simple click, I can access the shared folder between the host and the virtual machine, and move files of any size.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1116362%2fhow-to-share-a-folder-between-ubuntu-host-and-a-nat-windows-guest-with-virt-mana%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
I solved installing the SMB networking protocol with Samba on the host Ubuntu machine.
On the Win10 guest machine, I created a 'Public'
folder with the appropriate permissions and shared it on the network with the following network path: \<vm-guest-name>Public
.
On the Ubuntu Linux host machine, I used the 'Connect to server'
function and set the following address as a reference: smb://<IP-address-vm-guest>/Public
. In my case, the address was 192.168.122.188
.
In the end, I saved the address with the Samba protocol as a bookmark on Nautilus. Now, with a simple click, I can access the shared folder between the host and the virtual machine, and move files of any size.
add a comment |
I solved installing the SMB networking protocol with Samba on the host Ubuntu machine.
On the Win10 guest machine, I created a 'Public'
folder with the appropriate permissions and shared it on the network with the following network path: \<vm-guest-name>Public
.
On the Ubuntu Linux host machine, I used the 'Connect to server'
function and set the following address as a reference: smb://<IP-address-vm-guest>/Public
. In my case, the address was 192.168.122.188
.
In the end, I saved the address with the Samba protocol as a bookmark on Nautilus. Now, with a simple click, I can access the shared folder between the host and the virtual machine, and move files of any size.
add a comment |
I solved installing the SMB networking protocol with Samba on the host Ubuntu machine.
On the Win10 guest machine, I created a 'Public'
folder with the appropriate permissions and shared it on the network with the following network path: \<vm-guest-name>Public
.
On the Ubuntu Linux host machine, I used the 'Connect to server'
function and set the following address as a reference: smb://<IP-address-vm-guest>/Public
. In my case, the address was 192.168.122.188
.
In the end, I saved the address with the Samba protocol as a bookmark on Nautilus. Now, with a simple click, I can access the shared folder between the host and the virtual machine, and move files of any size.
I solved installing the SMB networking protocol with Samba on the host Ubuntu machine.
On the Win10 guest machine, I created a 'Public'
folder with the appropriate permissions and shared it on the network with the following network path: \<vm-guest-name>Public
.
On the Ubuntu Linux host machine, I used the 'Connect to server'
function and set the following address as a reference: smb://<IP-address-vm-guest>/Public
. In my case, the address was 192.168.122.188
.
In the end, I saved the address with the Samba protocol as a bookmark on Nautilus. Now, with a simple click, I can access the shared folder between the host and the virtual machine, and move files of any size.
answered Feb 9 at 13:51
cialucialu
369520
369520
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1116362%2fhow-to-share-a-folder-between-ubuntu-host-and-a-nat-windows-guest-with-virt-mana%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
vbutq6O4KTpkPyTBABQEM0IqUPy25wGHky3yWQqHHiabLbG,6Eb6S3xSAk,NA dV nLe Ep1Y Q4etJ5LnmSFc,3hYdaH qUd
Install ssh server on guest or host, then use filezilla.
– Gravemind
Feb 7 at 12:15
@Gravemind guest is under NAT.
– cialu
Feb 7 at 12:49
My guess is that your host has 192.168.122.xxx IP. So your guest should also have IP from that subnet. You should try 'arp -a' or check network interface settings on Windows to see the IP.
– Gravemind
Feb 7 at 13:34
192.168.122.xxx is guest IP under KVM NAT. Host IP depends on router and LAN, it could be anything like 192.168.yyy.xxx.
– cialu
Feb 7 at 14:02
actually it depends on your communication. Be default KVM creates virbr0 interface on your Linux host which has 192.168.122.1 IP. So if you want to connect to host from guest you can do ssh login@192.168.122.1 (of course it works only if you have ssh server seted up on Host)
– Gravemind
Feb 7 at 14:16