我总是使用ifcfg-eth0:1别名文件来创建其他地址.但是,在
recent rhel documentation,它指出:
As the ip command of the iproute package now supports assigning multiple address to the same interface it is no longer necessary to use this method of binding multiple addresses to the same interface.
此外,本网站上的许多答案和评论都提到ifconfig已被弃用,而且应该使用“ip”.我很好地使用它进行实时更改,但是如何在不使用别名文件的情况下在重新启动后保留更改?
@H_404_8@