System/Linux
linux - centos static ip config
linuxism
2014. 9. 19. 00:06
# vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=none
ONBOOT=yes
IPADDR=172.27.0.100
PREFIX=16
GATEWAY=172.27.0.1
DNS1=168.126.63.1
DNS2=168.126.63.2
# service network restart