앎/linux
[Ubuntu] Set static address
후니아부지
2017. 5. 28. 23:51
이더넷 인터페이스 확인
$ ifconfig
or
$ ip link
수정
$ sudo vi /etc/network/interfaces
auto 인터페이스네임
iface 인터페이스네임 inet static
address xxx.xxx.xxx.xxx
netmask xxx.xxx.xxx.xxx
gateway xxx.xxx.xxx.xxx
dns-nameservers xxx.xxx.xxx.xxx
적용
다음으로 네트워크를 재시작한다.
$ systemctl restart networking.service
안바뀌면.... 리부팅해....