From owner-freebsd-net@FreeBSD.ORG Thu Dec 14 12:52:56 2006 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 A683416A523 for ; Thu, 14 Dec 2006 12:52:56 +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 221C143E71 for ; Thu, 14 Dec 2006 12:48:57 +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.63 (FreeBSD)) (envelope-from ) id 1Guq2S-000CRu-RT; Thu, 14 Dec 2006 20:50:16 +0800 Message-ID: <45814888.1060301@micom.mng.net> Date: Thu, 14 Dec 2006 20:50:16 +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> <4529C408.5070807@micom.mng.net> <452A008B.8040804@mavhome.dp.ua> <452A0F2A.3000901@micom.mng.net> <452A164A.9080507@mavhome.dp.ua> In-Reply-To: <452A164A.9080507@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: Thu, 14 Dec 2006 12:52:56 -0000 Alexander Motin wrote: > Ganbold wrote: >> OK, so I have to create vlans first on the system and then configure >> mpd.links file accordingly and take out the "set pppoe iface bge1" >> line from mpd.conf. I will try it sometime later and let you know how >> it goes. > > Somebody should strip vlan header. If not a system (if you dont like > to create vlans) and not mpd (this is not its business) then who? > > It will work fine. vlan for mpd is like a usual ethernet interface > without any specifics. > Alexander, Is it possible to give static IP addresses to the users using mpd? How it should be done? User is authenticating with radius server. Right now my mpd.conf is like this: ... server8: new -i ng8 pppoe8 pppoe8 set ipcp ranges 192.168.5.3/32 192.168.5.18/24 load pppoe_standard ... thanks in advance, Ganbold