[SOLVED] step-by-step ppp
Alex Papadopoulos
alex at picturebooks.gr
Sat Jun 1 10:34:01 EEST 2002
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Friday 31 May 2002 06:44, Steve Stavropoulos wrote:
> On Fri, 31 May 2002, Alex Papadopoulos wrote:
> > > > Edw kai arketo kairo kanw prospa8eies na kanw dialup se ena
> > > > ISDN modem pou exoume sth douleia. To problhma einai oti enw
> > > > fainomenika syndeomai kai pairnw IP (remote kai local gia to
> > > > ppp0), den yparxei IP connectivity. Telnet/ping/traceroute den
> > > > paizoun.
> > >
> > > route -n
> > >
> > > Kata 99.9% aplws den exeis pei sto ppp sou na kanei default
> > > route thn kainourgia sou syndesh.
> >
> > dystyxws to exw pei me to option defaultroute sto /etc/ppp/options
> >
> > Idou kai to output tou route -n prin kai meta to dialup:
> >
> > [root at helios alex]# /sbin/route -n
> > Kernel IP routing table
> > Destination Gateway Genmask Flags Metric Ref Use Iface
> > 192.168.1.1 0.0.0.0 255.255.255.255 UH 0 0 0
> > ppp0 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0
> > 0 eth0 127.0.0.0 0.0.0.0 255.0.0.0 U 0
> > 0 0 lo 0.0.0.0 192.168.1.1 0.0.0.0 UG 0
> > 0 0 eth0
>
> Den fainetai swsto ayto! Ta paketa pros ton Gateway sou
> (192.168.1.1) anti na staloun apo to i/f ppp0 stelnontai apo to eth0.
>
> kane del to teleytaio entry sto routing table sou kai dwse to e3hs:
>
> route add default gw 192.168.1.1 ppp0
> (to pppd ekane to "route add default gw 192.168.1.1" xwris na balei
> to ppp0 apo pisw mias kai ayto mpainei apo mono tou bash twn
> ypoloipwn entry sto routing table sou. To giati den mphke swsta
> parakatw...)
>
> Pi8anotata etsi 8a doulepsei, alla to diktio sou exei ena POLY
> sobaro la8os (kai ayto einai kai h aitia pou bghke eth0 ekei anti gia
> ppp0). Exeis ena local network eth0 192.168.1.0/24 kai mia ppp
> syndesh me peer IP to 192.168.1.1 to opoio omws EINAI MEROS tou eth0
> sou. Opote apo th mia gia na ftasei ena packet sto 192.168.1.1 mporei
> na paei apo to ppp0 kai apo thn allh mporei na paei kai apo to eth0!
> H lysh loipon einai na baleis to eth0 na einai sto 192.168.0.0/24
> kai na afhseis ta ypoloipa opws einai.
*POLY* swstos. Salata ta'xa kanei. H lysh htan na allaksw network sto
eth0 (se 192.168.0.0), na pros8esw ena gateway gia ayto to network mesa
apo thn eth0, kai na afhsw ton pppd na kanei assign to default gateway
sthn ekastote PPP diey8ynsh mou.
Etsi syndeomai swsta kai ston ISP mou kai sth douleia.
Eyxaristw poly Steve!
- -A
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iEYEARECAAYFAjz4dywACgkQC4sJPgbYoTrEoQCfZyrt8ZcZndga/3YH7gQkQpbb
BOQAn15e8aB9D46S4JFmv7Lr/ZnjU3DP
=ydXQ
-----END PGP SIGNATURE-----
More information about the Linux-greek-users
mailing list