Study/Ubuntu
CentOS - eth0 자동 활성화 시키기
theqoo
2013. 2. 23. 01:45
CentOS를 설치 후 부팅하게 되면 eth0 인터페이스가 자동으로 활성되지 않는다.
eth0 인터페이스가 활성화되지 않는다면 인터넷이 안 된다.
1. 일반적인 활성화 방법
[root@localhost ~]# ifup eth0
비활성화
[root@localhost ~]# ifdown eth0
2. 부팅시 자동으로 활성화
[root@localhost ~]# vi /etc/sysconfig/network-scripts/ifcfg-eth0
ONBOOT=no 부분을 ONBOOT=yes 로 수정
[root@localhost ~]# service network restart