>> Read No. 2870 article  
[질문] MASQ 안되염!!

등록 2000-08-16 21:36:00     조회 2
이름 은영    

		리눅스-윈도 에서 MASQ 는 간단히 해결 되는데요..
 리눅스-리눅스 에서 MASQ 가 안되네염..
 워낙 기초지식이 없는지라.. 그냥 하는방법 외워서 하는정도입니다..
 지금 내부 핑은 됩니다.. 그런데 ipchains 걸어주고 외부핑이 안됩니다.
 서버는 내부:192.168.1.1 외부:ADSL(유동ip)
 인터페이스는 lo , eth0(ADSL 접속용) eth1(192.168.1.1) ppp0(ADSL 접속)
 인터넷 접속은 되구요 윈도 연결해서 ipchains 하면 잘되구요..
 리눅스 연결하면 안됩니다..
 리눅스 클라이언트는 인터페이스가 lo , eth0(192.168.1.2) 입니다.
 ipv4 forwarding 체크하구요 디폴트 게이트웨이 192.168.1.1 로 하고
 디폴트 디바이스 eth0 으로 하구요
 클라이언트 에서 이렇습니다...
 [root@linux /root]# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
linux.client    *               255.255.255.255 UH    0      0        0 eth0
192.168.1.0     *               255.255.255.0   U     0      0        0 eth0
127.0.0.0       *               255.0.0.0       U     0      0        0 lo
default         192.168.1.1     0.0.0.0         UG    0      0        0 eth0
 [root@linux /root]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:01:02:5E:CE:DC 
          inet addr:192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
	 RX packets:3 errors:0 dropped:0 overruns:0 frame:0
	 TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
	 collisions:0 txqueuelen:100
	 Interrupt:9 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: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@linux /root]# ping www.kornet.net PING www.kornet.net (211.48.62.77) from 192.168.1.2 : 56(84) bytes of data.
  --- www.kornet.net ping statistics ---
51 packets transmitted, 0 packets received, 100% packet loss
 응답없습니다..
 [root@linux /root]# ping -c 4 192.168.1.1
PING 192.168.1.1 (192.168.1.1) from 192.168.1.2 : 56(84) bytes of data.
64 bytes from 192.168.1.1: icmp_seq=0 ttl=255 time=0.7 ms
64 bytes from 192.168.1.1: icmp_seq=1 ttl=255 time=0.6 ms
64 bytes from 192.168.1.1: icmp_seq=2 ttl=255 time=0.6 ms
64 bytes from 192.168.1.1: icmp_seq=3 ttl=255 time=0.6 ms
 --- 192.168.1.1 ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 0.6/0.6/0.7 ms
 내부핑은 잘됩니다..
 [root@linux /root]# telnet chollian.net
Trying 210.120.251.50...
[root@linux /root]# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.2     *               255.255.255.255 UH    0      0        0 eth0
192.168.1.0     *               255.255.255.0   U     0      0        0 eth0
127.0.0.0       *               255.0.0.0       U     0      0        0 lo
default         192.168.1.1     0.0.0.0         UG    0      0        0 eth0
[root@linux /root]#
 이정도구요..
 왜 안되는지 모르겠습니다...
 제발좀 도와주세요!!
이름
암호


>> 관련글
2870 [질문] MASQ 안되염!!  은영  2000.08.16  ....
  답장 RE: [질문] MASQ 안되염!!  조준기  2000.08.16  ....
Register [ localhost 목록보기 윗글 아랫글
글쓰기
답장쓰기 수정 삭제
정규표현식 [ 상세 검색 ]
페이지로딩: [ 2.80 초 ] 작업시간: [ 2.2 초 ]

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: 1789843195
System by WYZsoft, HDD by I.O.Linux, Mizi Research, Embryo, WOWLINUX, Domain by SarangNet, Network by KrLine.