我运行的是 Debian 9.13。我试图检查auto eth1和allow-hotplug eth1之间有什么区别/etc/network/interfaces。我有eth1通过连接的网络接口USB。我尝试重新启动、运行systemctl restart networking和插入/拔出,似乎allow-hotplug和之间的主要区别auto在于,如果接口标记为auto,则命令在未连接systemctl restart networking时失败。eth1这得出的结论allow-hotplug实际上在所有情况下都是更可取的,除了我知道接口不会消失的情况(瞧,内置接口)。
这是对的吗?还有其他区别吗?