English
Ask Your Question
1

Bridged networking with KVM and MacVTap

asked 2011-11-29 01:03:29 +0000

KevinA gravatar image

So one of the things that really interested me with the release of Fedora 16 was the inclusion of macvtap for bridged networking. Since I use KVM on my laptop I like the interfaces to be controlled by NetworkManager. From my understanding macvtap allows the interfaces to be controlled by NM and provide bridged networking for the guest OS. So I am trying this with a Debian guest and no matter what mode I set the networking to I can't seem to get it right. Does anyone have any idea as to why? Also I am trying to get this working across my wireless card.

edit retag flag offensive close merge delete

3 answers

Sort by » oldest newest most voted
1

answered 2011-11-30 08:03:15 +0000

René Rask gravatar image

It's a classic case of "If it sounds too good to be true, it usually is"

Here is a description of why you most likely don't want to use MacVTap yet:

http://libvirt.org/formatnetwork.html#examplesDirect (short version. Your KVM host cannot see its guest machines on the network)

A nice overview of MacVTap (without boring details about not doing what you would expect):

http://virt.kernelnewbies.org/MacVTap

Work is being done (or at least it is planned) to make MacVTap work the way you would expect it to. Maybe it will be in Fedora 17. But until then, I suggest you just stick with regular bridged networking.

edit flag offensive delete link more
0

answered 2012-03-07 22:49:12 +0000

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.

So can someone post the configuration about how to get bridging working with macvtap using manual configuration?

I am trying to get two VM's on the host to communicate when using macvtap, but no success.

thx/a

edit flag offensive delete link more
0

answered 2011-11-29 10:00:33 +0000

ritz gravatar image

NetworkMananger does not support bridging, at the moment. You would have to configure this by hand, or use virt-manager to configure the bridge interface.

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.

Stats

Asked: 2011-11-29 01:03:29 +0000

Seen: 8,979 times

Last updated: Mar 07 '12