글 수 369
vi /etc/sysconfig/network-scripts/ifcfg-enp0s0
<인터페이스 명으로 접근>
TYPE=Ethernet
BOOTPROTO=none
DEFROUTE=yes
PEERDNS=yes
PEERROUTES=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_PEERDNS=yes
IPV6_PEERROUTES=yes
IPV6_FAILURE_FATAL=no
NAME=enp0s3
UUID=dde5170f-d84f-436d-8768-28d50ff079ee
DEVICE=enp0s3
ONBOOT=yes
IPADDR0=192.168.0.200
PREFIX0=24
GATEWAY0=192.168.0.1
DNS1=168.126.63.1
HWADDR=08:00:27:51:58:9A
DNS2=168.126.63.2