[pptp-server] "proxyarp" or " route"

Zhu Xiaofeng xfzhu at seu.edu.cn
Thu Dec 7 20:05:06 CST 2000


I don't know how to set up route .
So I send u my log and "netstat" result .

PPTP Client is Win2000 with LAN IP 202.119.24.82 .
PPTP Server is Turbo Linux 6.0 with LAN IP 202.119.24.198
Default Route is 202.119.24.1

"log message"

Dec  8 10:07:25 linux pppd[5531]: Using interface ppp0
Dec  8 10:07:25 linux pppd[5531]: Connect: ppp0 <--> /dev/pts/2
Dec  8 10:07:27 linux pptpd[5530]: CTRL: Ignored a SET LINK INFO packet with
rea
l ACCMs!
Dec  8 10:07:27 linux kernel: PPP BSD Compression module registered
Dec  8 10:07:27 linux kernel: PPP Deflate Compression module registered
Dec  8 10:07:27 linux pppd[5531]: CHAP peer authentication succeeded for
billy
Dec  8 10:07:27 linux pppd[5531]: found interface eth0 for proxy arp
Dec  8 10:07:27 linux pppd[5531]: local  IP address 202.119.24.220
Dec  8 10:07:27 linux pppd[5531]: remote IP address 202.119.24.230


"netstat -rn"

Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt
Iface
202.119.24.230  0.0.0.0         255.255.255.255 UH        0 0          0
ppp0
202.119.24.0    0.0.0.0         255.255.255.0   U         0 0          0
eth0
0.0.0.0         202.119.24.1    0.0.0.0         UG        0 0          0
eth0

Only PPTP server can ping 202.119.24.230 .
Why another computer can't access 202.119.24.230(PPTP remote IP address)  ?
If u had set up PPTP before ,would u mind sent ur configuration to me ?

Thank u.

----- Original Message -----
From: "George Vieira" <georgev at citadelcomputer.com.au>
To: "'Zhu Xiaofeng'" <xfzhu at seu.edu.cn>
Sent: Thursday, December 07, 2000 5:44 PM
Subject: RE: [pptp-server] "proxyarp" or " route"


> I don't think your route would be added automatically unless you specify
> defaultroute in pppd options which is a no no when you are already on
> internet..
>
> do a `netstat -rn` and get the list of the routes when connected..
>
> should add like this when connected
>
> route add -net x.x.x.o/24 gw x.x.x.221
>
> -----Original Message-----
> From: Zhu Xiaofeng [mailto:xfzhu at seu.edu.cn]
> Sent: Thursday, December 07, 2000 6:36 PM
> To: George Vieira
> Subject: Re: [pptp-server] "proxyarp" or " route"
>
>
> All address are in same LAN .
> Should I add route ?
> I can access PPTP server's real address x.x.x.198 through VPN. I think
> route table is added automaticly.
>
> Thank u.
>
> ----- Original Message -----
> From: "George Vieira" <georgev at citadelcomputer.com.au>
> To: "'Zhu Xiaofeng'" <xfzhu at seu.edu.cn>
> Sent: Thursday, December 07, 2000 11:25 AM
> Subject: RE: [pptp-server] "proxyarp" or " route"
>
>
> > did you add the routes for the VPN lan???
> >
> > -----Original Message-----
> > From: Zhu Xiaofeng [mailto:xfzhu at seu.edu.cn]
> > Sent: Thursday, December 07, 2000 2:18 PM
> > To: pptp-server at lists.schulte.org
> > Cc: George Vieira
> > Subject: Re: [pptp-server] "proxyarp" or " route"
> >
> >
> > Hi:
> >    Thank u for help.
> >    I know "proxyarp" run on the server side(PPTPD) .  I had thought  it
> was
> > PPP client side
> > IP address (in PPTP say remote IP ) should be proxyarp-ed  out by PPTP
> > server .But actually
> > the local IP address was proxyarp-ed out. So another computer on Lan
can't
> > get an arp reply of
> > PPTP remote IP address .
> >
> > Dec  7 10:22:43 linux pptpd[4869]: CTRL: Client x.x.x.82 control
> connection
> > started
> > Dec  7 10:22:43 linux pptpd[4869]: CTRL: Starting call (launching pppd,
> > openingGRE)
> > Dec  7 10:22:43 linux modprobe: modprobe: Can't locate module
> char-major-108
> > Dec  7 10:22:43 linux kernel: CSLIP: code copyright 1989 Regents of the
> > University of California
> > Dec  7 10:22:43 linux kernel: PPP: version 2.3.7 (demand dialling)
> > Dec  7 10:22:43 linux kernel: PPP line discipline registered.
> > Dec  7 10:22:43 linux kernel: registered device ppp0
> > Dec  7 10:22:43 linux pptpd[4869]: GRE: Discarding duplicate packet
> > Dec  7 10:22:43 linux pppd[4870]: pppd 2.3.10 started by root, uid 0
> > Dec  7 10:22:43 linux pppd[4870]: Using interface ppp0
> > Dec  7 10:22:43 linux pppd[4870]: Connect: ppp0 <--> /dev/pts/2
> > Dec  7 10:22:45 linux pptpd[4869]: CTRL: Ignored a SET LINK INFO packet
> with
> > real ACCMs!
> > Dec  7 10:22:46 linux kernel: PPP BSD Compression module registered
> > Dec  7 10:22:46 linux kernel: PPP Deflate Compression module registered
> > Dec  7 10:22:46 linux pppd[4870]: CHAP peer authentication succeeded for
> > billy
> > Dec  7 10:22:46 linux pppd[4870]: found interface eth0 for proxy arp
> > Dec  7 10:22:46 linux pppd[4870]: local  IP address x.x.x.221
> > Dec  7 10:22:46 linux pppd[4870]: remote IP address x.x.x.231
> >
> > So ping x.x.x.221 is accessable from x.x.x.99
> > ping x.x.x.231 is not accessable form x.x.x.99
> >
> >
> > ----- Original Message -----
> > From: "George Vieira" <georgev at citadelcomputer.com.au>
> > To: "'Zhu Xiaofeng'" <xfzhu at seu.edu.cn>
> > Cc: "PPTP List (E-mail)" <pptp-server at lists.schulte.org>
> > Sent: Wednesday, December 06, 2000 5:00 PM
> > Subject: RE: [pptp-server] "proxyarp" or " route"
> >
> >
> > > proxyarp should be running on the server side (PPTPD).
> > > Can the (x.x.x.1) client ping x.x.x.2 OK as well as x.x.x.3 . Or does
it
> > > ping only the .2 server?
> > >
> > > Your logs should also mention about proxyarp attaching to the ETH0/1/2
> > > device. eg.
> > > <var_log_messages>
> > > "Dec  4 06:43:27 linuxdev pppd[24131]: found interface eth0 for proxy
> arp"
> > > </var_log_messages>
> > >
> > > This means that proxy arp is using the local ETH0 device to listen for
> > > requests to x.x.x.1
> > >
> > > Can you sent us some logs on the server side.
> > >
> > > -----Original Message-----
> > > From: Zhu Xiaofeng [mailto:xfzhu at seu.edu.cn]
> > > Sent: Wednesday, December 06, 2000 6:02 PM
> > > To: George Vieira
> > > Cc: PPTP List (E-mail)
> > > Subject: Re: [pptp-server] "proxyarp" or " route"
> > >
> > >
> > > My question is :
> > > When PPTP client connect to PPTP(PoPToP) server , it set up a ppp
> > connection
> > > between Server and Client . And Client get an IP for PPP client side
> > > and Server get an IP for PPP server side .
> > > Is it the PPP client side IP address "proxyarp"
> > > or the PPP server side IP address "proxyarp"?
> > >
> > >             Client <-------PPP OVER PPTP--------> SERVER
> > >             x.x.x.1                                x.x.x.2
> > > Though on x.x.x.3 ping x.x.x.1 and x.x.x.2:
> > > x.x.x.1 is not accessable
> > > x.x.x.2 is accessable.
> > >
> > > But when I use Microsoft PPTP server , the result is   on the
contrary.
> > >
> > > I use sniffer to watch  IP data .It didn't seem that ARP reply  was
sent
> > out
> > > as what I had thought by PoPToP SERVER .
> > >
> > > ----- Original Message -----
> > > From: "George Vieira" <georgev at citadelcomputer.com.au>
> > > To: "'Zhu Xiaofeng'" <xfzhu at seu.edu.cn>
> > > Cc: "PPTP List (E-mail)" <pptp-server at lists.schulte.org>
> > > Sent: Tuesday, December 05, 2000 11:43 AM
> > > Subject: RE: [pptp-server] "proxyarp" or " route"
> > >
> > >
> > > > I think you need IP forwarding (Not IP masquerading) turned on..
> > > >
> > > > Have your got any IPCHAINS rules turned on which might be killing
it?
> > > > Can you use tcpdump to determine where the pings are going?
> > > >
> > > >
> > > > -----Original Message-----
> > > > From: Zhu Xiaofeng [mailto:xfzhu at seu.edu.cn]
> > > > Sent: Tuesday, December 05, 2000 1:55 PM
> > > > To: pptp-server at lists.schulte.org
> > > > Subject: [pptp-server] "proxyarp" or " route"
> > > >
> > > >
> > > > Hi everyone:
> > > >
> > > >    I setup PoPToP 1.0.0 on my Turbo linux 6.0 . My network
> configuration
> > > is
> > > > following:
> > > >
> > > >          PoPToP server          cisco router
> > > >           x.x.24.198   <-------->  x.x.24.1 <----> real Internet
> > > >               |
> > > >               |
> > > >               |
> > > >          win2000
> > > >          x.x.24.99
> > > >
> > > > /etc/ppp/options
> > > >
> > > > debug
> > > > name linux
> > > > auth
> > > > require-chap
> > > > proxyarp
> > > >
> > > > /etc/pptpd.conf
> > > >
> > > > option /etc/ppp/options
> > > > debug
> > > > speed 115200
> > > > localip x.x.24.220-229
> > > > remoteip x.x.24.230-239
> > > >
> > > >  My idea is to let x.x.24.99 dial on x.x.24.198 via PPTP to access
> real
> > > > Internet.
> > > > All address are real IP addresses.I don't think it need NAT or IP
> MASQE
> > > .Is
> > > > it OK?
> > > > Should I do more configration on x.x.24.198 ?
> > > >
> > > >   When I dial up from x.x.24.99 to  x.x.24.198 ,win2000 get PPP
client
> > > > address x.x.24.230 and PPP
> > > > server address is x.x.24.220 . Ping x.x.24.230 is not accessable but
> > > > x.x.24.220 is accessable from other
> > > > computer x.x.24.200 .I don't know much about "proxyarp",but I think
it
> > is
> > > > x.x.24.230 that can be accessable.
> > > > Why?
> > > >
> > > >
> > > > xfzhu.
> > > >
> > > >
> > > > _______________________________________________
> > > > pptp-server maillist  -  pptp-server at lists.schulte.org
> > > > http://lists.schulte.org/mailman/listinfo/pptp-server
> > > > List services provided by www.schulteconsulting.com!
> > > > _______________________________________________
> > > > pptp-server maillist  -  pptp-server at lists.schulte.org
> > > > http://lists.schulte.org/mailman/listinfo/pptp-server
> > > > List services provided by www.schulteconsulting.com!
> > > >
> > > _______________________________________________
> > > pptp-server maillist  -  pptp-server at lists.schulte.org
> > > http://lists.schulte.org/mailman/listinfo/pptp-server
> > > List services provided by www.schulteconsulting.com!
> > >
> >
>




More information about the pptp-server mailing list