Forum Discussion
IRULE SNAT FOR DIFERENT TIME
Helo
I am the administrator of a balancer ltm 6800 have version 10.2.4, which we use for corporate email solution within the current configuration requires adding a new address for delivery of emails, but outgoing mail is configured a load snat pool where routing is used to deliver mails, by necessity required to service these new IP that 200.26.137.39 our case is used for sending emails in a time frame of two hours.
I have a pool snat
181.48.12.132 181.48.12.133 181.48.12.134 181.48.12.135 181.48.12.136 181.48.12.137 200.26.137.39 200.26.137.62
5 Replies
- nitass_89166
Noctilucent
do you mean to use specific snat ip based on time? if yes, there is sample in codeshare below.
Time based iRule example
https://devcentral.f5.com/wiki/irules.Time-based-iRule-example.ashxsnat wiki
https://devcentral.f5.com/wiki/iRules.snat.ashxhope this helps.
- JAIME_QUIROGA_1
Nimbostratus
Thanks for the link but I have a question I need this to enable every day from 00:00 to 5:00 a.m.. As I can define slots?
- nitass
Employee
do you mean to use specific snat ip based on time? if yes, there is sample in codeshare below.
Time based iRule example
https://devcentral.f5.com/wiki/irules.Time-based-iRule-example.ashxsnat wiki
https://devcentral.f5.com/wiki/iRules.snat.ashxhope this helps.
- JAIME_QUIROGA_1
Nimbostratus
Thanks for the link but I have a question I need this to enable every day from 00:00 to 5:00 a.m.. As I can define slots?
- nitass
Employee
I need this to enable every day from 00:00 to 5:00 a.m.. As I can define slots?
clock scan also accepts relative time.
clock
http://www.tcl.tk/man/tcl8.6/TclCmd/clock.htme.g.
% put [clock scan "00:01:00 today"] 1381852860 % put [clock scan "05:00:00 today"] 1381870800
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com