Hello, I'm trying to implement ADSL service via cisco router by NAS, FreeRADIUS 2.1.3 by AAA server and daloRADIUS. On the cisco router I defined some policy-map for traffic shape. In the radgroupreply table contains following attribute with value. "cisco-avpair", ":= ", "ip:sub-policy-Out=512Kbps" Question is How to define 2 difference policy-map on the one user in FreeRADIUS Databse. example: "cisco-avpair", ":= ", "ip:sub-policy-Out=512Kbps" "cisco-avpair", ":= ", "ip:sub-policy-Out=1Mbps" Really appreciate any help. Sincerely, Tseveen
I'm trying to implement ADSL service via cisco router by NAS, FreeRADIUS 2.1.3 by AAA server and daloRADIUS. On the cisco router I defined some policy-map for traffic shape. In the radgroupreply table contains following attribute with value. "cisco-avpair", ":= ", "ip:sub-policy-Out=512Kbps"
Question is
How to define 2 difference policy-map on the one user in FreeRADIUS Databse.
example:
"cisco-avpair", ":= ", "ip:sub-policy-Out=512Kbps" "cisco-avpair", ":= ", "ip:sub-policy-Out=1Mbps"
Use different operator (+=): http://wiki.freeradius.org/Operators Ivan Kalik Kalik Informatika ISP
Hello Ivan Kalik Thank you very much for your help. I didn't implement 2 different attribute on the one user by myself. I was trying to do following If packet goes to subnet 192.168.0.0/24 then router should use policy-map 512Kbps. If packet goes to subnet any then router should use policy-map 256Kbps. Note: policy-map already done on cisco router. How to define above policy in the FreeRADIUS. Best regards, Tseveen. tnt@kalik.net wrote:
I'm trying to implement ADSL service via cisco router by NAS, FreeRADIUS 2.1.3 by AAA server and daloRADIUS. On the cisco router I defined some policy-map for traffic shape. In the radgroupreply table contains following attribute with value. "cisco-avpair", ":= ", "ip:sub-policy-Out=512Kbps"
Question is
How to define 2 difference policy-map on the one user in FreeRADIUS Databse.
example:
"cisco-avpair", ":= ", "ip:sub-policy-Out=512Kbps" "cisco-avpair", ":= ", "ip:sub-policy-Out=1Mbps"
Use different operator (+=):
http://wiki.freeradius.org/Operators
Ivan Kalik Kalik Informatika ISP
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
I didn't implement 2 different attribute on the one user by myself. I was trying to do following
If packet goes to subnet 192.168.0.0/24 then router should use policy-map 512Kbps. If packet goes to subnet any then router should use policy-map 256Kbps.
Note: policy-map already done on cisco router.
How to define above policy in the FreeRADIUS.
You can't. That's not done by radius. Ivan Kalik Kalik Informatika ISP
tnt@kalik.net wrote:
I didn't implement 2 different attribute on the one user by myself. I was trying to do following
If packet goes to subnet 192.168.0.0/24 then router should use policy-map 512Kbps. If packet goes to subnet any then router should use policy-map 256Kbps.
Note: policy-map already done on cisco router.
How to define above policy in the FreeRADIUS.
You can't. That's not done by radius.
Ivan Kalik Kalik Informatika ISP
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Thank you.
participants (2)
-
tnt@kalik.net -
Tseveendorj