Ask Your Question

How to use macvtap with virt-install

asked 2012-02-01 14:40:11 +0000

lzap gravatar image

updated 2012-02-02 12:00:30 +0000

I was able to create virtual guests with macvtap using virt-manager. It works great.

I would like to create the same using virt-install. But I am not able to google any information regarding --network parameters. I tried various combinations like:

virt-install ... --network bridge:macvtap ...
virt-install ... --network bridge:macvtapX ...
virt-install ... --network nic=macvtap ...

I am not able to get it working. What is the "magic" parameter that starts up a guest with macvtap for me?


edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2012-02-16 15:33:55 +0000

mether gravatar image

Looks like noone knows the answer here. Consider asking in the Fedora virtualization list

edit flag offensive delete link more

answered 2014-05-13 15:07:36 +0000

javierwilson gravatar image

This was not supported before Fedora 20, now it is. See https://bugzilla.redhat.com/show_bug.cgi?id=855740

Basically you use something like:

--network type=direct,source=eth0,model=virtio

If you are using fedora >=20, have a look at "man virt-install"

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Use your votes!

  • Use the 30 daily voting points that you get!
  • Up-vote well framed questions that provide enough information to enable people provide answers.
  • Thank your helpers by up-voting their comments and answers. If a question you asked has been answered, accept the best answer by clicking on the checkbox on the left side of the answer.
  • Down-voting might cost you karma, but you should consider doing so for incorrect or clearly detrimental questions and answers.


Asked: 2012-02-01 14:40:11 +0000

Seen: 2,376 times

Last updated: May 13 '14