From owner-freebsd-net@FreeBSD.ORG Wed Jul 25 11:53:57 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EEACA16A41B for ; Wed, 25 Jul 2007 11:53:57 +0000 (UTC) (envelope-from nvass@teledomenet.gr) Received: from smtp.teledomenet.gr (smtp.teledomenet.gr [213.142.128.2]) by mx1.freebsd.org (Postfix) with ESMTP id A508313C45B for ; Wed, 25 Jul 2007 11:53:57 +0000 (UTC) (envelope-from nvass@teledomenet.gr) Received: from iris (unknown [192.168.1.71]) by smtp.teledomenet.gr (Postfix) with ESMTP id D733D1427E4; Wed, 25 Jul 2007 14:53:56 +0300 (EEST) From: Nikos Vassiliadis To: Ganbold Date: Wed, 25 Jul 2007 14:54:34 +0300 User-Agent: KMail/1.9.1 References: <1159971789.00612536.1159960802@10.7.7.3> <200707251401.14455.nvass@teledomenet.gr> <46A73190.2090501@micom.mng.net> In-Reply-To: <46A73190.2090501@micom.mng.net> X-NCC-RegID: gr.telehouse MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-7" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200707251454.34922.nvass@teledomenet.gr> 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: Wed, 25 Jul 2007 11:53:58 -0000 On Wednesday 25 July 2007 14:18, Ganbold wrote: > Nikos Vassiliadis wrote: > > On Wednesday 25 July 2007 13:09, Ganbold wrote: > >> I tried it in mpd-3.18, Radius server sends Framed IP Address, > >> however mpd still assigns IP specified in "set ipcp ranges > >> 192.168.5.2/32 192.168.5.169/25" > >> What could be a problem? How to solve this issue? > > > > If you enable "radius-ip" option, mpd will use > > Framed-IP-Address offered by your RADIUS. > > > > From here: > > http://www.bretterklieber.com/mpd/doc3/mpd22.html > > > > Off topic, why not mpd4? > > > > Nikos > > It works. One question, does this syntax also apply for mpd-4.2.x? Hm, "radius-ip" option is removed from mpd4, according to the change log. Maybe the behaviour is automated now, what Alexander described in your previous email. > Alexander Motin wrote: > > Hi. > > > > Ganbold wrote: > >> Is it possible to give static IP addresses to the users using mpd? > >> How it should be done? User is authenticating with radius server. > > > > Your RADIUS server should send FRAMED_IP_ADDRESS attribute to mpd > > specifying required IP address. When mpd will get that attribute it > > will propose it to client instead of specified in "set ipcp ranges" > > option. HTH, Nikos