Re:Re: bitrary dynamic Nas-Port
msammir wrote: > Hello all, > i have the same problem as in this mail in brife > i use Cisco router and need to auth user over ppoe and i get the same > //NAS-Port// for all users > i am not expert in freeradius so can pleas someone help me use > attr_rewrite to go over this probelm > You want to re-write NAS port to what, exactly? > Alan DeKok. i want to re-write Nas-Port to be something Unique like Calling-Station-Id as i use PPPOE th scenario of my probelm in IPPool as i get the same NAS-Port for all user radius give the all the same IP. Ip_pool keys of the combination of nasip/nasport to determine the UNIQUE user and as my NAS send over a not unique nasport for each user. radius see them all as one user and give them all the same IP if u have othere idea than re-write Nas-Port it will be great. Thanks --------------------------------- Never miss an email again! Yahoo! Toolbar alerts you the instant new Mail arrives. Check it out.
On Mon 05 Mar 2007 14:46, MSamir wrote:
msammir wrote: > Hello all, > i have the same problem as in this mail in brife > i use Cisco router and need to auth user over ppoe and i get the same > //NAS-Port// for all users > i am not expert in freeradius so can pleas someone help me use > attr_rewrite to go over this probelm > You want to re-write NAS port to what, exactly? > Alan DeKok.
i want to re-write Nas-Port to be something Unique like Calling-Station-Id as i use PPPOE th scenario of my probelm in IPPool as i get the same NAS-Port for all user radius give the all the same IP. Ip_pool keys of the combination of nasip/nasport to determine the UNIQUE user and as my NAS send over a not unique nasport for each user. radius see them all as one user and give them all the same IP if u have othere idea than re-write Nas-Port it will be great.
You could alternatively use rlm_sqlippool which allows you to set which attribute to be used as "unique" Cheers -- Peter Nixon http://www.peternixon.net/ PGP Key: http://www.peternixon.net/public.asc
Dear Peter, after many debug i find that NASA not even send Calling-Station-Id so now i have access in that NAS which is Cisco router 72006 VXR but it's not send unique NAS or Calling-Station-Id so can you pleas give example of how the configuration in router have to be sorry as i am not Cisco expert. or can i use value that not depend in what nas send for example just username which is unique. thanks --------------------------------- Be a PS3 game guru. Get your game face on with the latest PS3 news and previews at Yahoo! Games.
On Thu 08 Mar 2007 10:38, MSamir wrote:
Dear Peter, after many debug i find that NASA not even send Calling-Station-Id so now i have access in that NAS which is Cisco router 72006 VXR but it's not send unique NAS or Calling-Station-Id so can you pleas give example of how the configuration in router have to be sorry as i am not Cisco expert.
or can i use value that not depend in what nas send for example just username which is unique. Yes. As you can clearly see in sqlippool.conf:
## Attribute which should be considered unique per NAS ## Using NAS-Port gives behaviour similar to rlm_ippool. Calling-Station-Id is for NAS that send fixed NAS-Port pool-key = "%{NAS-Port}" # pool-key = "%{Calling-Station-Id} There is also further documentation in the wiki.. Cheers -- Peter Nixon http://www.peternixon.net/ PGP Key: http://www.peternixon.net/public.asc
is that mean that i can use pool-key = "%{User-Name} --------------------------------- Bored stiff? Loosen up... Download and play hundreds of games for free on Yahoo! Games.
On Thu 08 Mar 2007 18:46, MSamir wrote:
is that mean that i can use pool-key = "%{User-Name}
If you wish.. Yes.. -- Peter Nixon http://www.peternixon.net/ PGP Key: http://www.peternixon.net/public.asc
participants (2)
-
MSamir -
Peter Nixon