Re: [LINUX:2289] linux ile L-L ppp

Baris Cenberci (Baris.Cenberci@raksnet.com.tr)
Fri, 02 May 1997 20:04:24 +0300


Tevfik Uret wrote:
>
> selam,
> asagidaki ayarlari b gozden gecirirmisiniz ?
>
> rc.inet1 e eklenen satirlar;
>
> /usr/sbin/pppd /dev/cua1 115200 defaultroute crtscts local passive
> 193.140.129.1:193.140.141.1 netmask 255.255.255.0
>
> /sbin/route add -host 193.140.141.1 ppp0
> /sbin/route add default gw 193.140.141.1 metric 1
>
> ve routing sonuclari ile ifconfig;
>
> ~#route
> Kernel routing table
> Destination Gateway Genmask
> Flags MSS Window Use Iface
> 193.140.141.1 * 255.255.255.255 UH
> 1500 0 ppp0
> 193.140.129.0 * 255.255.255.0 UH
> 1500 0 eth0
> loopback * 255.0.0.0
> UH 3584 0 lo
> default 193.140.141.1 *
> UH 1500 0 ppp0
> ~#ifconfig
> lo Link encap:Local Loopback
> inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0
> UP BROADCAST LOOPBACK RUNNING MTU:3584 Metric:1
> RX packets:12 errors:0 dropped:0 overruns:0
> TX packets:12 errors:0 dropped:0 overruns:0
>
> eth0 Link encap:10Mbps Ethernet HWaddr 00:20:18:2C:41:48
> inet addr:193.140.129.1 Bcast:193.140.129.255 Mask:255.255.255.0
> UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
> RX packets:635 errors:0 dropped:0 overruns:0
> TX packets:8 errors:0 dropped:0 overruns:0
> Interrupt:10 Base address:0x6100
>
> ppp0 Link encap:Point-Point Protocol
> inet addr:193.140.129.1 P-t-P:193.140.141.1 Mask:255.255.255.252
> UP POINTOPOINT RUNNING MTU:1500 Metric:1
> RX packets:1077 errors:0 dropped:0 overruns:0
> TX packets:939 errors:0 dropped:0 overruns:0
>
> ~#
>
> yukaridaki konfigurasyonu iceren
> Linux Gateway makinasi yannizca
> kendisi internet i goruyor,
> ne kadar bencilce b durum :(
> bunlarin arkasina ethernet tarafindan
> bagladigimiz makina 129.1 i gordugu halde
> internet i gorememiyor,
> bir routing hatasi oldugu suphesiz
> ama ben goremedim, yardim eder misiniz ?
> +---------------------------------?
>
Cok basit bir kontrol ama, ayni zamanda cok sIk yapilan bir hata oldugu
icin tekrar belirtmeyi uygun gordum...

1. Kernel'i routing enable halde bir daha derleyip install ettiniz mi?
2. routed caisiyor mu?
(3.) Karsidaki router'in konfigurasyonu tamam mi? Yani sizin LAN'a gelen
paketleri linux'a gonderiyor mu?

Iyi calismalar...

-- 
B.C.
=={:{)*
e-mail= Baris.Cenberci@raksnet.com.tr