Generally, when you open a copy- vm-linux by vmware-player,the default net connect interface changed to ethX(X>0,eth1,eth2...).
So you cannot change the ip of OS permanently ,here is the solution,https://www.banym.de/linux/centos/change-network-device-name-from-eth1-back-to-eth0
当使用VMware Player打开Linux虚拟机时,默认网络连接接口可能会更改为ethX(如eth1, eth2等),这导致无法永久更改操作系统内的IP地址。本文提供了一种解决方案来将网络设备名称从ethX改回eth0。
1181

被折叠的 条评论
为什么被折叠?



