흔히 리눅스를 사용할 때에 네트워크 설정변경 후에는 network 서비스를 재시작하게 된다.
아래와 같이
sudo service networking restart
(centos 의 경우는 service network restart)
하지만 어째서인지 최신버젼인 우분투 14.04에서는 이 명령어가 먹히지 않는다.
그럴때에는 아래 명령어를 사용하면 된다.
ifdown --exclude=lo -a && ifup --exclude=lo -a
(root로 접속한 경우)
만약 root계정이 아니라면
sudo ifdown --exclude=lo -a && sudo ifup --exclude=lo -a
'시스템(리눅스)' 카테고리의 다른 글
CentOS5 php 업그레이드 (0) | 2015.01.21 |
---|---|
우분투 가상 NIC 설정 (0) | 2015.01.15 |
CentOS virt-manager 설치방법 (0) | 2014.08.13 |
xming (0) | 2014.08.13 |
CentOS 최소설치된 환경에서 x-window 설치하기 (0) | 2014.08.13 |