Date: Mon, 14 Oct 2002 01:59:58 -0700 From: "Leonard Chung" <leonardc@cs.berkeley.edu> To: <freebsd-net@freebsd.org> Subject: MPD PPTP tunneling intermittantly fails Message-ID: <AEEMJFAIHDPJNCAKCHHBIEHDCHAA.leonardc@cs.berkeley.edu> In-Reply-To: <20021012182849.X24791-100000@chung.yikes.com>
next in thread | previous in thread | raw e-mail | index | archive | help
I'm trying to get MPD working reliably, but I've been having strange problems with it. I've gone through the mailing list archives, Google, and even copied Julian's MPD config files that he posted on the mailing list a while back with no success. The problem that I'm having is that MPD starts properly and I can successfully connect to the service using Windows clients. However, when I ping internal hosts, the first five or so work fine, and then beyond that packets start getting lost, with a loss rate of around 50%. These tests are run over a local network with two subnets, so packet loss shouldn't be a problem. So although I can currently connect and create a tunnel, it isn't very useful as beyond any initial DNS queries, file transfers, etc. fail completely. Also, is there any way to get DHCP to work with MPD rather than hard wire IPs directly into MPD's config files? I'm guessing this is probably just something easy that I'm missing. My config files and an MPD trace are below. Thanks, Leonard multipptp: load client1 load client2 load client3 load client4 client1: new -i ng0 pptp1 pptp1 set ipcp ranges 10.0.0.1/32 10.0.2.1/24 load client_standard client2: new -i ng1 pptp2 pptp2 set ipcp ranges 10.0.0.1/32 10.0.2.2/24 load client_standard client3: new -i ng2 pptp3 pptp3 set ipcp ranges 10.0.0.1/32 10.0.2.3/24 load client_standard client4: new -i ng3 pptp4 pptp4 set ipcp ranges 10.0.0.1/32 10.0.2.4/24 load client_standard client_standard: set iface disable on-demand set iface enable proxy-arp set iface idle 0 #set iface idle 1800 set bundle enable multilink set link yes acfcomp protocomp set link no pap chap set link enable chap set link mtu 1460 set link keep-alive 10 60 set ipcp yes vjcomp set ipcp dns 10.0.0.1 set ipcp nbns 10.0.0.1 #set ipcp dns 192.168.1.3 #set ipcp nbns 192.168.1.4 set bundle enable compression set bundle yes crypt-reqd set ccp yes mppc #set ccp yes mpp-e40 set ccp no mpp-e40 set ccp yes mpp-e128 set ccp yes mpp-stateless set pptp enable always-ack # # For our PPTP server # pptp1: set link type pptp #set pptp self 65.184.72.125 set pptp self 192.168.0.1 #set pptp self 1.2.3.4 set pptp enable incoming set pptp disable originate pptp2: set link type pptp #set pptp self 65.184.72.125 set pptp self 192.168.0.1 #set pptp self 1.2.3.4 set pptp enable incoming set pptp disable originate pptp3: set link type pptp #set pptp self 65.184.72.125 set pptp self 192.168.0.1 #set pptp self 1.2.3.4 set pptp enable incoming set pptp disable originate pptp4: set link type pptp #set pptp self 65.184.72.125 set pptp self 192.168.0.1 #set pptp self 1.2.3.4 set pptp enable incoming set pptp disable originate test1 "<PW>" 10.0.2.1 feather "<PW>" 10.0.2.2 sylvia "<PW>" 10.0.2.3 chung# ifconfig fxp0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500 inet 10.0.0.1 netmask 0xff000000 broadcast 10.255.255.255 inet6 fe80::2a0:c9ff:fe03:b454%fxp0 prefixlen 64 scopeid 0x1 inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255 ether 00:a0:c9:03:b4:54 media: Ethernet autoselect (100baseTX <full-duplex>) status: active lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500 ed0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 inet 65.184.72.125 netmask 0xfffffffc broadcast 65.184.72.127 inet6 fe80::280:adff:fe73:ebfe%ed0 prefixlen 64 scopeid 0x3 ether 00:80:ad:73:eb:fe lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 inet 127.0.0.1 netmask 0xff000000 ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500 sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552 faith0: flags=8002<BROADCAST,MULTICAST> mtu 1500 chung# mpd Multi-link PPP for FreeBSD, by Archie L. Cobbs. Based on iij-ppp, by Toshiharu OHNO. mpd: pid 24745, version 3.9 (root@chung.yikes.com 20:13 11-Oct-2002) [pptp1] ppp node is "mpd24745-pptp1" mpd: local IP address for PPTP is 192.168.0.1 [pptp1] using interface ng0 [pptp2] ppp node is "mpd24745-pptp2" [pptp2] using interface ng1 [pptp3] ppp node is "mpd24745-pptp3" [pptp3] using interface ng2 [pptp4] ppp node is "mpd24745-pptp4" [pptp4] using interface ng3 [pptp4:pptp4] mpd: PPTP connection from 192.168.0.2:3068 pptp0: attached to connection with 192.168.0.2:3068 [pptp1] IFACE: Open event [pptp1] IPCP: Open event [pptp1] IPCP: state change Initial --> Starting [pptp1] IPCP: LayerStart [pptp1] IPCP: Open event [pptp1] bundle: OPEN event in state CLOSED [pptp1] opening link "pptp1"... [pptp1] link: OPEN event [pptp1] LCP: Open event [pptp1] LCP: state change Initial --> Starting [pptp1] LCP: LayerStart [pptp1] device: OPEN event in state DOWN [pptp1] attaching to peer's outgoing call [pptp1] device is now in state OPENING [pptp1] device: UP event in state OPENING [pptp1] device is now in state UP [pptp1] link: UP event [pptp1] link: origination is remote [pptp1] LCP: Up event [pptp1] LCP: state change Starting --> Req-Sent [pptp1] LCP: phase shift DEAD --> ESTABLISH [pptp1] LCP: SendConfigReq #1 ACFCOMP PROTOCOMP MRU 1500 MAGICNUM 2f3117ec AUTHPROTO CHAP MSOFTv2 MP MRRU 1600 MP SHORTSEQ ENDPOINTDISC [802.1] 00 a0 c9 03 b4 54 pptp0-0: ignoring SetLinkInfo [pptp1] LCP: rec'd Configure Request #0 link 0 (Req-Sent) MRU 1400 MAGICNUM 5aaa4632 PROTOCOMP ACFCOMP CALLBACK Not supported [pptp1] LCP: SendConfigRej #0 CALLBACK [pptp1] rec'd unknown ctrl message, cookie=942710669 cmd=4 [pptp1] LCP: rec'd Configure Request #1 link 0 (Req-Sent) MRU 1400 MAGICNUM 5aaa4632 PROTOCOMP ACFCOMP [pptp1] LCP: SendConfigAck #1 MRU 1400 MAGICNUM 5aaa4632 PROTOCOMP ACFCOMP [pptp1] LCP: state change Req-Sent --> Ack-Sent [pptp1] LCP: SendConfigReq #2 ACFCOMP PROTOCOMP MRU 1500 MAGICNUM 2f3117ec AUTHPROTO CHAP MSOFTv2 MP MRRU 1600 MP SHORTSEQ ENDPOINTDISC [802.1] 00 a0 c9 03 b4 54 [pptp1] LCP: rec'd Configure Reject #2 link 0 (Ack-Sent) MP MRRU 1600 MP SHORTSEQ ENDPOINTDISC [802.1] 00 a0 c9 03 b4 54 [pptp1] LCP: SendConfigReq #3 ACFCOMP PROTOCOMP MRU 1500 MAGICNUM 2f3117ec AUTHPROTO CHAP MSOFTv2 [pptp1] LCP: rec'd Configure Ack #3 link 0 (Ack-Sent) ACFCOMP PROTOCOMP MRU 1500 MAGICNUM 2f3117ec AUTHPROTO CHAP MSOFTv2 [pptp1] LCP: state change Ack-Sent --> Opened [pptp1] LCP: phase shift ESTABLISH --> AUTHENTICATE [pptp1] LCP: auth: peer wants nothing, I want CHAP [pptp1] CHAP: sending CHALLENGE [pptp1] LCP: LayerUp [pptp1] LCP: rec'd Ident #2 link 0 (Opened) MESG: MSRASV5.10 pptp0-0: ignoring SetLinkInfo [pptp1] LCP: rec'd Ident #3 link 0 (Opened) MESG: MSRAS-1-FEATHER [pptp1] CHAP: rec'd RESPONSE #1 Name: "feather" Peer name: "feather" Response is valid [pptp1] CHAP: sending SUCCESS [pptp1] LCP: authorization successful [pptp1] LCP: phase shift AUTHENTICATE --> NETWORK mpd: ioctl(SIOCSIFMTU): Invalid argument [pptp1] up: 1 link, total bandwidth 64000 bps [pptp1] IPCP: Up event [pptp1] IPCP: state change Starting --> Req-Sent [pptp1] IPCP: SendConfigReq #1 IPADDR 10.0.0.1 COMPPROTO VJCOMP, 16 comp. channels, no comp-cid [pptp1] CCP: Open event [pptp1] CCP: state change Initial --> Starting [pptp1] CCP: LayerStart [pptp1] CCP: Up event [pptp1] CCP: state change Starting --> Req-Sent [pptp1] CCP: SendConfigReq #1 MPPC 0x01000040: MPPE, 128 bit, stateless [pptp1] CCP: rec'd Configure Request #4 link 0 (Req-Sent) MPPC 0x010000e1: MPPC MPPE, 40 bit, 56 bit, 128 bit, stateless [pptp1] CCP: SendConfigNak #4 MPPC 0x01000040: MPPE, 128 bit, stateless [pptp1] IPCP: rec'd Configure Request #5 link 0 (Req-Sent) IPADDR 0.0.0.0 NAKing with 10.0.2.2 PRIDNS 0.0.0.0 NAKing with 10.0.0.1 PRINBNS 0.0.0.0 NAKing with 10.0.0.1 SECDNS 0.0.0.0 SECNBNS 0.0.0.0 [pptp1] IPCP: SendConfigRej #5 SECDNS 0.0.0.0 SECNBNS 0.0.0.0 [pptp1] IPCP: rec'd Configure Reject #1 link 0 (Req-Sent) COMPPROTO VJCOMP, 16 comp. channels, no comp-cid [pptp1] IPCP: SendConfigReq #2 IPADDR 10.0.0.1 [pptp1] CCP: rec'd Configure Ack #1 link 0 (Req-Sent) MPPC 0x01000040: MPPE, 128 bit, stateless [pptp1] CCP: state change Req-Sent --> Ack-Rcvd [pptp1] CCP: rec'd Configure Request #6 link 0 (Ack-Rcvd) MPPC 0x01000040: MPPE, 128 bit, stateless [pptp1] CCP: SendConfigAck #6 MPPC 0x01000040: MPPE, 128 bit, stateless [pptp1] CCP: state change Ack-Rcvd --> Opened [pptp1] CCP: LayerUp Compress using: MPPE, 128 bit, stateless Decompress using: MPPE, 128 bit, stateless mpd: ioctl(SIOCSIFMTU): Invalid argument [pptp1] IPCP: rec'd Configure Request #7 link 0 (Req-Sent) IPADDR 0.0.0.0 NAKing with 10.0.2.2 PRIDNS 0.0.0.0 NAKing with 10.0.0.1 PRINBNS 0.0.0.0 NAKing with 10.0.0.1 [pptp1] IPCP: SendConfigNak #7 IPADDR 10.0.2.2 PRIDNS 10.0.0.1 PRINBNS 10.0.0.1 [pptp1] IPCP: rec'd Configure Ack #2 link 0 (Req-Sent) IPADDR 10.0.0.1 [pptp1] IPCP: state change Req-Sent --> Ack-Rcvd [pptp1] IPCP: rec'd Configure Request #8 link 0 (Ack-Rcvd) IPADDR 10.0.2.2 10.0.2.2 is OK PRIDNS 10.0.0.1 PRINBNS 10.0.0.1 [pptp1] IPCP: SendConfigAck #8 IPADDR 10.0.2.2 PRIDNS 10.0.0.1 PRINBNS 10.0.0.1 [pptp1] IPCP: state change Ack-Rcvd --> Opened [pptp1] IPCP: LayerUp 10.0.0.1 -> 10.0.2.2 [pptp1] IFACE: Up event [pptp1] exec: /sbin/ifconfig ng0 10.0.0.1 10.0.2.2 netmask 0xffffffff -link0 [pptp1] exec: /usr/sbin/arp -s 10.0.2.2 0:a0:c9:3:b4:54 pub [pptp1] IFACE: Up event ^Cmpd: caught fatal signal int mpd: fatal error, exiting [pptp1] IPCP: Down event [pptp1] IPCP: state change Opened --> Starting [pptp1] IPCP: LayerDown [pptp1] IFACE: Down event [pptp1] exec: /usr/sbin/arp -d 10.0.2.2 [pptp1] exec: /sbin/ifconfig ng0 down delete -link0 [pptp1] IFACE: Close event [pptp1] IPCP: Close event [pptp1] IPCP: state change Starting --> Initial [pptp1] IPCP: LayerFinish [pptp2] IPCP: Down event [pptp2] IFACE: Close event [pptp3] IPCP: Down event [pptp3] IFACE: Close event [pptp4] IPCP: Down event [pptp4] IFACE: Close event mpd: process 24745 terminated To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AEEMJFAIHDPJNCAKCHHBIEHDCHAA.leonardc>