cat /etc/sysconfig/network-scripts/ifcfg-enp2s0 // ifcfg-enp2s0 파일이름은 환경에 따라 다름
-------------------------------------------
TYPE="Ethernet"
BOOTPROTO="static" //수정
DEFROUTE="yes"
PEERDNS="yes"
PEERROUTES="yes"
IPV4_FAILURE_FATAL="yes"
IPV6INIT="yes"
IPV6_AUTOCONF="yes"
IPV6_DEFROUTE="yes"
IPV6_PEERDNS="yes"
IPV6_PEERROUTES="yes"
IPV6_FAILURE_FATAL="no"
IPV6_ADDR_GEN_MODE="stable-privacy"
NAME="enp0s25"
UUID="e35bf976-492b-4fc1-93de-8d88e7052b33c"
DEVICE="enp0s25"
ONBOOT="yes"
// 추가
IPADDR="180.131.1.56"
PREFIX="27"
GATEWAY="181.131.1.11"
DNS1="168.126.63.1"
---------------------------------