내용 |
CentOS를 설치 후 부팅하게 되면 eth0 인터페이스가 자동으로 활성되지 않는다.
eth0 인터페이스가 활성화되지 않는다면 인터넷이 안 된다.
1. 일반적인 활성화 방법
[root@localhost ~]# ifup eth0
2. 비활성화
[root@localhost ~]# ifdown eth0
3. 부팅시 자동으로 활성화
[root@localhost ~]# vi /etc/sysconfig/network-scripts/ifcfg-eth0
ONBOOT=no 부분을 ONBOOT=yes 로 수정
4. 네트워크 서비스 재시작
[root@localhost ~]# service network restart |