Community discussions

MikroTik App
 
bandoravic
just joined
Topic Author
Posts: 4
Joined: Sun Apr 05, 2020 7:58 pm
Location: libya

multiple RADIUS

Sun Apr 05, 2020 8:41 pm

hi all

please i need your help
i have MIKROTIK and i need to active two RADIUS at the same time and each RADIUS has its clients, how can i do that ?
 
User avatar
bpwl
Forum Guru
Forum Guru
Posts: 3145
Joined: Mon Apr 08, 2019 1:16 am

Re: multiple RADIUS

Mon Apr 06, 2020 12:50 am

If you can use different SSID's for those 2 groups of clients: It's simple then: one RADIUS per SSID
Klembord-3.jpg
I removed the MAC from the "Called ID format".
Klembord-4.jpg
You do not have the required permissions to view the files attached to this post.
 
bandoravic
just joined
Topic Author
Posts: 4
Joined: Sun Apr 05, 2020 7:58 pm
Location: libya

Re: multiple RADIUS

Thu Apr 09, 2020 8:45 pm

thank you for your replay
i am connecting the mikrotik with 2 outside RADIUSs in a server
the upper RADIUS is the one that works and the lower does not work until i place it up
You do not have the required permissions to view the files attached to this post.
 
User avatar
bpwl
Forum Guru
Forum Guru
Posts: 3145
Joined: Mon Apr 08, 2019 1:16 am

Re: multiple RADIUS

Thu Apr 09, 2020 9:18 pm

thank you for your replay
i am connecting the mikrotik with 2 outside RADIUSs in a server
the upper RADIUS is the one that works and the lower does not work until i place it up
The selection of the RADIUS server in my case is based on the "called id". Is there a way to specify this "called id" with your ppp/hotspot services?
But maybe "Domain" could also be used as differentiator between the 2 radius servers. I have no experience with this.
 
User avatar
floaty
Member
Member
Posts: 370
Joined: Sat Oct 20, 2018 1:24 am
Location: 52°08'32.34"N 14°39'05.0"E
Contact:

Re: multiple RADIUS

Fri Sep 22, 2023 1:25 pm

.
also works in v7
.
https://help.mikrotik.com/docs/display/ ... properties
.
called-format (format-string)
Format for the value of the Called-Station-Id RADIUS attribute, in AP's messages to RADIUS servers. Default: II-II-II-II-II-II:S
.
mtik-called-id-cfg.png
.
... and if you don't use the exact syntax ... you may end up here:
( unnecessarily : | )
.
####    Filter Called-Station-ID

filter_calledstationid {
  if (&Called-Station-Id) {
   if (&Called-Station-Id =~ /(.+)\:ssid-name-a$/) {
        update control {
            Proxy-To-Realm := 'fac.net'
        }
    }
   if (&Called-Station-Id =~ /(.+)\:ssid-name-b$/) {
        update control {
            Proxy-To-Realm := 'ubi.net'
        }
   }
  }
  else {
  noop
  }
 }
####
You do not have the required permissions to view the files attached to this post.
 
User avatar
floaty
Member
Member
Posts: 370
Joined: Sat Oct 20, 2018 1:24 am
Location: 52°08'32.34"N 14°39'05.0"E
Contact:

Re: multiple RADIUS

Sat Sep 23, 2023 12:52 am

AAA properties
Properties in this category configure an access point's interaction with AAA (RADIUS) servers.

Certain parameters in the table below take format-string as their value. In a format-string, certain characters are interpreted in the following way:

a Hexadecimal character making up the MAC address of the client device in lower case
A Hexadecimal character making up the MAC address of the client device in upper case
i Hexadecimal character making up the MAC address of the AP's interface in lower case
I (capital 'i') Hexadecimal character making up the MAC address of the AP's interface in upper case
N The entire name of the AP's interface (e.g. 'wifi1')
S The entire SSID
All other characters are used without interpreting them in any way. For examples, see default values.
.
still struggeling
.
All other characters are used without interpreting them in any way.
.
what does it mean ??
.
For examples, see default values. ??
.
can I use: "08-A9-8A-II-II-II:myrealssid" ?
.
All other characters are used without interpreting them in any way. ... used without interpreting ... is this a wildcard ... or bananas ?