Re: NFS mount from VM -

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08/13/2018 04:04 PM, Rick Stevens wrote:
> On 08/13/2018 02:54 PM, Bob Goodwin wrote:
>> On 08/13/18 14:00, Tom Horsley wrote:
>>>> Can anyone suggest what I might have wrong?
>>> Is the VM using NAT networking or a bridge? If it is NAT, the VM probably
>>> won't be on the 192.168.1.0 subnet. You could see what the VM thinks its
>>> IP address is.
>> +
>> "using NAT networking or a bridge?"
>>
>> Is this the result of my having made a wrong selection when creating the
>> VM from virt-manager? If so, I could go through the process again and
>> see what the new network[scripts should look like since if I understand
>> what I've read that is what needs to be changed.
> 
> If you're using the GUI virtual machine manager, just click on the VM
> and open it. Click on the lightbulb icon to show the VM configuration.
> Go down to the NIC option and click on it. In the window that shows up,
> click on the "Network Source" dropdown and select the macvtap item that
> corresponds to the host's NIC. In the "Source Mode" dropdown, select
> "Bridge". Save the config, then boot up the VM. Once it's booted, log
> in and check the IP address via "ip addr show" and verify it's on
> 192.168.1.0/24 with an IP handed out by your router.

If you want to see the XML created, this is a snippet from my F28 VM
using a bridge on the host's eno1 interface:

    <interface type='direct'>
      <mac address='52:54:00:73:86:d9'/>
      <source dev='eno1' mode='bridge'/>
      <model type='rtl8139'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03'
function='0x0'/>
    </interface>

This is found in the /etc/libvirt/qemu/Fedora28-X86_64.xml file (my
VM is named "Fedora28-X86_64").
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital    ricks@xxxxxxxxxxxxxx -
- AIM/Skype: therps2        ICQ: 226437340           Yahoo: origrps2 -
-                                                                    -
-         Okay, who put a "stop payment" on my reality check?        -
----------------------------------------------------------------------
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx/message/KRH4CNPG6PO6WFPNXPDEVN6F4DVRN72C/



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux