Save ip link macvlan interfaces after reboot

Add this to /etc/config/network:

config device 'veth0'
	option name 'veth0'
	option type 'macvlan'
	option ifname 'eth0'

config device 'veth1'
	option name 'veth1'
	option type 'macvlan'
	option ifname 'eth0'

And run /etc/init.d/network reload or reboot.

3 Likes