Setting a Bridge for a Specific added Nic

DonMcCoy

Active Member
Jun 18, 2017
7
0
41
33
Hello,

Lately I asked, on how to add a specific vNIC Model in VM configuration file, and the answer was with args, as the following:

args: -net nic,model=pcnet
balloon: 0

But I need to use bridge with it, I couldn't find anyway to add a bridge, I tried to follow the arg with bridge=vmbr2 but failed to run.
And of course this nic won't show up at all in the web-ui as it's user defined.


So how can we add a bridge to the nic net in this case?

Thanks
 
Lately I asked, on how to add a specific vNIC Model in VM configuration file, and the answer was with args, as the following:

args: -net nic,model=pcnet
balloon: 0

But I need to use bridge with it, I couldn't find anyway to add a bridge, I tried to follow the arg with bridge=vmbr2 but failed to run.
And of course this nic won't show up at all in the web-ui as it's user defined.


Much easier: define a vNIC as usual (via GUI), and change afterwards the type in the config file (e.g. from "e1000") to "pcnet" - everything will work as usual then.
 
  • Like
Reactions: DonMcCoy
Wow, Worked, I don't know what i was doing wrong before, i thought i tried this, but i think i tried with "pcnet32" instead of just "pcnet".

I'm extremely thankful to you, have a great day.
 

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!