vi /etc/sysconfig/network-scripts/ifcfg-ens192
BOOTPROTO=static //수동ip 설정 or BOOTPROTO="dhcp"
ONBOOT=yes //부팅시 적용
IPADDR =x.x.x.x
PREFIX = 24
GATEWAY = x.x.x.x
DNS1= 168.126.63.1
nmcli device status
nmcli device show
nmcli conn reload
ifdown ens192
ifup ens192
system restart network
system restart networkManager.service
systemctl status NeworkManager.service
'linux' 카테고리의 다른 글
centos - ssh에서 root접속 제한 (0) | 2020.11.25 |
---|---|
linux - 기본 (0) | 2020.11.25 |
redhat - vlans with native vlan setting in linux (0) | 2020.11.24 |
centos 8 - ssh 포트 변경 (0) | 2020.11.24 |
linux - 성능 모니터링 (0) | 2020.11.24 |