Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
qemu user net and nfs on host
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
WWWW
Tux's lil' helper
Tux's lil' helper


Joined: 30 Nov 2014
Posts: 106

PostPosted: Thu Apr 09, 2015 11:16 am    Post subject: qemu user net and nfs on host Reply with quote

hello,

I have a question regarding networking between qemu started with user networking and host networking.

Qemu confuses me because samba does work with host using 192.168.x.x and qemu user networking but nfs doesn't.

I am having troubles understanding how is qemu is able to reach host by using 10.x.x.x.

1- Host is configured with regular 192.168.x.x.
2- Qemu started with user networking that uses 10.x.x.x range.

In the past I used user networking to reach internet quickly. I know that bridge and other methods are better.

But now that I am trying something a bit more involved such as sharing a folder with samba and I would like to have a better grasp how is all connected.

I understand that samba uses a varying types of protocols that are able to jump different ips in this example from 192.168.x.x to 10.x.x.x.

But in the case of NFS the ip has to be specified in /etc/exports like the following:

Code:

/share  192.168.2.0/24(ro,no_subtree_check,root_squash)


This is so because host is on that 192.168.x.x range and not 0.x.x.x

Is this the reason why qemu with user networking isn't working with NFS?

The multitude options of networking that uses qemu is confusing to know which one is best for different set ups.

Anyone recommend one flexible networking set up for qemu (aside from bridge)? What about VDE?

Thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
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