Jump to content
busa1

VMDK + br0 = No internet on VM

18 posts in this topic Last Reply

Recommended Posts

Dear community,

 

I've got a openSUSE VMDK file that need to ran off of a virtualBox or VMware software, but I thought I will try to run it off of my unraid server. I have manually added the disk to start it up, everything looks fine as far as the VM goes, except I cannot get any internet on it. Do you guys know, if I have to do any sort of extra configuration in order to make sure to have a virtual network for the VM?

 

Please let me know if you got any tips.

Share this post


Link to post

Do an ifconfig from within the OpenSUSE VM to see the networks presented.  All Linux-based guest VMs should support the VirtIO network drivers that we use for VMs with Unraid.

Share this post


Link to post

@jonp This is all I can see. (version 13.2)

1701775398_Screenshot2018-11-28at10_55_49.jpg.aad68726708a1042f6f2760091a21bbe.jpg

Even though I have a br0 network configured, I can't seem to have access to the network card. 

Screenshot 2018-11-28 at 10.56.30.jpg

Edited by busa1

Share this post


Link to post

Do you know if you have the virtio network drives installed in the VM?   I thought most recent Linux distributions included them as standard but maybe not in this case?

 

Alternatively do you know what type of network card was defined under VirtualBox?   It is possible you could change the VM definition under Unraid to specify the same one.

Edited by itimpi

Share this post


Link to post

You shouldn't need to "install" any virtio drivers for opensuse if it's just a standard Linux based distro. Can you try typing lspci for me and report the feedback? And lspci with the -k option so I can see the driver bindings?

Sent from my Pixel 3 XL using Tapatalk

Share this post


Link to post

I haven't find any great fast way to paste the result here other than a screenshot. But here is that:

 

Screenshot 2018-11-28 at 18.52.46.jpg

Screenshot 2018-11-28 at 18.52.36.jpg

Share this post


Link to post

Ok the second screenshot at the bottom shows the Ethernet controller but it's cut off before I can see the driver part.

I haven't find any great fast way to paste the result here other than a screenshot. But here is that:
 
723054947_Screenshot2018-11-28at18_52_46.thumb.jpg.6fde1db0023045a51211dacca6a277b0.jpg
671768519_Screenshot2018-11-28at18_52_36.thumb.jpg.20afbfbacbaa09e1e689b170266c35f6.jpg


Sent from my Pixel 3 XL using Tapatalk

Share this post


Link to post

Try this though. Edit your VM and toggle xml edit mode. Search for network. Find the model=virtio part and change that to model=e1000 and if that doesn't work, try rtl8139 

Sent from my Pixel 3 XL using Tapatalk

Share this post


Link to post

do you mean 

<interface type='bridge'>
      <mac address='52:54:00:ec:58:ee'/>
      <source bridge='br0'/>
      <model type='virtio'/>
      <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
    </interface>

this part should be

<interface type='bridge'>
      <mac address='52:54:00:ec:58:ee'/>
      <source bridge='br0'/>
      <model type='e1000'/> (or later rtl8139)
      <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
    </interface>

?

Share this post


Link to post
do you mean 
 type='bridge'> address='52:54:00:ec:58:ee'/> bridge='br0'/> type='virtio'/> type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>

this part should be

 type='bridge'> address='52:54:00:ec:58:ee'/> bridge='br0'/> type='e1000'/> (or later rtl8139) type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>

?

Yup!

Sent from my Pixel 3 XL using Tapatalk

Share this post


Link to post

Both of them have exactly the same result after running `ifconfig` in the terminal. Only getting loopback network. 

Share this post


Link to post

Any chance you can link me to where I can download this vmdk to experiment myself?

Sent from my Pixel 3 XL using Tapatalk

Share this post


Link to post

Awesome. I'll start the download in a few. Probably won't have any feedback till later tonight at the earliest.

Sent in private. 


Sent from my Pixel 3 XL using Tapatalk

Share this post


Link to post
3 minutes ago, jonp said:

Awesome. I'll start the download in a few. Probably won't have any feedback till later tonight at the earliest.

 


Sent from my Pixel 3 XL using Tapatalk
 

 

Thank you very much. Don't worry I'm not in an extreme hurry. Please let me know if you have any news for me. 

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.