IFCFG-MACVTAP(5)

πŸ“¦ version 0.6.80, in opensuse-leap 16.0

πŸ’… IFCFG-MACVTAP(5) β€” Network configuration, but make it macvtap

okay so bestie, this is the manual page for ifcfg-macvtap, section 5 of the network configuration docs ✨ it's all about macvtap interface configuration, and honestly? it's giving "short but mighty." let's get into it 🫢


✨ NAME ✨

ifcfg-macvtap β€” MACVTAP interface configuration, no cap πŸ’–


✨ SYNOPSIS ✨

/etc/sysconfig/network/ifcfg-*

that's the whole vibe β€” these are the config files it reads πŸŽ€


πŸ¦‹ MACVTAPs πŸ¦‹

so to set up a macvtap interface you need a configuration file, and that file has to contain at least the mandatory:

  • MACVTAP_DEVICE β€” the variable holding the real interface that's used for the macvtap virtual interface πŸ‘‘

that's the bare minimum, fr. but the file may also contain the optional:

  • MACVTAP_MODE β€” this variable can be set to one of the following supported modes: "private", "vepa", "bridge" and "pass-through/passthru". the default mode is "vepa" ⭐

you can also use the:

  • MACVTAP_FLAG β€” variable to set the "nopromisc" flag. by default, this flag is not set πŸ™ˆ
also important: an ifcfg- file for the interface specified by MACVTAP_DEVICE must also be provided. in the most basic case, it should at least contain STARTMODE='auto' πŸ’€ don't skip this one bestie.

and for use as an interface that is passed to a virtualized guest, manual configurations of IP and route for the macvtap device on the host are not needed 🧚 see also man ifcfg and man routes for details ✨


🌸 EXAMPLES 🌸

this one sets up a macvtap0 macvtap interface on top of eth0, iconic:

ifcfg-macvtap0
   STARTMODE='auto'
   MACVTAP_DEVICE='eth0'

Copyright (C) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. periodt πŸ’…


πŸ’€ BUGS πŸ’€

found a bug? please report bugs as described at <https://bugs.opensuse.org> β€” they wanna hear it 🫢


πŸ‘‘ AUTHORS πŸ‘‘

  • Marius Tomaschewski
  • Karol Mroz

the main characters who wrote this, we stan 🌈


πŸ’œ SEE ALSO πŸ’œ

routes(5), ifcfg(5), wicked(8) β€” go read these next, iykyk πŸ”₯


and that's the whole page, bestie! brought to you by wicked, April 2014 edition β€” yeah she's a lil vintage but she still slays πŸ’–βœ¨πŸ¦‹πŸŒΈπŸ’…

πŸ“¦ where this page comes from