is this possible ? ![]()
*updated again by my self - see below..(Updated answers + (proper way to add custom attributes))
Mikrotik.Radius.Dynamic.VLAN-small.jpg
- What is the correct way for typing “custom attribute”. (i have added these attributes to “../dictionary.mikrotik”)
- Attribute1_Text=“value”,Attribute2_Text=“value” (attributes inline comma separated).
-
Is radius attributes case-sensitive ? (as typed in dictionary)
+Tested and it is not “case-sensitive”. -
Is local-forwarding possible on this kind of setup ? (dynamic vlan + hotspot)
+local-forwarding possible with Mac Account. (do not know as “Regular user” and with Hotspot) -
Can dynamic vlan be done with wireless-fp package ? (loosing central management etc..)
A=10
B=11
Custom Radius Attribute
################################
Mikrotik_Wireless_VLANID=“0x0000000B”,Mikrotik_Wireless_VLANIDtype=“0x00000000”
################################
#radtest -x user pass localhost 1812 secret123
++[sqlippool] returns noop
Exec-Program output: Mikrotik-Rate-Limit=“5242880/10485760”,Mikrotik_Wireless_VLANID=“0x0000000B”,Mikrotik_Wireless_VLANIDtype=“0x00000000”,
Exec-Program-Wait: value-pairs: Mikrotik-Rate-Limit=“5242880/10485760”,Mikrotik_Wireless_VLANID=“0x0000000B”,Mikrotik_Wireless_VLANIDtype=“0x00000000”
Exec-Program: returned: 0
++[exec] returns ok
Sending Access-Accept of id 186 to 127.0.0.1 port 39523
Mikrotik-Rate-Limit = “5242880/10485760”
Mikrotik_Wireless_VLANID = 11
Mikrotik_Wireless_VLANIDtype = 0
Finished request 0.
Going to the next request
Waking up in 4.9 seconds.
Cleaning up request 0 ID 186 with timestamp +102
Ready to process requests.
#####################################
#radiusd -X
rad_recv: Access-Accept packet from host 127.0.0.1 port 1812, id=186, length=68
Mikrotik-Rate-Limit = “5242880/10485760”
Mikrotik_Wireless_VLANID = 11
Mikrotik_Wireless_VLANIDtype = 0
##################################
VLANs are working with multiple SSID…
Mikrotik.Multiple.SSID.VLAN-small.jpg
br.
.k