netplan中无法为动态接口添加路由

netplan中无法为动态接口添加路由

Content #

netplan中配置路由时,不能使用dev关键词。动态生成的接口,如tun0,在配置路由时无法指定。netplan是自动决定使用哪个网络接口的,一般会是系统启动后看到的接口。

From #