안녕하세요
잠 못잡니다
제환경은 와우까치7.0이구요
리눅스박스에
eth0=192.168.10.5
eth1=192.168.10.6
윈98에는
ip=192.168.10.7
게이트웨이 설정=192.168.10.5
이주소로 안되어서 192.168.10.6도 추가해 봤구요
192.168.10.1도 추가해 봤어요
두컴은 크로스연결되어 있구요(크로스는 이상없구요,왜냐면
윈도에서 인터넷공유가 되는걸 봐서는....,그리고 윈도탐색기에
네트워크환경에서 두컴의 내용이 보여요)
이틀밤 잠 못잔 대가로 랜카드 두장은 잡혀구요
부팅시 [ok]메시지를 주더라구요
ifconfig하면 eth0, eth1, lo 모두 떠있구요
간신히 하나로에 떼써서 외장으로 바꿔서 이젠
되었구나 생각하고 있었어요
그런데 외부연결을 아직 못하고 있어요
왜냐하면 외부연결은 커녕 아직 내부연결조차
안되네요
내부연결은 기본적으로 되리라 믿었는데 뭐가
잘못되었는지.....
telnet은 커녕 ping이 안되니 참내......
좀 도와주세요
잠좀 편히 자게 해줘요
여기저기 돌아다니며 찍은 문서 모두 참조해도
답을 알 수가 없네요...
리눅에서 자체ping 및 윈도그에서 자체ping은 잘 되구요
내부연결을 위해 win98로 ping을 때리면 아래처럼 메시지가 나와요
#root> ping 192.168.10.7
Warning:no SO_TIMESTAMP support, falling back to SIOCGSTAMP
PING 192.168.10.7 (192.168.10.7) from 192.168.10.5 : 56(84) bytes of data.
From 192.168.10.5: Destination Host Unreachable
From 192.168.10.5: Destination Host Unreachable
From 192.168.10.5: Destination Host Unreachable
--- 192.168.10.7 ping statistics ---
10 packets transmitted, 0 packets received, +9 errors, 100% packet loss
그리고 윈98에서 리눅스로 ping을 때리면 아래처럼 메시지가 나와요
windows> ping 192.168.10.5(또는 192.168.10.6)
Request time out? <-- 정확히 기억이 안나네요...
Request time out
Request time out
============참고자료(리눅스박스 네트워크 설정관련 화일들)============
/etc/hosts.conf
order hosts, bind
multi on
/etc/hosts
127.0.0.1 localhost localhost.localdomain
192.168.10.5 www.linux.ac.kr www
192.168.10.6 http.linux.ac.kr http
192.168.10.3 ns.linux.ac.kr ns
192.168.10.7 test win98
/etc/resolve.conf
search linux.ac.kr
nameserver 192.168.10.3
/etc/modules.conf
alias eth0 rtl8139
alias eth1 ne2k-pci
alias parport_lowlevel parport_pc
alias usb-controller usb-uhci
/etc/sysconfig/network
NETWORKING=yes
HOSTNAME=www.linux.ac.kr
DOMAINNAME=linux.ac.kr
GATEWAY=192.168.10.1 <------제가 의심나는 부분이구요
GATEWAYDEVICE="eth0"
GATEWAYDEV=
/etc/sysconfig/network/static-routes
eth0 net 192.168.10.0 netmask 255.255.255.0 gw 192.168.10.1
/etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE="eth0"
BOOTPROTO="none"
ONBOOT="yes"
IPADDR="192.168.10.5"
NETMASK="255.255.255.0"
NETWORK=192.168.10.0
BROADCAST=192.168.10.255
/etc/sysconfig/network-scripts/ifcfg-eth1
DEVICE="eth1"
BOOTPROTO="none"
ONBOOT="yes"
IPADDR="192.168.10.6"
NETMASK="255.255.255.0"
NETWORK=192.168.10.0
BROADCAST=192.168.10.255
/etc/sysconfig/nsswitch.conf
#
# /etc/nsswitch.conf
#
# An example Name Service Switch config file. This file should be
# sorted with the most-used services at the beginning.
#
# The entry '[NOTFOUND=return]' means that the search for an
# entry should stop if the search in the previous entry turned
# up nothing. Note that if the search failed due to some other reason
# (like no NIS server responding) then the search continues with the
# next entry.
#
# Legal entries are:
#
# nisplus or nis+ Use NIS+ (NIS version 3)
# nis or yp Use NIS (NIS version 2), also called YP
# dns Use DNS (Domain Name Service)
# files Use the local files
# db Use the local database (.db) files
# compat Use NIS on compat mode
# hesiod Use Hesiod for user lookups
# [NOTFOUND=return] Stop searching if not found so far
#
# To use db, put the "db" in front of "files" for entries you want to be
# looked up first in the databases
#
# Example:
#passwd: db files nisplus nis
#shadow: db files nisplus nis
#group: db files nisplus nis
passwd: files nisplus nis
shadow: files nisplus nis
group: files nisplus nis
#hosts: db files nisplus nis dns
hosts: files nisplus nis dns
# Example - obey only what nisplus tells us...
#services: nisplus [NOTFOUND=return] files
#networks: nisplus [NOTFOUND=return] files
#protocols: nisplus [NOTFOUND=return] files
#rpc: nisplus [NOTFOUND=return] files
#ethers: nisplus [NOTFOUND=return] files
#netmasks: nisplus [NOTFOUND=return] files
bootparams: nisplus [NOTFOUND=return] files
ethers: files
netmasks: files
networks: files
protocols: files nisplus nis
rpc: files
services: files nisplus nis
netgroup: files nisplus nis
publickey: nisplus
automount: files nisplus nis
aliases: files nisplus