- sudo vi /etc/network/interfaces
- 해당 파일을 수정한다.
- address '본인이 원하는 ip'
iface eth0 inet static
나머지는 원하는데로~
- 저장 후 sudo /etc/init.d/networking restart
'Computer Science > Linux' 카테고리의 다른 글
centos install screen (0) | 2015.02.23 |
---|---|
우분투 명령어들 (0) | 2015.02.19 |
centos7 minimal setup (0) | 2015.02.18 |
우분투 vi 설정 (0) | 2015.02.16 |
linux 방화벽 포트 열기 (0) | 2013.10.27 |