El 13/8/18 a las 20:26, Bob Goodwin escribió:
On 08/13/18 13:53, Rick Stevens wrote:
> On 08/13/2018 10:08 AM, Bob Goodwin wrote:
>> I have an Fedora 28 computer with Fedora 27 running in virtual manager.
>> My NFS server refuses its connection although the Fedora28 computer
>> itself connects routinely. Ping and ssh can connect to the NFS server
>> from the VM. Stopping Firewalld and setenforce 0 in the VM make no
>> difference.
>>
>> NFS exports is:
>> [bobg@ASRock-J3455M ~]$ cat /etc/exports
>> /home/exports
>> 192.168.1.0/24(rw,sync,insecure,no_root_squash,no_subtree_check)
>>
>> Can anyone suggest what I might have wrong?
> The VM is probably on the 192.168.122.0/24 network (that's the default
> virbr0 network set up by libvirt--check via "ip addr show" on the VM)
> and your export is only to the 192.168.1.0/24 network so NFS mount
> requests from 192.168.122.0/24 are rejected by the server.
> ----------------------------------------------------------------------
> - Rick Stevens,
+
That's the problem, everything in the VM shows up as
192.168.122.whatever.
Normally my router assigns the addresses. How do I fix this? will it
need a fixed address? The computer it is living in is 192.168.1.83 and
I assumed, out of ignorance of this default, it would be the same.
You must change the VM network type from "NAT" to "Bridged". Is
this KVM?