Forum Discussion

keiti_4329's avatar
keiti_4329
Icon for Nimbostratus rankNimbostratus
Jun 11, 2015

How to lease static ip on APM

Hi all, We using APM(11.6.0) and I have a question.

 

Is it possible to assign static IP to Usernames without using lease pools(dynamic assign)?

 

ex)1.1.1.1 for user1, 1.1.1.2 for user2

 

Please let me know how to configure it..

 

6 Replies

  • very easy to do with irule and datagroup. irule will look like this:

     

    when ACCESS_POLICY_AGENT_EVENT { if { [ACCESS::policy agent_id] eq "customer_static_ip_table" } { ACCESS::session data set session.requested.clientip [class lookup [ACCESS::session data get "session.logon.last.username"] customer_static_ip_table ] } }

     

    datagroup is called customer_static_ip_table where you add usernames and ip addresses. add an irule event in access policy where you define the irule.

     

    F5 told us that localuserDB is not recommended on APM....?

     

    • boneyard's avatar
      boneyard
      Icon for MVP rankMVP
      >> F5 told us that localuserDB is not recommended on APM....? in what context exactly?
  • On firepass we had over 7000 local defined users, our consultant mentioned this is not possible on APM regarding the fact it will be too much resource consuming.