Date: Wed, 25 Jul 2007 18:09:55 +0800 From: Ganbold <ganbold@micom.mng.net> To: Alexander Motin <mav@mavhome.dp.ua> Cc: freebsd-net@freebsd.org Subject: Re: mpd and vlan Message-ID: <46A72173.7070907@micom.mng.net> In-Reply-To: <45814B40.4080004@mavhome.dp.ua> 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> <45814888.1060301@micom.mng.net> <45814B40.4080004@mavhome.dp.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
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. > 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? thanks, Ganbold -- Science! true daughter of Old Time thou art! Who alterest all things with thy peering eyes. Why preyest thou thus upon the poet's heart, Vulture, whose wings are dull realities? How should he love thee? or how deem thee wise? Who wouldst not leave him in his wandering To seek for treasure in the jewelled skies, Albeit he soared with an undaunted wing? Hast thou not dragged Diana from her car? And driven the Hamadryad from the wood To seek a shelter in some happier star? Hast thou not torn the Naiad from her flood, The Elfin from the green grass, and from me The summer dream beneath the tamarind tree? -- Edgar Allen Poe, "Science, a Sonnet"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46A72173.7070907>