コンテンツにスキップ

「Macvtap」の版間の差分

提供: ArchWiki
削除された内容 追加された内容
英語版より新規作成
 
翻訳
 
5行目: 5行目:
{{Related articles end}}
{{Related articles end}}


macvtap デバイスは、[[ネットワークブリッジ]]と同様のネットワーキングを可能にする新しいデバイスドライバーで、設定プロセスが非常にシンプルです。これは仮想化に最も役立ちます。ほとんどの用途において、ネットワークブリッジと比較して唯一の欠点は、ホストがこのネットワーク経由でゲストと通信できないことです。
A macvtap device is a newer device driver that enables [[Network bridge]]-like networking, but with a much simpler set up process. This is most useful for virtualization. For most purposes, the only disadvantage compared to a network bridge is that the host will not be able to communicate with the guests via this network.


== Setting up a macvtap network ==
== macvtap ネットワークの設定 ==


以下のコマンドで、{{ic|eth0}} にブリッジされた macvtap インターフェイス {{ic|macvtap0}} を作成します:
Create a macvtap interface {{ic|macvtap0}} that is bridged to {{ic|eth0}} with these commands:


# ip link add link eth0 name macvtap0 type macvtap
# ip link add link eth0 name macvtap0 type macvtap
# ip link set macvtap0 up
# ip link set macvtap0 up


== See also ==
== 参照 ==


* [https://virt.kernelnewbies.org/MacVTap Linux Virtualization Wiki entry on macvtap]
* [https://virt.kernelnewbies.org/MacVTap Linux 仮想化 Wiki における macvtap のエントリ]

2023年9月6日 (水) 18:50時点における最新版

macvtap デバイスは、ネットワークブリッジと同様のネットワーキングを可能にする新しいデバイスドライバーで、設定プロセスが非常にシンプルです。これは仮想化に最も役立ちます。ほとんどの用途において、ネットワークブリッジと比較して唯一の欠点は、ホストがこのネットワーク経由でゲストと通信できないことです。

macvtap ネットワークの設定

以下のコマンドで、eth0 にブリッジされた macvtap インターフェイス macvtap0 を作成します:

# ip link add link eth0 name macvtap0 type macvtap
# ip link set macvtap0 up

参照