>> Edit article
이름
제목
패스워드
리눅스-윈도 에서 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]# 이정도구요.. 왜 안되는지 모르겠습니다... 제발좀 도와주세요!!
Copyleft
1999-2026 by
JSBoard Open Project
Theme Designed by
IDOO
All right reserved