cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
Join Customer Connection to register!
243
Views
0
Helpful
1
Replies
Ahmed M Alzaeem
Beginner

question about leased duration from router when get Attributes from radius

hi ,

i want to ask about estimating the leases duration from router when artributes of IP are given to router from radius .

assume  the AAA is from radius server , and  im jusing virtual template interface that gives the users an ips .

now assume if from radusi we gave the user x an attribute  :

ip:addr-pool=pool1

note that the user x will have an ip from router <pool1 >

but im facing a problem which is , if the user get an ip z.z.z.z from pool1 , and disconnected , then connected  and so on , it will always get the same ip which is z.z.z.z

my problem in another way ,   if i gave a user an attribute to get its ip from router pool , it will seems as im giving that user a fixed ip !!!!!!!

my request is , how to solve this issue  and how to define a leased duration to the users when they get an ips from router pools .

i will paste simple config which has relatinion to my question

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

interface Virtual-Template1

ip unnumbered Loopback1

ip tcp adjust-mss 1412

no logging event link-status

ipv6 unnumbered Loopback2

no ipv6 nd ra suppress

peer default ip address pool pool1

ppp authentication pap vpdn

ppp authorization vpdn

ppp accounting vpdn

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

ip local pool pool1 x.x.18.0 x.x.19.254

%%%%%%%%%%%%%%%%%%%%%%%%

radius-server attribute nas-port format d

radius-server configure-nas

radius-server host x.x.x.x auth-port 1812 acct-port 1813 key 7  xxxxxxxxxxxxxx

radius-server retransmit 0

radius-server key 7 xxxxxxxxxxxxxxxxxxxxxx

radius-server vsa send cisco-nas-port

radius-server vsa send accounting

radius-server vsa send authentication

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

whish to help

regards

Ahmad

1 REPLY 1
Ahmed M Alzaeem
Beginner