07-07-2005 09:28 PM - edited 03-10-2019 02:13 PM
Hi all
i am using freeradius with mysql for authentication the ADSL users.My LNS router is Cisco 3600.Everything is fine but i want to give static IP address to my users.
my router config is:
interface Virtual-Template1
ip unnumbered FastEthernet0/1
ip route-cache flow
peer default ip address pool newip
ppp mtu adaptive
ppp authentication pap chap
i have configured the freeradius & mysql as weel..
but user gets ip address from pool not from radius.
when i removed "peer default ip address pool newip" from virtual-temlate...user cannot get a connection.
Anyone can help me to give static ip address to my ADSL users.
Thanks
07-10-2005 09:12 PM
you need ot set up authorization for your users in addition to authentication. If you haven't already got it, add the following:
aaa authorization network default group radius
and remove the "peer default" command from under the vt interface. If that still doesn't work, please send us the output from the following debugs when a user connects in:
debug radius
debug aaa authen
debug aaa author
07-10-2005 11:14 PM
Thank you very much...it is working now...
i just wanna ask is that possible to use pool and static ip at the same time...i mean if static ip is assigned for the user, user will use the static ip...if static ip isn't assigned for the user, user will get the ip address from pool....
thanks
07-11-2005 06:54 PM
Yes, that should be possible. Add the "peer default ..." command back in under the vt interface. If the Radius server replies with an IP address then that should be used for that user, otherwise it should use the pool.
07-13-2005 01:10 AM
Thanks...It is working...
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide