CentOS 7 기준


cp /etc/sysconfig/network-scripts/ifcfg-eth0{,:1}

vi /etc/sysconfig/network-scripts/ifcfg-eth0:1

   DEVICE=eth0:1

   IPADDR=10.178.5.230

   #나머진 그대로.


ifup eth0:1



vi /etc/sysconfig/network-scripts/ifcfg-eth1:1

DEVICE=eth1:1

BOOTPROTO=static

ONBOOT=yes

IPADDR=169.56.124.190

NETMASK=255.255.255.255


ifup eth1:1


+ Recent posts