[Unit] # Some other units may require a fully configured tap interface before started. # Before=dnsmasq.service [Service] # Command to use to configure your tap interface. %i refers to the instance, and thus the device being configured. # It is allowed to have multiple ExecStart= entries, as long as they exit when done. (So no daemons!) ExecStart=/bin/ifconfig %i $%i_IFCONFIG_OPTS # ExecStart=/sbin/brctl addif br0 %i # If you want to specify a separete command for a certain instance, use /etc/systemd/system/vde-tap-config@.service.d/.config # Settings to use for your command. This sets an IP and a fixed MAC Address Environment="qemu_IFCONFIG_OPTS=10.0.0.1/24 hw ether 8e:8b:d4:fe:d9:b1 up"