6 버전 이후로 네트워크 설정파일 부분이 약간 변경이 되었더군요.

나도 이것 때문에 한참 해 맸습니다. Eth0è auto_eth0으로 변경되었더군요.

그리고 네트워크 관리자라는 데몬 관리자가 존재하는데 이게 아마 x-windows

네트워크 관리자부분하고 연관이 있더군요. 제가 이걸 정지시키고 보니

x-windows의 네트워크 모니터 표시가 사라지더군요. 정확한 이유는 저도 모르겠더군요.

[root@localhostBunny~]# ifconfig –a è 네트워크 정보 출력

[root@localhostBunny~]# system-config-network è 메뉴방식의 네트워크 설정도구

[root@localhostBunny~]# vi /etc/sysconfig/network-scripts/ifcfg-Auto_eth0

WADDR=00:1E:90:Ex:xx:xx

TYPE=Ethernet

BOOTPROTO=none

IPADDR=192.168.10.6

PREFIX=24

GATEWAY=192.168.10.1

DNS1=192.168.10.1

DEFROUTE=yes

IPV4_FAILURE_FATAL=yes

IPV6INIT=no

NAME="Auto eth0"

UUID=dc95e005-645c-4a2c-a708-52f1d707ce7e

ONBOOT=yes

LAST_CONNECT=1347439015

DEVICE=Auto_eth0

USERCTL=no

[root@localhostBunny~]# vi /etc/sysconfig/network

NETWORKING=yes

NETWORKING_IPV6=no

### 호스트 네임을 설정 ####

HOSTNAME=xxxxxxxxx.pe.kr

[root@localhostBunny~]# vi /etc/hosts

127.0.0.1 localhost.localdomain localhost

::1 localhost6.localdomain6 localhost6

192.168.10.6 xxxxxxxxx.pe.kr xxxxxxxxx

192.168.10.6 bunny.xxxxxxxxx.pe.kr bunny

192.168.10.6 www.xxxxxxxxx.pe.kr www

[root@localhostBunny~]# vi /etc/resolv.conf

# Generated by NetworkManager

#### 해당 도메인 서버 주소 설정

domain xxxxxxxxx.pe.kr

#### 검색할 도메인 네임 주소 설정

search xxxxxxxxx.pe.kr

#### 찾아갈 네임서버 IP 설정

### 공유기 사용시 실재 IP가 네임서버가 됨

nameserver 211.238.xxx.xxxx

### 공유기 내부 네임서버 IP 설정

nameserver 192.168.10.1

### 현재 사용중인 내부 서버 IP 설정

nameserver 192.168.10.6

#### 공유기가 사용하는 보조 네임서버 주소 설정

nameserver 164.124.101.2

네트워크 관리 데몬을 사용하지 않는다. 별로 필요하지 않다.

[root@nsBunny/shellroot]# service NetworkManager stop

네트워크 관리자 데몬 종료 중: [ OK ]

[root@nsBunny/shellroot]# chkconfig NetworkManager off

è 부팅시 NetworkManager 실행되지 않도록 설정

[root@nsBunny/shellroot]# chkconfig network on

è 부팅시 network 실행되도록 설정

[root@localhostBunny~]# service network restart

loopback 인터페이스 종료 중: [ OK ]

loopback 인터페이스 활성화중 입니다: [ OK ]

Auto_eth0 인터페이스 활성화중 입니다: 활성화된 연결 상태: 활성화됨

활성화된 연결 경로: /org/freedesktop/NetworkManager/ActiveConnection/7 [ OK ]

핑을 날려서 네트워크 응답확인

[root@nsBunny~]# ping -c 3 bunny.xxxxxxxxx.pe.kr è 3번 테스트해서 출력하라는 옵션입니다.

From ns.xxxxxxxxx.pe.kr (192.168.10.6) icmp_seq=1 Destination Host Prohibited

[root@nsBunny~]# ping -c 3 ns.xxxxxxxxx.pe.kr

From ns.xxxxxxxxx.pe.kr (192.168.10.6) icmp_seq=1 Destination Host Prohibited

[root@nsBunny~]# ping -c 3 linuxstudy.pe.kr

64 bytes from 114.108.177.241: icmp_seq=2 ttl=59 time=3.04 ms

+ Recent posts