cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1009
Views
5
Helpful
4
Replies

Static IP

shefiksah
Level 1
Level 1

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

4 Replies 4

gfullage
Cisco Employee
Cisco Employee

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

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

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.

Thanks...It is working...