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 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 publish link more

Comments

That actually explains a lot of what I eventually managed to get semi-working. Thank you for this and hopefully in F17 it will be improved. It would be nice to use KVM instead of Virtualbox or VMware.

KevinA ( 2011-11-30 23:53:35 +0000 )edit
0

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

this post is marked as community wiki

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

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

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 publish 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 publish link more

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

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 to your questions.
  • 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: 7,057 times

Last updated: Mar 07 '12