Date: Wed, 11 Apr 2001 17:38:13 +1000 From: Murray Taylor <mtaylor@bytecraft.com.au> To: "'freebsd-net@freebsd.org'" <freebsd-net@freebsd.org> Subject: mpd setup Message-ID: <710709BB8B02D311942E0060674418105442BF@MELEXC01>
next in thread | raw e-mail | index | archive | help
Very gently, without wanting to break an existing, working setup he asks.... Given the following Netgraph Frame Relay configuration, are these scripts enough to create an mpd-netgraph pptp connection throught the frame relay internet connection? Or do I need to add some extra netgraphism's to connect into the frame relay chain? Proposed configuration files mpd.links frame-pptp: set link type pptp set pptp self 10.1.2.30 set pptp enable incoming set pptp disable originate mpd.conf pptp1: new -i ng0 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 user1 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 .170 and remote laptop user to be .171 # as first guess set ipcp ranges 10.1.2.170/32 10.1.2.171/32 # our dns server set ipcp dns 10.x.y.z # our WINS servers set ipcp nbns 10.a.b.c 10.d.e.f mpd.secret user1 "pwd1" -o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o- - hardware setup ng0 ip fxp0 ip xxx.yyy.zzz.13 SPYDER 10.1.2.30 +----------+ aaa.bbb.ccc.1 alias | | +---+ |-+-+ +-| frame | N | X21 |s|n| |f| 100BaseT =======| T |========|r|g| |x|~~~~~~~~~~~~ relay | U | |0|0| |p| +---+ |-+-+ |0| | +-| | | | | | | | | +----------+ Netgraph setup for Frame Relay Internet access [ ] [ lmi ](annexD) --------+ [ ] | | [sync_sr0] [ ](dlci0) ---+ [physical](rawdata) --- (downstream)[ frame_relay ] [ ] [ ](dlci16)---+ | +-----------------------------------------------------------+ | | { ] [ ng0 ] 10.1.2.30 +--- (downstream)[ rcf1490 ](inet) --- (inet)[ iface ] aaa.bbb.ccc.1 [ ] [ ] ================ start_if.ng0 ============================= #!/bin/sh # script to set up a frame relay link on the sr card. # The dlci used is selected below. The default is 16 # WANic 405 CARD=sync_sr0 DLCI=16 # create a frame_relay type node and attach it to the sync port. ngctl mkpeer ${CARD}: frame_relay rawdata downstream # Attach the dlci output of the (de)multiplexor to a new # Link management protocol node using ANSI AnnexD ngctl mkpeer ${CARD}:rawdata lmi dlci0 annexD # Attach the DLCI(channel) the Telco has assigned you to # a node to hadle whatever protocol encapsulation your peer # is using. In this case rfc1490 encapsulation. ngctl mkpeer ${CARD}:rawdata rfc1490 dlci${DLCI} downstream # Attach the ip (inet) protocol output of the protocol mux to the ip (inet) # input of a netgraph "interface" node (ifconfig should show it as "ng0"). ngctl mkpeer ${CARD}:rawdata.dlci${DLCI} iface inet inet ================end of start_if.ng0 ======================== Murray Taylor Project Engineer Bytecraft P/L +61 3 9587 2555 +61 3 9587 1614 fax mtaylor@bytecraft.com.au www.bytecraftentertainment.com 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?710709BB8B02D311942E0060674418105442BF>