Expert Help Required

View: New views
5 Messages — Rating Filter:   Alert me  

Expert Help Required

by gg :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Guys,
 
Currently i am using cistron radius with the following configuration for user
 
test Auth-Type = Local, Password = "test"
        Service-Type = Framed-User,
        Framed-Protocol = PPP,
        Framed-IP-Address = 1.2.3.3,
        Cisco-AVPair = "ip:route= 1.2.3.4 255.255.255.240"
 
Now i want to configure one more route path for this user using Cisco-AVPair = "ip:route=
 
example as follows
 
test Auth-Type = Local, Password = "test"
        Service-Type = Framed-User,
        Framed-Protocol = PPP,
        Framed-IP-Address = 1.2.3.3,
        Cisco-AVPair = "ip:route= 1.2.3.4 255.255.255.240"
        Cisco-AVPair = "ip:route=1.2.4.4 255.255.255.252 "
 
When i try to restart cistron radius it will stop the process because it will not accept two ip routes with two different rage one is /30 and other one is /29.
 
Could some one help me how to add two ip routes for one single user.
 
Thanks for your help

Re: Expert Help Required

by Pete Conkin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

>
> test Auth-Type = Local, Password = "test"
>         Service-Type = Framed-User,
>         Framed-Protocol = PPP,
>         Framed-IP-Address = 1.2.3.3,
>         Cisco-AVPair = "ip:route= 1.2.3.4 255.255.255.240"
>         Cisco-AVPair = "ip:route=1.2.4.4 255.255.255.252 "
>
> When i try to restart cistron radius it will stop the process because it
> will not accept two ip routes with two different rage one is /30 and other
> one is /29.
>
> Could some one help me how to add two ip routes for one single user.

  This is just a guess ... please test:

  Cisco-AVPair = "ip:route= 1.2.3.4 255.255.255.240"
  Cisco-AVPair += "ip:route=1.2.4.4 255.255.255.252"

  or pehaps:

  Cisco-AVPair = "ip:route#1= 1.2.3.4 255.255.255.240"
  Cisco-AVPair += "ip:route#2=1.2.4.4 255.255.255.252"

  Pete

-
List info/subscribe/unsubscribe? See http://www.radius.cistron.nl/list/

Re: Expert Help Required

by Pete Conkin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


>   Cisco-AVPair = "ip:route= 1.2.3.4 255.255.255.240"
>   Cisco-AVPair += "ip:route=1.2.4.4 255.255.255.252"

  Oh, ya ... I forgot the comma at the end of the first Cisco-AVPair line.

>
>   or pehaps:
>
>   Cisco-AVPair = "ip:route#1= 1.2.3.4 255.255.255.240"
>   Cisco-AVPair += "ip:route#2=1.2.4.4 255.255.255.252"
>
 
  Here too :p

  Pete

-
List info/subscribe/unsubscribe? See http://www.radius.cistron.nl/list/

Re: Expert Help Required

by gg234 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

no luck and it is not working

Pete Conkin wrote:
>
> test Auth-Type = Local, Password = "test"
>         Service-Type = Framed-User,
>         Framed-Protocol = PPP,
>         Framed-IP-Address = 1.2.3.3,
>         Cisco-AVPair = "ip:route= 1.2.3.4 255.255.255.240"
>         Cisco-AVPair = "ip:route=1.2.4.4 255.255.255.252 "
>
> When i try to restart cistron radius it will stop the process because it
> will not accept two ip routes with two different rage one is /30 and other
> one is /29.
>
> Could some one help me how to add two ip routes for one single user.

  This is just a guess ... please test:

  Cisco-AVPair = "ip:route= 1.2.3.4 255.255.255.240"
  Cisco-AVPair += "ip:route=1.2.4.4 255.255.255.252"

  or pehaps:

  Cisco-AVPair = "ip:route#1= 1.2.3.4 255.255.255.240"
  Cisco-AVPair += "ip:route#2=1.2.4.4 255.255.255.252"

  Pete

-
List info/subscribe/unsubscribe? See http://www.radius.cistron.nl/list/

RE: Expert Help Required

by John Brittain :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

 > test Auth-Type = Local, Password = "test"
 >         Service-Type = Framed-User,
 >         Framed-Protocol = PPP,
 >         Framed-IP-Address = 1.2.3.3,
 >         Cisco-AVPair = "ip:route= 1.2.3.4 255.255.255.240"
 >         Cisco-AVPair = "ip:route=1.2.4.4 255.255.255.252 "

If the example above is exactly what you tried, then you need to add a
',' (comma) at the end of the first AVPair line.

-
List info/subscribe/unsubscribe? See http://www.radius.cistron.nl/list/