本文共 210 字,大约阅读时间需要 1 分钟。
今天使用nmcli指令修改ip时,发现使用之前的方法修改eth0可行,修改eth1显示 unknow connect ‘eth1’的问题。
后来发现eth1做了bond,因此将eth1和两个网卡在root目录下作了备份,重新添加eth1和两个网卡,然后将两个网卡绑定到了eth1上,形成主从模式,修改eth1的ip。修改之后,要重新reload以下,修改地址生效。若还是不生效,将eth1端口ifdown,ifup一下。转载地址:http://mubdi.baihongyu.com/