linux 设立IP

linux 设置IPDEVICEeth0HWADDR00:0C:29:3A:97:84NM_CONTROLLEDyesONBOOTyesBOOTPROTOstatic

linux 设置IP
DEVICE="eth0"
HWADDR="00:0C:29:3A:97:84"
NM_CONTROLLED="yes"
ONBOOT="yes"
BOOTPROTO="static"
IPADDR=192.168.0.125
NETMASK=255.255.255.0
GATEWAY=192.168.0.1