cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2516
Views
5
Helpful
1
Replies

Assigning DNS addresses from Radius on LNS

matt.thomas
Level 1
Level 1

Hi we have a router which acts as an LNS and authenticates LT2P sessions via radius assigning each to a tunnel interface and giving it an IP address, we would also like to assign DNS settings via radius, we are using steel belted radius which is capable of doing this but we can't seem to get it to work.

What I believe are relevant sections of the config are below;

Any help greatly appreciated.

Thanks

Matt

!

version 12.2

aaa new-model

!

!

aaa authentication login default line

aaa authentication ppp default group radius

aaa authorization network default group radius

aaa session-id common

!

!

ip name-server 4.2.2.2

!

vpdn enable

!

vpdn-group conn

accept-dialin

protocol l2tp

virtual-template 1

terminate-from hostname G20

local name wllns

l2tp tunnel password 7 050703062F4D4A064B

!

vpdn-group test_G30

accept-dialin

protocol l2tp

virtual-template 1

terminate-from hostname G30

local name wllns

l2tp tunnel password 7 06115E3349420C0A161B420C5D076724762121302E120912

!

vpdn-group test_G40

accept-dialin

protocol l2tp

virtual-template 1

terminate-from hostname G10

local name wllns

l2tp tunnel password 7 131246000E0001393828783464215E08440A135355595D50

!

!

interface Virtual-Template1

ip unnumbered FastEthernet0/0

no ip route-cache

peer default ip address pool mypool

ppp authentication chap

!

ip local pool mypool 172.20.0.1 172.20.30.254

radius-server host 172.21.0.252 auth-port 1645 acct-port 1646

radius-server key test

radius-server authorization permit missing Service-Type

call rsvp-sync

!

!

!

end

1 Reply 1

Hitesh Vinzoda
Level 4
Level 4

Hi Matt,

Use the following Cisco AVP in Radreply.

Cisco-AVPair+=ip:dns-servers=x.x.x.x

HTH

Hitesh Vinzoda

Please rate useful posts.