cd /etc/sysconfig/network-scripts
vim ifcfg-eth0
DEVICE=eth0
#BOOTPROTO=dhcp
BOOTPROTO=none
HWADDR=00:24:81:E1:17:64
IPADDR=192.168.0.3
NETMASK=255.255.255.0
USERCTL=no
PEERDNS=no
GATEWAY=192.168.0.1
ONBOOT=yes
TYPE=Ethernet
IPV6INIT=no
vim ifcfg-eth1
DEVICE=eth1
#BOOTPROTO=dhcp
BOOTPROTO=none
HWADDR=B4:99:BA:DE:E6:96
IPADDR=192.168.0.2
NETMASK=255.255.255.0
USERCTL=no
PEERDNS=no
GATEWAY=192.168.0.1
ONBOOT=yes
TYPE=Ethernet
IPV6INIT=no