First, please forgive my lame markdown skills.
Running Bionic Beaver:
host:~# lsb_release -a
Distributor ID: Ubuntu
Description: Ubuntu 18.04.2 LTS
Can't seem to figure out the best way to make sure my veth devices automatically "link up" after reboot.
My use case for the veth: I use them for attaching local network bridges to containers. I do this because attaching docker macvlan directly to the bridge inhibits communication between the containers and their host.
Now that that is out of the way:
I've tried putting:
ip link set veth1a up
ip link set veth5a up
in /etc/rc.local I had to create new and add execute permissions, but did nothing upon reboot.
I have the interfaces listed in netplan, but this only successfully brings up the bridge side of the veth e.g veth1b:
I also have some systemd configs to create the veths in the first place, but I don't know how to tell systemd to "admin up" the veth1a and veth5a. This is what I need help with.
host:~# cat /etc/systemd/network/25-veth-*