Cryptic

Members
  • Posts

    2
  • Joined

  • Last visited

Cryptic's Achievements

Noob

Noob (1/14)

2

Reputation

  1. Figured out how to fix loosing network access to the VM after adding a "Unraid Share" and "Unraid Mount Tag" Before adding the Unraid Share and Mount Tag, switch to XML View and copy your "interface type..." section to notepad. <interface type='bridge'> <mac address='52:54:00:7e:XX:XX'/> <source bridge='br0'/> <target dev='vnet7'/> <model type='virtio-net'/> <alias name='net0'/> <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/> </interface> Note your "target dev", "alias name", and "address type" lines. These 3 lines get omitted after configuring the Unraid Share and Unraid Mount Tag. Resulting in the loss of network connectivity (can't SSH to the VM) My example: Unraid Share: /mnt/user/share Unraid Mount Tag: UnraidShare Add your Share and Mount tag. After you add your edited your VM goto the XML View and look for "filesystem" <filesystem type='mount' accessmode='passthrough'> <source dir='/mnt/user/share/'/> <target dir='UnraidShare'/> <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/> </filesystem> Cut the entire "address type" line out of the "filesystem" section <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/> That line belongs in the "interface type" xml block just below the "filesystem type". <interface type='bridge'> <mac address='52:54:00:7e:XX:XX'/> <source bridge='br0'/> <model type='virtio-net'/> <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/> </interface> Paste the "address type" from "filesystem" over the "address type" in "interface". In my example the "bus" value goes from 0x03 to the 0x01. From your notepad, copy the "target dev" line and paste below "source bridge" line. From your notepad, copy the "alias name" line and paste below "model type" line. It should look similar to this now: <filesystem type='mount' accessmode='passthrough'> <source dir='/mnt/user/share/'/> <target dir='UnraidShare'/> </filesystem> <interface type='bridge'> <mac address='52:54:00:7e:XX:XX'/> <source bridge='br0'/> <target dev='vnet9'/> <model type='virtio-net'/> <alias name='net0'/> <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/> </interface> Save changes. Start your VM. You should have network access now. If you go back into XML View on your running VM, you will notice two more new lines under "filesystem". "address type" and "alias name" now show up. Note that bus type is 0x03 now instead on 0x01. Unlcear for me if that even matters, but this does fix the network issue on Unraid 6.11.1 <filesystem type='mount' accessmode='passthrough'> <source dir='/mnt/user/share/'/> <target dir='UnraidShare'/> <alias name='fs0'/> <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/> </filesystem> <interface type='bridge'> <mac address='52:54:00:7e:XX:XX'/> <source bridge='br0'/> <target dev='vnet9'/> <model type='virtio-net'/> <alias name='net0'/> <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/> </interface>