기 타 네트워킹 설정 하기
2011.12.19 12:50
네트워킹 설정이 어떤 파일에 저장되는지 알고 싶습니다.
[root@jhkim /root]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:90:27:36:03:D6
inet addr:210.53.249.49 Bcast:210.53.249.127 Mask:255.255.255.128
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:16742 errors:0 dropped:0 overruns:0 frame:0
TX packets:2050 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
Interrupt:10 Base address:0x7000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:3924 Metric:1
RX packets:14 errors:0 dropped:0 overruns:0 frame:0
TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
[root@jhkim /root]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
jhkim.wowlinux. * 255.255.255.255 UH 0 0 0 eth0
210.53.249.0 * 255.255.255.128 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 210.53.249.1 0.0.0.0 UG 0 0 0 eth0
위의 모든 설정은 다음의 파일에 모두 저장이 되어 있습니다.
#cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
210.53.249.49 jhkim.wowlinux.com jhkim
#cat /etc/HOSTNAME
jhkim.wowlinux.com
#cat /etc/conf.modules
alias eth0 ne <- NE1000/2000 호환모듈
option ne io=0x220 irq=10 <- 이더넷 카드의 IO포트와 IRQ 설정
#cat /etc/sysconfig/network
NETWORKING=yes
FORWARD_IPV4=false
HOSTNAME=jhkim.wowlinux.com
DOMAINNAME=wowlinux.com
GATEWAY=210.53.249.1
GATEWAYDEV=eth0
#cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=static
BROADCAST=210.53.249.127
IPADDR=210.53.249.49
NETMASK=255.255.255.128
NETWORK=210.53.249.0
ONBOOT=yes
#cat /etc/resolv.conf
search wowlinux.com
nameserver 168.126.63.1 (코넷 DNS)
#cat /etc/sysconfig/pcmcia : 노트북의 PCMCIA의 경우 별도의 이더넷카드 모듈을 올리지 않는다.
PCMCIA=yes
PCIC=i82365
PCIC_OPTS=
CORE_OPTS=
댓글 [1]
-
개뿔 2011.12.22 14:48
번호 | 제목 | 글쓴이 | 조회 | 추천 | 등록일 |
---|---|---|---|---|---|
[공지] | 강좌 작성간 참고해주세요 | gooddew | - | - | - |
324 | 기 타| DNS server 강좌 모음 | gooddew | 5264 | 0 | 12-19 |
323 | 기 타| 부팅시 X 윈도우로 바로 실행되게 하기 | gooddew | 6424 | 0 | 12-19 |
322 | 기 타| 방화벽 강좌 모음 | gooddew | 5685 | 0 | 12-19 |
321 | 기 타| linux_FAQ | gooddew | 5129 | 0 | 12-19 |
320 | 기 타| linux_ppp | gooddew | 5151 | 0 | 12-19 |
319 | 기 타| 리눅스 보안 점검 | gooddew | 5322 | 0 | 12-19 |
318 | 기 타| RedHat기반-여러개의 이더넷카드 인식 및 네트웍 인터페이... | gooddew | 5394 | 0 | 12-19 |
317 | 기 타| Scanning tool nmap 사용하자 | gooddew | 6450 | 0 | 12-19 |
316 | 기 타| 센드메일 가이드 | gooddew | 5233 | 0 | 12-19 |
315 | 기 타| squid를 설정하기 | gooddew | 6524 | 0 | 12-19 |
314 | 기 타| tcp_wrapper 설정 | gooddew | 6276 | 0 | 12-19 |
313 | 기 타| 패킷 헤더(header)를 출력하는 tcpdump | gooddew | 7380 | 0 | 12-19 |
312 | 기 타| Hard Drive 빠르게 만들기 | gooddew | 5960 | 0 | 12-19 |
311 | 기 타| rm 명령어로 삭제한 파일/폴더 복구하기 [1] | gooddew | 7910 | 0 | 12-19 |
310 | 기 타| 네임서버 강좌 ver 0.2 | gooddew | 5532 | 0 | 12-19 |
» | 기 타| 네트워킹 설정 하기 [1] | gooddew | 5819 | 0 | 12-19 |
308 | 기 타| 부팅시 출력되는 메시지가 너무 빨리 지나가 볼수가 없때 [2] | gooddew | 6561 | 0 | 12-19 |
307 | 기 타| rdate 명령 활용법 | gooddew | 5773 | 0 | 12-19 |
306 | 기 타| 서버가 커있는 시간 확인하기 [2] | gooddew | 6320 | 0 | 12-19 |
305 | 기 타| 리눅스 특수화일명 삭제방법 [3] | gooddew | 6329 | 0 | 12-19 |
좋은강좌들 고맙습니다.