From owner-freebsd-net@FreeBSD.ORG Mon Oct 9 03:37:55 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C41F716A416 for ; Mon, 9 Oct 2006 03:37:55 +0000 (UTC) (envelope-from ganbold@micom.mng.net) Received: from publicd.ub.mng.net (publicd.ub.mng.net [202.179.0.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id 01B6943D4C for ; Mon, 9 Oct 2006 03:37:54 +0000 (GMT) (envelope-from ganbold@micom.mng.net) Received: from [202.179.0.164] (helo=[192.168.0.18]) by publicd.ub.mng.net with esmtpa (Exim 4.61 (FreeBSD)) (envelope-from ) id 1GWlxY-000HNI-4B; Mon, 09 Oct 2006 11:37:44 +0800 Message-ID: <4529C408.5070807@micom.mng.net> Date: Mon, 09 Oct 2006 11:37:44 +0800 From: Ganbold User-Agent: Thunderbird 1.5.0.4 (X11/20060612) MIME-Version: 1.0 To: Alexander Motin References: <1159971789.00612536.1159960802@10.7.7.3> <4524055D.7060906@mavhome.dp.ua> In-Reply-To: <4524055D.7060906@mavhome.dp.ua> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: mpd and vlan 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: Mon, 09 Oct 2006 03:37:55 -0000 Alexander Motin wrote: > Hi. > > Ganbold wrote: >> Oh, I put up my question wrong. Anyway, can mpd listen on many vlan >> interfaces? >> Maybe something like: >> >> set pppoe iface vlan0,vlan1,etc > > One PPPoE link can listen on the only one interface/vlan. But you can > create many links to listen on many interfaces/vlans. Create one or > more link for each interface. > You mean something like this that I have in my mpd.conf: default: load server1 load server2 load server3 ... set ccp yes mpp-e40 set ccp yes mpp-e128 set ccp yes mpp-stateless set pppoe iface bge1 # set pppoe iface vlan0 set pppoe service "*" set pppoe disable originate set pppoe enable incoming ... server1: new -i ng1 pppoe1 pppoe1 set ipcp ranges x.x.x.x/32 y.y.y.y/24 load pppoe_standard server2: new -i ng2 pppoe2 pppoe2 set ipcp ranges x.x.x.x/32 y.y.y.y/24 load pppoe_standard server3: new -i ng3 pppoe3 pppoe3 set ipcp ranges x.x.x.x/32 y.y.y.y/24 load pppoe_standard ... mpd.links file: pppoe1: set link type pppoe set pppoe enable incoming set pppoe disable originate pppoe2: set link type pppoe set pppoe enable incoming set pppoe disable originate pppoe3: set link type pppoe set pppoe enable incoming set pppoe disable originate ... Ganbold