[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_IP # ExecStart=/bin/brctl ##FIXME: some sane examples for brctl, and check path of binary. # 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. Environment="qemu_IP=10.0.0.1/24" # Environment="foo_IP=10.0.1.1/24"