# 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
'System > Linux' 카테고리의 다른 글
linux - dns cache flush (0) | 2014.09.30 |
---|---|
linux - Install EPEL Repo (0) | 2014.09.19 |
linux - bootproto static vs none (1) | 2014.09.18 |
linux - difference between adduser and useradd (0) | 2014.09.18 |
linux - hostname Upper Or Lowercase ? (0) | 2014.09.18 |