[cisco-nas] local user with static ip
Tassos Chatzithomaoglou
achatz at forthnet.gr
Tue Mar 23 14:03:41 EST 2004
I'm using the following config (some non-important parts are missing) for a dialup scenario:
5300 (12.2(15)T9)
!--------------------------------------------------------
!
username testuser password 0 testpass
!
virtual-profile if-needed
virtual-profile virtual-template 1
!
controller E1 0
clock source line primary
pri-group timeslots 1-31
!
interface Virtual-Template1
ip unnumbered Loopback0
peer default ip address pool test
ppp authentication pap chap callin RADIUS-AAA
ppp authorization RADIUS-AAA
ppp accounting RADIUS-AAA
!
interface Serial0:15
ip unnumbered Loopback0
encapsulation ppp
dialer rotary-group 1
dialer-group 1
isdn switch-type primary-net5
isdn incoming-voice modem
!
interface Group-Async1
ip unnumbered Loopback0
encapsulation ppp
async dynamic routing
async mode interactive
peer default ip address pool test
ppp authentication pap chap callin RADIUS-AAA
ppp authorization RADIUS-AAA
ppp accounting RADIUS-AAA
group-range 1 30
!
interface Dialer1
ip unnumbered Loopback0
encapsulation ppp
dialer in-band
dialer idle-timeout 1200 either
dialer-group 1
peer default ip address pool test
ppp authentication pap chap callin RADIUS-AAA
ppp authorization RADIUS-AAA
ppp accounting RADIUS-AAA
!
ip local pool test x.x.x.x y.y.y.y
!
dialer-list 1 protocol ip list 101
access-list 101 permit ip any any
!--------------------------------------------------------
aaa method "RADIUS-AAA" does local aaa first and then radius aaa.
I'm trying to make the local defined user "testuser" to get a static ip (10.10.10.10)
whenever he calls into this router (he gets a dynamic instead). I suppose this needs a
"dialer map" configuration under "dialer 1", but i would like your help here.
Is this possible without affecting all the other (dynamic/static) users?
--
***************************************
Chatzithomaoglou Anastasios
Network Design & Development Department
FORTHnet S.A.
<achatz at forthnet.gr>
***************************************
More information about the cisco-nas
mailing list