chil7 Posted March 28, 2023 Share Posted March 28, 2023 (edited) 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. Edited March 28, 2023 by chil7 Quote Link to comment
JorgeB Posted March 29, 2023 Share Posted March 29, 2023 If I understand correctly you are virtualizing Unraid? Going to move this to the correct place to see if someone can help you. Quote Link to comment
chil7 Posted March 29, 2023 Author Share Posted March 29, 2023 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? Quote Link to comment
JorgeB Posted March 29, 2023 Share Posted March 29, 2023 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? Quote Link to comment
chil7 Posted March 30, 2023 Author Share Posted March 30, 2023 (edited) 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 March 30, 2023 by chil7 Quote Link to comment
JorgeB Posted March 31, 2023 Share Posted March 31, 2023 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? Quote Link to comment
JonathanM Posted March 31, 2023 Share Posted March 31, 2023 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. Quote Link to comment
chil7 Posted March 31, 2023 Author Share Posted March 31, 2023 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. Quote Link to comment
chil7 Posted March 31, 2023 Author Share Posted March 31, 2023 Here is the netplan config file that I altered in the Ubuntu VM. I added my IP address, gateway and DNS server. Quote Link to comment
chil7 Posted April 1, 2023 Author Share Posted April 1, 2023 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? Quote Link to comment
JorgeB Posted April 1, 2023 Share Posted April 1, 2023 17 hours ago, JonathanM said: Post a screenshot of that specific VM's config, or paste the xml code. Quote Link to comment
chil7 Posted April 1, 2023 Author Share Posted April 1, 2023 Here you go, sorry about that. Quote Link to comment
JonathanM Posted April 1, 2023 Share Posted April 1, 2023 Are you sure the version of Ubuntu you are using includes the virtio-net driver? Have you tried other network model options? Quote Link to comment
chil7 Posted April 1, 2023 Author Share Posted April 1, 2023 (edited) 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. 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 April 1, 2023 by chil7 mistake Quote Link to comment
chil7 Posted April 1, 2023 Author Share Posted April 1, 2023 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 Quote Link to comment
chil7 Posted April 1, 2023 Author Share Posted April 1, 2023 Further investigation of my network drivers: Quote Link to comment
chil7 Posted April 1, 2023 Author Share Posted April 1, 2023 Also found this, which shows driver is virtio_net: Quote Link to comment
Recommended Posts
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.