My First VM - No Network

GregoInc

New Member
Jul 25, 2022
13
1
3
Hello,

Totally new to Proxmox, so am in a steep learning curve. Managed to work out how to import an existing Ubuntu 20.04 Linux VM into Proxmox via OVF import, and was excited to get it to boot. All seems ok, except I cannot get the network interface to come up? Here's what I see when I issue the command 'ip a'

1658837427080.png

You'll notice it has the state as DOWN... and I've tried a number of ways to get it to be UP. I tried to find /etc/network/interfaces but the directory doesn't exist, so I figure it must use ethtool or something similar?

Here's what I get from ethtool...

1658837603159.png

Here is the output from networkctl status -a

1658838424184.png

As you can see the link is showing as down? I am sure it is something simple I am missing, and being new to Proxmox I figure it is a knowledge gap.

Any advice/suggestions appreciated.

Thanks, Mark
 
Last edited:
Hello,

networking in Ubuntu 20.04 is through netplan, so instead of editing the /etc/network/interfaces you have to edit the yaml-file at /etc/netplan (as you have figured out).

The image might have come with a different naming for the interfaces. In your case the interface is named 'ens18' and that has to align with the name in the network configuration.

Kind regards,
Benedikt
 
Hello Benedikt,

Thank you for your comments/advice. Yes, I realised it was not right when I looked in the yaml file. Now I am trying to work out the network side of things in Proxmox itself. I have 3 x 1 gigabit interfaces and I want to assign one directly to a VM, but am unsure how that is done. I will read the documentation some more and see what I can find.

Thanks, Mark
 
Last edited:
Here's what I dont understand about my network... Here's what I see on the Proxmox host...

1658919425097.png
The table above is showing enp7s0 as active. What is interesting I've confirmed enp8s0 has a cable plugged into an active switch port and the lights on the port are flashing... the table above is show port enp8s0 as not active??

Here's what I see when I do an 'ip a' command...

1658919639925.png

Interestingly enp8s0 is showing as DOWN, yet as I said above I have confirmed an active cable is connected?

Why do I want enp8s0 to be active? I'd like to connect enp8s0 directly to my 101 VM, so the enp8s0 port is exclusive to that VM only.

Here is the config of the 101 VM...

1658919833624.png
It is currently using bridge vmbr0 which is via port enp7s0 and is working fine.

I figure I probably just need to create a new bridge... and then link port enp8s0 to it, then add that port to the 101 VM. Only concern I have is the 101 VM will be on the same network segment as enp7s0 i.e. 192.168.0.0, but I figure that should be a problem if the bridge and the port are exclusive to the 101 VM.

Any suggestions on my theory? I am unsure how to get port enp8s0 to be UP and active?

Thanks, Mark
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!