Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: pdf layout

...

Please note: at the time of writing, this feature is not yet available for nftables.

Div
classpagebreak


Supplemental Information: MACVTAP Interfaces (version 3.0.9 and later)

...

Basic configuration of a MACVTAP interface on the Linux host system:

Activate the NIC that is dedicated to the emulator:

# ip link set <nic-name> up

Remove IPv4 and IPv6 addresses from the NIC:

# ip addr flush <nic-name>

# ip -6 addr flush <nic-name>

Create a MACVTAP interface linked to the host NIC:

# ip link add link <nic-name> name <macvtap0> type macvtap mode passthru

Configure the correct MTU on the new interface:

# ip link set dev macvtap0 mtu 1500

Activate the new interface:

# ip link set macvtap0 up

Set the correct permissions on the underlying TAP interface:

# chown ${USER} /dev/tap`cat /sys/class/net/macvtap0/ifindex`


Basic emulator configuration using a MACVTAP interface:

...