Make a copy from the physical interface startup config file:
cp /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/sysconfig/network-scripts/ifcfg-eth0:0
Modify the /etc/sysconfig/network-scripts/ifcfg-eth0:0
DEVICE=eth0
BOOTPROTO=static
HWADDR=00:53:52:A2:43:43
IPADDR=192.168.100.30
NETMASK=255.255.255.0
ONBOOT=yes
TYPE=Ethernet
MACADDR=00:53:52:A2:43:43
Finaly, do a :
# ifup eth0:0











0 comentarios:
Post a Comment