Hello Dirk -
You will need to use the Framed-Route reply attribute for the static
address(s), but you will need to check the RFC and your NAS vendor's
documentation to see how to specify it correctly (if the NAS is
Cisco, you will probably have to use the "cisco-avpair" construct as
specified by Cisco in their radius documentation).
If you only have one user in this case, it is probably easiest to use
a seperate Handler to recognise this case.
hth
Hugh
At 22:57 +0100 01/1/19, Dirk Laan wrote:
>Hello Hugh,
>
>Sorry, but I'll take over because Danny is on course.
>
>What we mean by Static-IP1, Static-IP2 is this:
>
>We've got a dial-in user who needs a Static Ip address, this user has a
>redundant dial-in service.
>So this user needs two different Static Ip addresses.
>
>Regards,
>
>Dirk
>
>Hugh Irvine schreef:
>
>> Hello Danny -
>>
>> At 9:34 +0000 01/1/19, Danny Kruitbosch wrote:
>> >Hi,
>> >
>> >I want to know how to get the following up and running:
>> >
>> >I'm using AuthBy SQL to authenticate my users. Also I add the attributes
>> >Group-ID, Static-IP1, Static-IP2 in this step to the reply.
>> >
>> >What I want to do is:
>> >
>> >If a user has Group-ID is 0, than depending on the NAS-ID return
>> >Static-IP* as the Framed-IP-Address. If the Group-ID is something other
>> >than 0 allocate a dynamic IP address by using AuthBy DYNADDRESS.
>> >
>> >So my auth. Sequence should look like this:
>> >
>> >
>> >AutBy SQL
>> >
>> >if group-id = 0 and NAS-ID= ... than return Static-IP* as
>> >Framed-IP-Address
>> >else
>> >Do Dynamic allocation
>> >
>>
>> I am afraid I don't understand how you want to deal with Static-IP1,
>> Static-IP2, etc. Could you clarify please?
>>
>> thanks
>>
>> Hugh
>>
>> --
>>
>> NB: I am travelling this week, so there may be delays in our correspondence.
>>
>> Radiator: the most portable, flexible and configurable RADIUS server
>> anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
>> Platypus, Freeside, Interbiller, TACACS+, PAM, external, etc, etc.
>> Available on Unix, Linux, FreeBSD, Windows 95/98/2000, NT, MacOS X.
>>
>> ===
>> Archive at http://www.starport.net/~radiator/
>> Announcements on [EMAIL PROTECTED]
>> To unsubscribe, email '[EMAIL PROTECTED]' with
>> 'unsubscribe radiator' in the body of the message.
>
>Content-Type: text/x-vcard; charset=us-ascii;
> name="d.laan.vcf"
>Content-Transfer-Encoding: 7bit
>Content-Description: Kaart voor Dirk Laan
>Content-Disposition: attachment;
> filename="d.laan.vcf"
>
>Attachment converted: Macintosh HD:d.laan.vcf (TEXT/ttxt) (0000F783)
--
NB: I am travelling this week, so there may be delays in our correspondence.
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
Platypus, Freeside, Interbiller, TACACS+, PAM, external, etc, etc.
Available on Unix, Linux, FreeBSD, Windows 95/98/2000, NT, MacOS X.
===
Archive at http://www.starport.net/~radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.