PPP pro pripojeni MS

Josef Jursa jjursa at ibp.cz
Thu Sep 2 15:00:41 CEST 2004


On Wed, Sep 01, 2004 at 05:24:20PM +0200, Dan Lukes wrote:
>
>	A pak je tu jeste zretelny druhy problem, ktery soucasti otazky
>nebyl - klient se se svym serverem neni schopen a ochoten dohodnout na tom,
>jakou bude mit adresu. Tady je to s odhadem, kde je chyba, slozitejsi -
>osobne bych to tipoval na chybnou konfiguraci serveru, ktery pro tohoto
>klienta uz nema zadnou IP adresu, kterou by smel pouzit a kterou by mu tedy
>k pouziti nabidnul.
>
>						Dan

Diky za navedeni, uz se spoji, ale jeste je problem s prirazenim 
adres/routovanim:

do routovacich tabulek prida
a.b.c.c1     a.b.c.s     UH          0        0   tun0
a.b.c.c1     00:50:04:01:54:03  UHLS2       0        0    xl0

ifconfig rika:
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=1<RXCSUM>
        inet a.b.c.slan netmask 0xfffffe00 broadcast a.b.d.255
        ether 00:50:04:01:54:03
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet 127.0.0.1 netmask 0xff000000 
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1498
        inet a.b.c.s --> a.b.c.c1 netmask 0xffffffff 
        Opened by PID 700

ppp.conf:

default:
 set log Phase Chat LCP IPCP CCP tun command
 ident user-ppp VERSION (built COMPILATIONDATE)

 set device /dev/cuaa0
 set speed 115200

 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
           \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
 set timeout 180                        # 3 minute idle timer (the default)

 enable chap81 chap pap

chap:
 set device /dev/cuaa1
 enable chap81 chap
 enable proxy
 allow users testppp
 set login

 set ifaddr a.b.c.s a.b.c.c1-a.b.c.c2

V /etc/rc.conf je:  gateway_enable="YES"

Z Win clienta a.b.c.c1 se na a.b.c.s dopingnu, ale dale ne. Z a.b.c.s na a.b.c.c1 nepinga.

Kde delam chybu?

JJ



More information about the Users-l mailing list