How to allocate a physical ethernet device to a VM ?

XZed

Member
Sep 20, 2009
74
0
6
Hello,

After many tests, i couldn't find how to do this :

Initially, i setup a physical eth device, recongnized as eth0.

Proxmox auto creates a vmbr0 device with eth0 attached.

My linux guest detected a eth0 dev.

Then i added a second physical eth device

Proxmox listed in its configuration :

eth1 disabled

vmbr0 enabled

I wanted to dedicate this second eth (eth1) to a VM.

I thought i could do like this :

"enable" eth1 dev and setup this only on the proper linux guest.

But didn't find any "enable/disable switch" and the only way i found was to create a vmbr device and attach eth1 to it.

I suppose i've done the right way ?

Thank you,

Sincerely.
 
But didn't find any "enable/disable switch" and the only way i found was to create a vmbr device and attach eth1 to it.

The only way to use a device is via a bridge, so I guess you have done it the right way.