proxy/home-server, could be set dynamically?
Hi, The "home-server", could be set dynamically? because today I have used the below approach. # 1) list of tens and tens of homeservers that is used the ident based on NAS-Identifier home_server coa_SAME_NAS_IDENTIFIER1 { type = coa secret = hello ipaddr = 1.2.3.4 port = 3799 proto = udp revive_interval = 10 status_check = none check_interval = 10 num_answers_to_alive = 3 } home_server_pool coa_pool_SAME_NAS_IDENTIFIER1 { type = fail-over home_server = coa_SAME_NAS_IDENTIFIER1 } ..... same thing to another servers. # 2) in the recv-coa, I have recv-coa { ...... update control { &Home-Server-Pool := "coa_pool_%{NAS-Identifier}" } ...... } --------- Conclusion: I would like to know if have some way to set a values of Home-Server dynamically. -- Jorge Pereira
On Sep 15, 2015, at 1:41 PM, Jorge Pereira <jpereiran@gmail.com> wrote:
The "home-server", could be set dynamically? because today I have used the below approach. ... # 2) in the recv-coa, I have recv-coa { ...... update control { &Home-Server-Pool := "coa_pool_%{NAS-Identifier}" }
That should work. The Home-Server-Pool attribute is just a string. It can be set from anywhere, but any method. Alan DeKok.
participants (2)
-
Alan DeKok -
Jorge Pereira