Thanks for this.I'll report what Wiki says:
Script that will be executed after lease is assigned or de-assigned. Internal "global" variables that can be used in the script:
leaseBound - set to "1" if bound, otherwise set to "0"
leaseServerName - dhcp server name
leaseActMAC - active mac address
leaseActIP - active IP address
Script is triggered everytime a lease is bound, offered, busy, unbound etc.
You can use leaseBound variable to make script do something when a client correctly gets an IP from DHCP and when he lose it.
For example I made a script that, when a client is bound, it takes IP, checks in neighbor if the client is MK and if yes it adds a dynamic dst-nat rule to connect to, with client MAC address as comment.
When the lease is released, the script disable that dynamic NAT, adding in the comment date and time.
With this script I can install N hAP and I don't need to NAT them.
Is there any way to see these values via CLI in the terminal windows to get there current status?I'll report what Wiki says:
Script that will be executed after lease is assigned or de-assigned. Internal "global" variables that can be used in the script:
leaseBound - set to "1" if bound, otherwise set to "0"
leaseServerName - dhcp server name
leaseActMAC - active mac address
leaseActIP - active IP address
Script is triggered everytime a lease is bound, offered, busy, unbound etc.
You can use leaseBound variable to make script do something when a client correctly gets an IP from DHCP and when he lose it.
For example I made a script that, when a client is bound, it takes IP, checks in neighbor if the client is MK and if yes it adds a dynamic dst-nat rule to connect to, with client MAC address as comment.
When the lease is released, the script disable that dynamic NAT, adding in the comment date and time.
With this script I can install N hAP and I don't need to NAT them.
I don't know, but I think not.Is there any way to see these values via CLI in the terminal windows to get there current status?I'll report what Wiki says:
Script that will be executed after lease is assigned or de-assigned. Internal "global" variables that can be used in the script:
leaseBound - set to "1" if bound, otherwise set to "0"
leaseServerName - dhcp server name
leaseActMAC - active mac address
leaseActIP - active IP address
Script is triggered everytime a lease is bound, offered, busy, unbound etc.
You can use leaseBound variable to make script do something when a client correctly gets an IP from DHCP and when he lose it.
For example I made a script that, when a client is bound, it takes IP, checks in neighbor if the client is MK and if yes it adds a dynamic dst-nat rule to connect to, with client MAC address as comment.
When the lease is released, the script disable that dynamic NAT, adding in the comment date and time.
With this script I can install N hAP and I don't need to NAT them.
No it's not, i've tried it.. It's only triggered on a bound eventScript is triggered everytime a lease is bound, offered, busy, unbound etc.