From owner-freebsd-net Fri Mar 1 11:20:50 2002 Delivered-To: freebsd-net@freebsd.org Received: from rwcrmhc53.attbi.com (rwcrmhc53.attbi.com [204.127.198.39]) by hub.freebsd.org (Postfix) with ESMTP id 9CBD337B41E; Fri, 1 Mar 2002 11:20:27 -0800 (PST) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc53.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020301192027.ESFY2951.rwcrmhc53.attbi.com@InterJet.elischer.org>; Fri, 1 Mar 2002 19:20:27 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id LAA12493; Fri, 1 Mar 2002 11:16:18 -0800 (PST) Date: Fri, 1 Mar 2002 11:16:15 -0800 (PST) From: Julian Elischer To: Ryan Morris Cc: freebsd-net@freebsd.org, freebsd-questions@freebsd.org Subject: Re: Multiple connections to MPD-netgraph as PPTP server In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, 1 Mar 2002, Ryan Morris wrote: > Hello everyone, > > I recently (successfully) configured MPD-netgraph as a pptp server on my > FreeBSD machine. It works great... for one user. When I change my > configuration to support multiple PPTP bundles/links I get the following > error when starting mpd: > > bsd# mpd > Multi-link PPP for FreeBSD, by Archie L. Cobbs. > Based on iij-ppp, by Toshiharu OHNO. > mpd: pid 518, version 3.7 (root@bsd.imagineering.ca 16:39 28-Feb-2002) > [pptpbundle0] ppp node is "mpd518-pptpbund" > mpd: local IP address for PPTP is 192.168.0.253 > [pptpbundle0] using interface ng0 > [pptpbundle1] can't name ppp node: Address already in use > [pptpbundle1] netgraph initialization failed > > I have varied the IP address assignments in my configuration files, and > examples on the web have duplicated IP addresses between bundles without > causing this problem. > > Does this make reference to the ppp node name (mpd518-pptpbund)? And if > so, how do I change what the ppp node name will be? > > Best regards, > > Ryan Morris > > > Here are my configuration files: > --- > mpd.conf: > Hi I rewrote this ruleset .. look better? :-) > default: > load pptp0 > load pptp1 > > pptp0: > new -i ng0 pptpbundle0 pptplink0 > set ipcp ranges 192.168.0.253/32 192.168.0.128/29 > load pptp_standard > pptp1: > new -i ng1 pptpbundle1 pptplink1 > set ipcp ranges 192.168.0.252/32 192.168.0.128/29 > load pptp_standard compare this to mine: pptp1: new -i ng0 pptp1 pptp1 set ipcp ranges 208.206.78.1/32 208.206.78.4/32 load pptp_standard pptp2: new -i ng1 pptp2 pptp2 set ipcp ranges 208.206.78.1/32 208.206.78.5/32 load pptp_standard the local end should stay the same. change the far end only > > pptp_standard: > set iface disable on-demand > set iface enable proxy-arp > set iface idle 1800 > set bundle disable multilink > set link yes acfcomp protocomp > set link no pap chap > set link enable chap > set link keep-alive 10 60 > set ipcp yes vjcomp > set ipcp dns 192.168.0.1 > set ipcp nbns 192.168.0.253 > #Enable Microsoft Point-to-Point Encryption: > set bundle enable compression > set ccp yes mppc > set ccp no mpp-e40 > set ccp yes mpp-e128 > set ccp no mpp-stateless > > # END > > --- > mpd.links: > > pptplink0: > set link type pptp > set pptp self 192.168.0.253 > set pptp enable incoming > set pptp disable originate > > pptplink1: > set link type pptp > set pptp self 192.168.0.253 > set pptp enable incoming > set pptp disable originate > > #END > > --- > "Some mornings, it's just not worth chewing through the leather straps." > - Emo Philips > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message