Subject: Re: dialup server (pppd)
To: Miles Nordin <carton@Ivy.NET>
From: Chan Yiu Wah <c5666305@hkstar.com>
List: current-users
Date: 02/21/2000 15:41:18
On Thu, 17 Feb 2000, Miles Nordin wrote:
> On Fri, 18 Feb 2000, Chan Yiu Wah wrote:
>
> > Feb 18 11:33:08 pc77 pppd[451]: Peer is not authorized to use remote address 192.168.200.159
> > ------- /var/log/messages -------
> >
> > ------- /etc/ppp/options.tty00 ------
> > 192.168.200.77:192.168.200.159
> > nodefaultroute
> > noauth
> > ------- /etc/ppp/options.tty00 ------
>
> According to the docs, noauth should take care of the problem I'm about to
> solve in a more complicated way, but maybe the simple way is broken. I
> know the default for this stuff changed recently. from pppd(8):
> .
> .
> .
> /etc/ppp/pap-secrets
> #chap:
> # client server secret allowed IP's
> #pap, applicant:
> # user remotename secret
> #pap, supplicant:
> # user our (host)name secret allowed IP's
> #
> "" * "" *
Thanks for your help. The pppd connection is ok now. The content of the
option.tty00 is
ppp * password * (or host) in
However, I have some problem in setting the routes for the two networks.
One of has the IP 202.66.33.0/24 and the other has the IP 202.66.50.0/24.
They are connected in pppd mode through telephone.
cloud
|
LAN A | ne0, 202.66.33.17
+-----+-----+
| `` pppd ''|
| ``server''| ROUTER-A
+-----+-----+
| ppp0, 192.168.33.17
+-----+-----+
| modem |
+-----------+
||
|| telephone
||
+-----+-----+
| modem |
+-----------+
| ppp0, 192.168.33.11
+-----+-----+
| `` pppd ''|
| ``client''| ROUTER-B
+-----+-----+
LAN B | tlp0, 202.66.50.11
Here are the routing tables of the routers (server & client).
LAN A (202.66.33.0) users can access the ROUTER-A and ROUTER-B, but cannot
access the user in LAN-B (e.g. ping 202.66.50.105). The vice versa as the
user in LAN B.
If I login at LAN-A and tried to get file from ROUTER-B, there is message
'ppp_deflated exceed mru (1508 > 1504)' appeared on the console of ROUTER-A.
What am I missing ? Can anyone help ? Thanks.
Clarence
========== pppd server =======
Routing tables
Internet:
Destination Gateway Flags Refs Use Mtu Interface
127.0.0.1 127.0.0.1 UH 0 199 32976 lo0
192.168.33.11 192.168.33.17 UH 1 9 1500 ppp0
202.66.33 link#1 UC 0 0 1500 ep0
202.66.33.1 08:00:09:2f:9d:bd UHL 0 5 1500 ep0
202.66.33.77 link#1 UHL 2 90 1500 ep0
202.66.33.105 00:20:af:9d:83:1e UHL 1 29 1500 ep0
202.66.33.255 link#1 UHL 1 55 1500 ep0
202.66.50 192.168.33.11 UGS 0 2 1500 ppp0
========== pppd server =======
======= pppd client =======
Routing tables
Internet:
Destination Gateway Flags Refs Use Mtu Interface
127.0.0.1 127.0.0.1 UH 0 109 32976 lo0
192.168.33.17 192.168.33.11 UH 1 2 1500 ppp0
202.66.33 192.168.33.17 UGS 0 30 1500 ppp0
202.66.50 link#1 UC 0 0 1500 ne1
======= pppd client =======
>
> --
> Miles Nordin / v:+1 720 841-8308 fax:+1 530 579-8680
> 555 Bryant Street PMB 182 / Palo Alto, CA 94301-1700 / US
>