[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Macvtap devices?
From: |
Dongli Zhang |
Subject: |
Re: Macvtap devices? |
Date: |
Sun, 4 Sep 2022 17:16:01 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 |
I suggest you figure out the diff between different devices by reading some
online docs, e.g., the below doc.
https://developers.redhat.com/blog/2018/10/22/introduction-to-linux-interfaces-for-virtual-networking
Here is how I setup a software-only environment to play with macvtap device.
https://github.com/finallyjustice/sample/blob/master/kvm/macvtap.txt
Dongli Zhang
On 9/2/22 4:17 PM, X Tec wrote:
> I have used the -netdev tap,[...] options before, though almost exclusively
> for bridged networking.
>
> I understand this setup uses tap (or tun/tap?) virtual devices for the
> virtual machines.
>
> But, what are "macvtap" devices really?
> I saw the term while reading some libvirt docs for comparison purposes; they
> particularly seem to favor these devices...
> But even after internet searching I was not able to understand them.
>
> So, if someone could help,
> What are they, or what's their difference with "normal" tap devices commonly
> used in QEMU?
> Are macvtap devices supported in QEMU? How can one use them?
>
> Thanks beforehand.
>