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 ?
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?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
#### 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
}
}
####
.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.