centos下添加多个IP地址的方法

操作如下,登陆SSH:

第二个IP,就是

第三个IP,就是
ifcfg-eth0:2(由此类推)

如果IP是连续的,可以使用下面的方法。

保存文件然后重启网络服务立即生效

centos add IP addresses

2 Comments

Add a Comment

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

猫言猫语 © 2007-2014 Frontier Theme