From owner-freebsd-net@FreeBSD.ORG Wed Jun 27 04:39:47 2007 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 894B216A400 for ; Wed, 27 Jun 2007 04:39:47 +0000 (UTC) (envelope-from ozkan@mersin.edu.tr) Received: from mail.mersin.edu.tr (mail.mersin.edu.tr [193.255.128.3]) by mx1.freebsd.org (Postfix) with ESMTP id F355F13C489 for ; Wed, 27 Jun 2007 04:39:46 +0000 (UTC) (envelope-from ozkan@mersin.edu.tr) Received: from localhost (localhost.mersin.edu.tr [127.0.0.1]) by mail.mersin.edu.tr (Postfix) with ESMTP id 47B3932344E for ; Wed, 27 Jun 2007 07:15:45 +0300 (EEST) X-Virus-Scanned: amavisd-new at mersin.edu.tr Received: from mail.mersin.edu.tr ([127.0.0.1]) by localhost (yenimail.mersin.edu.tr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id C3NaoqYlBo29 for ; Wed, 27 Jun 2007 07:15:44 +0300 (EEST) Received: from [10.0.50.20] (unknown [88.247.50.50]) by mail.mersin.edu.tr (Postfix) with ESMTP id 7C11A323443 for ; Wed, 27 Jun 2007 07:15:44 +0300 (EEST) Message-ID: <4681E4B2.1010407@mersin.edu.tr> Date: Wed, 27 Jun 2007 07:16:50 +0300 From: =?ISO-8859-9?Q?=D6zkan_KIRIK?= User-Agent: Mozilla Thunderbird 1.5.0.12 (Windows/20070509) MIME-Version: 1.0 To: freebsd-net@freebsd.org References: <468135BF.8010407@freebsd.org> <20070626214936.GC79335@zone3000.net> <4681A062.9040009@freebsd.org> <20070627005739.GA80825@zone3000.net> <4681BDF2.5020400@elischer.org> In-Reply-To: <4681BDF2.5020400@elischer.org> Content-Type: text/plain; charset=ISO-8859-9; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: Mpd-4.2 released. X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jun 2007 04:39:47 -0000 hi; I wonder if new mpd still needs hundreds of config lines for 300 incoming pptp connections.? and does it still create a new ng interface even no pptp connections established? does new mpd support unlimited incoming connections? what about performance issuess ? (ex: cpu usage, memory usage?) thx. with best regards Julian Elischer yazmış: > Nikolay Pavlov wrote: >> On Wednesday, 27 June 2007 at 2:25:22 +0300, Alexander Motin wrote: >>> Nikolay Pavlov wrote: >>>> This is probably a new feature request, but is this possible to create >>>> some kind of VirtualTemplate interface like it is in Cisco access >>>> routers. Currently i have to configure bunch of different ng interfaces >>>> for every kind user. However on my Cisco 7206VXR i can bundle physical >>>> link together with VirtaulTemplate interface in one vpdn-group config >>>> like this: >>>> And all the ppp interfaces for all users will use this configuration >>>> as a template. >>> Yes, I am thinking about that. That is not trivial change. It will >>> require changing all internal model from static to the dynamic one. >>> But that change also should give many other bonuses so I would like >>> to try. >>> >>> One of problems is more or less new config file syntax required. I >>> have very limited cisco experience, so it is difficult for me to >>> adopt their model to mpd, but I would not like to reinvent a wheel. I >>> will be grateful for any ideas/examples of how do you see that. >>> >>> > > I am not sure that people know how to use the 'include' syntax in mpd. > > i have not used it for a long time but I do remember that my setups were > very simple, > because I used a kind of template entry to hold all teh common stuff. > > ah here it is.. in this example I use 'load' to save lots of typing.. > > > > tun_standard: > set link yes acfcomp protocomp > set link no pap > set link no chap > set link keep-alive 2 15 > set link mru 900 > set link mtu 900 > # set link bandwidth 1440000 > > ############### per-link settings ################# > vpn-site1: > new -i ng0 vpn-site1 site1-ISP1 site1-ISP2 > set iface addrs 10.12.1.24 10.12.1.10 > set iface route 192.168.10.0/24 > set ipcp ranges 10.12.1.24/32 10.12.1.10/32 > load vpn_standard > link site1-ISP1 load tun_standard > link site1-ISP2 > load tun_standard > open > > vpn-site2: > new -i ng1 vpn-site2 site2-ISP1 site2-ISP2 > set iface addrs 10.12.1.24 10.12.1.20 > set iface route 192.168.20.0/24 > set ipcp ranges 10.12.1.24/32 10.12.1.20/32 > load vpn_standard > link site2-ISP1 load tun_standard > link site2-ISP2 > load tun_standard > open > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >