>> Read No. 12436 article  
귀하의 고견을 부탁합니다

등록 2000-11-23 22:24:00     조회 1
이름 JyH    

		<pre>
IP MASQ 관련 질문입니다
-----------------------------
 Linux  1대 : MASQ 서버 (210.126.18.230 ; 10.200.1.1)
 Widows 2대 : MASQ 클라이언트(10.200.1.2, 10.200.1.3)
  Kernel : ver. 2.2.16
 ipchains : ver. 1.3.9-14
-----------------------------
테스트 결과입니다
  1. MASQ 클라이언트끼리는 ping이 된다
 2. MASQ 서버에서는 내부네트웤주소(10.200.1.1)로 ping이 된다
                    고유 IP(210.126.18.230)로 ping이 된다
 3. 내부네트웍과 라우팅이 되지 않는다
    즉, MASQ 클라이언트에서 MASQ 서버로 ping이 안된다(Request time out)
    물리적 연결에는 이상이 없음을 확인했다
 4. MASQ 클라이언트와 MASQ 서버의 고유 IP(210.126.18.230)와 ping 안된다
                      외부의 임의의 IP로 ping이 안된다
 5. /sbin/ifconfig => eth1의 Rx packet=0 (ping이 안되므로..)
    /sbin/route  => default Gateway(210.126.18.126)는 제대로 잡혀 있다
    cat /proc/sys/net/ipv4/ip_forward => 1
    /sbin/ipchains -L => 내용을 해석할 수 없으므로 후미에 기재
 6. 외부 호스트네임으로의 Telnet접속은
    MASQ 서버는 가능, 클라이언트는 불가
------------------------------------------
초보라서 Kernel comfile을 해보질 않았고,
Kernel과 ipchains의 버전이 높으므로 그것과는 다른 문제이지 않을까해서
이렇게 조언을 구합니다
------------------------------------------
참고 자료
 [root@geophysical /]# /sbin/ifconfig
eth0      Link encap:Ethernet  HWaddr 00:01:02:92:89:94
          inet addr:210.126.18.230  Bcast:210.126.18.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:6530 errors:0 dropped:0 overruns:0 frame:0
          TX packets:704 errors:0 dropped:0 overruns:0 carrier:0
          collisions:28 txqueuelen:100
          Interrupt:11 Base address:0xe800
 eth1      Link encap:Ethernet  HWaddr 00:01:02:90:CB:92
          inet addr:10.200.1.1  Bcast:10.200.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:6
          collisions:0 txqueuelen:100
          Interrupt:10 Base address:0xec00
 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:10 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
-----------------------------------------
[root@geophysical /]# /sbin/route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
210.126.18.0    *               255.255.255.0   U     0      0        0 eth0
10.200.1.0      *               255.255.255.0   U     0      0        0 eth1
127.0.0.0       *               255.0.0.0       U     0      0        0 lo
default         210.126.18.126  0.0.0.0         UG    0      0        0 eth0
 --------------------------------------------
/sbin/ipchains -L
Chain input (policy ACCEPT):
Chain forward (policy DENY):
target     prot opt     source                destination           ports
MASQ       all  ------  10.200.1.0/24        anywhere              n/a
Chain output (policy ACCEPT):
 -------------------------------------------------
[root@geophysical /]# more /etc/rc.d/rc.firewall
#
/sbin/depmod -a
/sbin/modprobe ip_masq_ftp
/sbin/modprobe ip_masq_raudio
/sbin/modprobe ip_masq_irc
/sbin/modprobe ip_masq_autofw
/sbin/modprobe ip_masq_quake
/sbin/modprobe ip_masq_cuseeme
/sbin/modprobe ip_masq_vdolive
echo "1" > /proc/sys/net/ipv4/ip_forward
#
# MASQ Timeout
/sbin/ipchains -M -S 7200 10 160
# Forwarding
/sbin/ipchains -P forward DENY
/sbin/ipchains -A forward -s 10.200.1.0/24 -j MASQ
#
-----------------------------------------------------
경험이 없다보니 두서없이 너무 많은 걸 올린건 않은지..
고견을 부탁합니다.--JyH
이름
암호


>> 관련글
12436 귀하의 고견을 부탁합니다  JyH  2000.11.23  ....
  답장 RE: 문제 해결.  JyH  2000.11.24  ....
Register [ localhost 목록보기 윗글 아랫글
글쓰기
답장쓰기 수정 삭제
정규표현식 [ 상세 검색 ]
페이지로딩: [ 1.03 초 ] 작업시간: [ 0.09 초 ]

Copyleft 1999-2026 by JSBoard Open Project
Theme Designed by IDOO All right reserved
[TOP]

적수네 동네
+
| 적수네 동네
| 공부방
| 리눅스 잡지 서고
| LSN 소스
| 링크 모음
+---+
게시판
+
| 떠들어보세!
| 질문과 답변
| 새소식과 정보
| 1원짜리 팁?
| 대화방
+---+
칼럼?
+
| 세하 훔쳐보기
| Welcome2nite
| 혜진의 염장판
+---+
리눅스 상표권
+
| 반대 서명란
| 토론 게시판
+---+
GNU
+
| GNU 선언문
| GNU GPL
| GNU 미러 목록
+---+
프로젝트?
+
| 리눅스카운터
| RC5DES
| 실질헌법 제작
+---+
커널 소식
+
| 안정 버젼: 2.4.14
+---+
테마 선택
+
LSN 방송국?
+
| OFF AIR
+---+
회원
+
| 로그인
+---+
[ 적수네 동네 ] [ 리눅스 상표권 독점 반대 ] [ 한글 리눅스 문서 프로젝트 ] [ KrLine ] [ 사랑넷 ] [ Valid HTML 4.0! ] [ SlashDot ] [ Freshmeat ]
Copyleft (C) 1998-2001 Byeong-Chan Kim . License
TIME: 1789707005
System by WYZsoft, HDD by I.O.Linux, Mizi Research, Embryo, WOWLINUX, Domain by SarangNet, Network by KrLine.