Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Assigning IP address Based on DNIS

Hi All,

I have a problem, I want to assign unique IP adreess to 2 ISDN customers based on DNIS, I didnt have a radius all I want is user 1 for example to make an ISDN call with certain dnis and obtain a specific ip address and user 2 calls with another dnis and obtain another unique IP adrress mentioned that all the calls are comming to the same PRI line but we can assign more than a dnis to users.

Does any body has a solution for that ?

3 REPLIES
Cisco Employee

Re: Assigning IP address Based on DNIS

You need to have a AAA server to do that. If its a async call, then we can use the modem-pooling based on DNIS and that way we can assign static ip address based on DNIS. But for ISDN callers, there is no way to do that. You need to have external AAA server.

OR

You can assign the static ip address based on the username. For that just use the dialer map command

Bronze

Re: Assigning IP address Based on DNIS

You should be able to do that - without using any external AAA server or

anything of that nature - using resource pooling feature. Something along

the lines of the following should do the job for you :

resource-pool enable

resource-pool call treatment resource channel-not-available

resource-pool call treatment profile no-answer

!

resource-pool group resource isdn

range limit 46 (or whatever)

!

resource-pool group resource analog

range port 2/0 2/11 (or whatever)

!

resource-pool profile customer special-IP-addr-one

limit base-size 1

limit overflow-size 0

resource isdn digital

dnis group special-one

source template special-one

!

resource-pool profile customer special-IP-addr-two

limit base-size 1

limit overflow-size 0

resource isdn digital

dnis group special-two

source template special-two

!

template special-one

peer default ip address pool special-one

ppp authentication chap

ppp timeout idle 300

!

template special-two

peer default ip address pool special-two

ppp authentication chap

ppp timeout idle 300

!

dialer dnis group special-one

number 6666666

!

dialer dnis group special-two

number 7777777ip local pool special-one 1.1.1.1

ip local pool special-two 2.2.2.2

So an ISDN user who dials DNIS 666-6666 should get an IP address of

1.1.1.1 while the other ISDN user who dials DNIS 777-7777 should get IP

address of 2.2.2.2 . In addition to this, ofcourse you need to take care

of your other regular analog and isdn users. So make sure you have

customer profiles, templates, DNIS groupds and IP pools for them too. For

more on that, please read the following :

http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/products_configuration_guide_chapter09186a00800ca6ee.html#1001879

~Zulfi

!

Cisco Employee

Re: Assigning IP address Based on DNIS

That is true but resource-pooling is not supported on the platforms other then Access Servers. so if you have 3600 series or 37xx series or below routers, its not useful.

93
Views
1
Helpful
3
Replies
CreatePlease login to create content