Create Network Profile Name = endoflinux
Create Network Interface Name = enp0s3
Network Type = ethernet
부가적인 명령어 대한 설명은 없습니다.
포스팅 목차
create a new NetworkManager connection profile
Profile과 Interface 이름 지정 및 type ethernet 생성
$ sudo nmcli connection add con-name [Profilename] ifname enp0s3 type ethernet

connection 설정한 profile, ifname이 정상적으로 나오는지 확인
$ nmcli -p con show
$ nmcli -p con show endoflinux

Set the IPv4 address
사용하시는 IP 대역에 맞춰서 IPv4 설정을 해주시면 됩니다.
$ sudo nmcli connection modify [profilename] ipv4.addresses [ip]/[subnet]

IPv4 connection method to manual
연결방법 수동 설정
$ sudo nmcli connection modify [Profilename] ipv4.method manual

Set the IPv4 default gateways
해당 서버의 게이트웨이 주소를 찾아주시면 됩니다.
ip route 명령어 등 사용
$ ip route
$ route -n
$ nmcli device show [interface]

$ sudo nmcli connection modify [Profilename] ipv4.gateway [GW Address]

Set the IPv4 DNS server addresses

Activate the connection profile
$ nmcli connection up [profilename]