Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Not able to connect VM to internet.

Featured Replies

Hey there,

 

I made a VM on a shared server. The default OS from the boot device on the Unraid account is Ubuntu 20.04 LTS. I received an IP address, gateway and subnet mask from my IT department. I changed the netplan file to set the IP address for the VM, but I am not able to connect to internet. I checked my firewall and it is inactive. Maybe the network settings are not set up correctly. Any feedback would be appreciated, thanks.

 

 

Unraid.png

Edited by chil7

If I understand correctly you are virtualizing Unraid? Going to move this to the correct place to see if someone can help you. 

  • Author

image.thumb.png.d644dbfdd11e56f423f3093fc31ddb97.png  

 

It seems like I was posting it in the correct place. That forum is for configuring VMs. Which is what I am trying to do. Is there something I am misunderstanding?

Maybe I misunderstood, what does this mean?

19 hours ago, chil7 said:

The default OS from the boot device on the Unraid account is Ubuntu 20.04 LTS

Are you trying to install Unraid as a VM running on Ubuntu or the other way around?

  • Author

I installed Ubuntu on a VM I made on my Unraid account.

 

To be more specific: When I made a new VM in the Unraid OS, I chose to boot from a shared iso which had the Ubuntu OS. 

Edited by chil7

Ok, I'll move it back, the network settings you show are for Unraid, I assume Unraid has network access, just not the Ubuntu VM?

14 hours ago, chil7 said:

When I made a new VM in the Unraid OS

Post a screenshot of that specific VM's config, or paste the xml code.

  • Author
16 hours ago, JorgeB said:

Ok, I'll move it back, the network settings you show are for Unraid, I assume Unraid has network access, just not the Ubuntu VM?

Ok sounds good. 

 

Yes, Unraid has network access, but the Ubuntu VM does not have internet access.

  • Author

Here is the netplan config file that I altered in the Ubuntu VM. I added my IP address, gateway and DNS server.

config.png

  • Author

image.thumb.png.6ee7142c712208d8b1af479f4441ef6e.png

 

I can ping to the Unraid server at 131.252.223.178. But I cannot ping the gateway (131.252.223.177).

 

Looking at the routing, it shows it goes from my IP (131.252.223.182) to the bridge (br0) at 131.252.223.176/29 

 

Am I supposed to configure br0 in my VM?

17 hours ago, JonathanM said:

Post a screenshot of that specific VM's config, or paste the xml code.

 

  • Author

image.thumb.png.04c27b8cbe57d8f8a9ef4e74178761c0.pngimage.thumb.png.21657e480cfefa39b0dfb48372eb9388.png

 

Here you go, sorry about that.

Are you sure the version of Ubuntu you are using includes the virtio-net driver? Have you tried other network model options?

  • Author

I think the main problem was that I did not install the qemu guest agent. So I ran the command to install it on my VM and now my VM shows the interfaces, where it said "Guest agent not installed" before.

 

image.thumb.png.0817aa134ea2ae2eaf280ba5b8f60df2.png

 

So now I can download packages but I still cannot ping out to my gateway or anywhere else. I am confused as to why I cannot ping out but can download files.

Edited by chil7
mistake

  • Author
1 hour ago, JonathanM said:

Are you sure the version of Ubuntu you are using includes the virtio-net driver? Have you tried other network model options?

I checked my virtio drivers and this was the output

 

image.png.09c064ea9c71c5f5a29122ec2a5dbe52.png

 

  • Author

Further investigation of my network drivers:

 

image.thumb.png.6772172fbde844cf455d33cf4e2ba020.png

  • Author

Also found this, which shows driver is virtio_net:

 

image.thumb.png.ce3eb95a8b60bcad0b71b6a73e917b35.png

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.