0

On a CentOS server, ifconfig shows several vnetX interfaces (vent1, vent2, vent100), how can I add some more?

(I'd like to add a couple of virtual machines, so I need to add some more virtual interfaces that I can assign to the virtual machines).

Also, from what I understand, these vnetX interface are internal, between the host and virtual guest, is this correct?

3 Answers 3

1

these are set up on the VM level, you assign NICs to a VM, and it starts with them, creating vnetX NICs in the process.

As for how the networking is set up, just search for "libvirt bridge" and "libvirt NAT"

0

Why not use bridge mode in KVM for the Guest machines.

1
  • Because that's how this VM host is already set up, so I'd like to add to it in the same way it has been set up. Commented Mar 9, 2012 at 17:32
0

I think he is probably using bridge mode, check this typing brctl show. If there is one bridge, you can add extra interfaces using tunctl tool.

Like this: tunctl -u root -t interfaceNameX

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.