기 타 네트워킹 설정 하기
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 | - | - | - |
1321 | 기 타| 서버가 커있는 시간 확인하기 [2] | gooddew | 6314 | 0 | 12-19 |
1320 | 기 타| rdate 명령 활용법 | gooddew | 5767 | 0 | 12-19 |
1319 | 기 타| 부팅시 출력되는 메시지가 너무 빨리 지나가 볼수가 없때 [2] | gooddew | 6553 | 0 | 12-19 |
1318 | 기 타| 부팅시 X 윈도우로 바로 실행되게 하기 | gooddew | 6412 | 0 | 12-19 |
» | 기 타| 네트워킹 설정 하기 [1] | gooddew | 5811 | 0 | 12-19 |
1316 | 기 타| 네임서버 강좌 ver 0.2 | gooddew | 5526 | 0 | 12-19 |
1315 | 기 타| rm 명령어로 삭제한 파일/폴더 복구하기 [1] | gooddew | 7900 | 0 | 12-19 |
1314 | 기 타| 패킷 헤더(header)를 출력하는 tcpdump | gooddew | 7370 | 0 | 12-19 |
1313 | 기 타| tcp_wrapper 설정 | gooddew | 6254 | 0 | 12-19 |
1312 | 기 타| squid를 설정하기 | gooddew | 6518 | 0 | 12-19 |
1311 | 기 타| 센드메일 가이드 | gooddew | 5228 | 0 | 12-19 |
1310 | 기 타| Scanning tool nmap 사용하자 | gooddew | 6443 | 0 | 12-19 |
1309 | 기 타| RedHat기반-여러개의 이더넷카드 인식 및 네트웍 인터페이... | gooddew | 5390 | 0 | 12-19 |
1308 | 기 타| 리눅스 보안 점검 | gooddew | 5321 | 0 | 12-19 |
1307 | 기 타| linux_ppp | gooddew | 5144 | 0 | 12-19 |
1306 | 기 타| linux_FAQ | gooddew | 5121 | 0 | 12-19 |
1305 | 기 타| linux_ansi 코드 사용법 [1] | gooddew | 5791 | 0 | 12-19 |
1304 | 기 타| 방화벽 강좌 모음 | gooddew | 5676 | 0 | 12-19 |
1303 | 기 타| Hard Drive 빠르게 만들기 | gooddew | 5946 | 0 | 12-19 |
1302 | 기 타| GRUB 설정하기 | gooddew | 6285 | 1 | 12-19 |
좋은강좌들 고맙습니다.