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

do you mean to use specific snat ip based on time? if yes, there is sample in codeshare below.

Time based iRule example

snat wiki

hope this helps.

do you mean to use specific snat ip based on time? if yes, there is sample in codeshare below.

Time based iRule example

snat wiki

hope this helps.

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?

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?

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.htm

e.g.

% put [clock scan "00:01:00 today"]
1381852860
% put [clock scan "05:00:00 today"]
1381870800