From owner-freebsd-net Thu Apr 19 0:19:13 2001 Delivered-To: freebsd-net@freebsd.org Received: from spyder.bytecraft.au.com (bytecr1.lnk.telstra.net [139.130.142.13]) by hub.freebsd.org (Postfix) with ESMTP id D2D3237B424 for ; Thu, 19 Apr 2001 00:19:01 -0700 (PDT) (envelope-from root@bytecraft.au.com) Received: by spyder.bytecraft.au.com (Postfix, from userid 0) id 4D7BEBA27; Thu, 19 Apr 2001 17:19:00 +1000 (EST) To: freebsd-net@freebsd.org Subject: MPD setup problem Message-Id: <20010419071900.4D7BEBA27@spyder.bytecraft.au.com> Date: Thu, 19 Apr 2001 17:19:00 +1000 (EST) From: root@bytecraft.au.com (Charlie Root) Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Help ... What am I missing? Given the attached mpd.conf & mpd.links files I create the following netgraph. There is an obvious ommission here.... there is no input to the ppp node ID 0000003f. I am running a netgraph frame relay interface as ng0. The mpd files create a ng1 node OK, but ngctl shows no inputs to the ppp node. The full map (frame and mpd) that develops is as follows _FRAME RELAY INTERFACE_ [ sync_sr0 ] [ ](dlci0) ------ (annexD)[ ] [ ](rawdata) ------- [ ] [ ] [ 00000001 ] [ 00000004 ] [ 00000006 ] [ sync_sr ] [ frame_relay ](dlci16) ----+ [ lmi ] | | +--------------------------------------+ | | +---- (rawdata)[ ] [ ng0 ] [ ](inet) --------- (inet)[ ] [ 00000008 ] [ 0000000a ] [ rfc1490 ] [ iface ] ip addr w.x.y.z _MPD INTERFACE_ [ mpd47081-frame- ](vjc_vjip) -------------- (vjip)[ ] [ ](vjc_vjuncomp) ------ (vjuncomp)[ ] [ ](vjc_vjcomp) ---------- (vjcomp)[ 00000041 ] [ ](vjc_ip) ------------------ (ip)[ vjc ] [ 000003f ](inet) ---------+ [ ppp ](bypass) ---+ | | | | | +------------------------------------+ | | +--- (ppp)[ ] | [ ](iface) ----+ +--- (bypass)[ ](demand) ---------- (mpd)[ 00000040 ] | [ ] [ bpf ] | [ 0000003d ] | [ socket ] | +-----------------------+ | | [ ng1 ] +-------- (inet)[ ] [ 0000003e ] [ iface ] Interface ng0 is IP address w.x.y.z and is the end of hte frame relay point-to-point link to the internet. The address a.b.c.d used in 'set pptp self a.b.c.d' is the registered IP of spyder on its fxp0 interface. This is the IP address of the target name used in the M$oft DUN VPN setup. The files ################################################################# # # MPD configuration file # # This file defines the configuration for mpd: what the # bundles are, what the links are in those bundles, how # the interface should be configured, various PPP parameters, # etc. It contains commands just as you would type them # in at the console. A blank line ends an entry. Lines # starting with a "#" are comments and get completely # ignored. # ################################################################# # # Default configuration is "pptp1" default: load pptp1 # # mpd as a PPTP server for M$ dial up networking clients # pptp1: new -i ng1 frame-pptp frame-pptp set iface disable on-demand set iface enable proxy-arp set iface idle 1800 set bundle disable multilink # set bundle authname taylorm set log pptp3 set link yes acfcomp protocomp set link no pap chap set link enable chap set link keep-alive 10 60 set ipcp yes vjcomp # require server to be .176 and remote laptop user to be .180 set ipcp ranges 10.1.2.176/32 10.1.2.180/32 # our dns server # set ipcp dns 10.1.2.52 # our WINS servers set ipcp nbns 10.1.2.3 10.1.2.7 # # The five lines below enable Microsoft Point-to-Point encryption # (MPPE) using the ng_mppc(8) netgraph node type. # set bundle enable compression set ccp yes mppc set ccp yes mpp-e40 set ccp yes mpp-e128 set ccp yes mpp-stateless ################################################################# # # MPD links file # # In this file you define the various "links" that comprise # a bundle. Each link corresponds to a single serial device. # These are commands that could be typed into the console directly. # # This file should only contain configuration for a link if # that configuration is specific to that particular link. That # is, things like device name and bandwidth. Other generic link # options # like LCP paramters belong in "mpd.conf". # # The first command for each link should be "set link type ..." # ################################################################# # # Analog modem on COM1. # not in use yet modem: set link type modem set modem device /dev/cuaa0 # # For our PPTP server # frame-pptp: set link type pptp set pptp self a.b.c.d set pptp enable incoming set pptp disable originate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message