Setting a Bridge for a Specific added Nic

DonMcCoy

Active Member
Jun 18, 2017
7
0
41
34
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.