linux ile L-L ppp

Tevfik Uret (tevfik@ogu.edu.tr)
Sat, 01 Feb 1997 18:43:34 -0500


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 ?
+--------------------------------->
! Tevfik Uret
! SysOp of OGU
! Tel : (work)(90-222) 239 5282 / 15 - 17
! tevfik@ogu.edu.tr
! tevfik@turkiye.net
+--------------------------------->