root@Fedora:~# cat /etc/sysconfig/network-scripts/ifcfg-eth0 # Intel Corporation 82540EM Gigabit Ethernet ControllerDEVICE=eth0#BOOTPROTO=dhcpHWADDR=08:00:27:5f:5c:31ONBOOT=yesDHCP_HOSTNAME=localhost.localdomain#NM_CONTROLLED=# add by linkscue, for static ip addrBOOTPROTO=staticNM_CONTROLLED=yesIPADDR=192.168.1.110NETMASK=255.255.255.0GATEWAY=192.168.1.1# add by linkscue, end
/etc/init.d/network restart