6.设置开机启动 按照上面的设置方法,veth1、veth2在系统重启后是不会自动产生的,因此为了保证单线多拨功能一直有效,我们需要设置开机启动。 点“系统 – 启动项“进入开机启动设置界面,点”本地启动脚本“,在输入框的exit 0语句之前输入: ip link add link eth0 name veth1 type macvlan ifconfig veth1 up ip link add link eth0 name veth2 type macvlan ifconfig veth2 up