# Persistence Question

**URL:** <https://community.f5.com/t/persistence-question/33731>\
**Category:** Technical Forums\
**Tags:** design, config\
**Created:** [January 15, 2013, 4:58pm UTC](https://community.f5.com/t/persistence-question/33731 "2013-01-15T16:58:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Greg\_33932](https://avatars.discourse-cdn.com/v4/letter/g/5f9b8f/32.png) [@Greg\_33932](https://community.f5.com/u/Greg_33932)\
**Post date:** [January 15, 2013, 4:58pm UTC](https://community.f5.com/t/persistence-question/33731/1 "2013-01-15T16:58:51Z")

</div>

Hello, I did some searching and was not able to find anything that would clearify how presistence is handled between 2 pairs of F5 LTM’s and snat addresses.

Config:

**External client (Source) -\>F5 LTM pair with snat addr (LTM1) → apache pair (PRX) → F5 pair with snat addr (LTM2) → application server pair (APP)**

Below are 2 presistence profiles I’m interested in:

- **Cookie persistence**

- **Source address affinity persistence**

Question:

1. With Cookie presistence, if I set the LTM2 with will the cookie presistance will the cookie come from the source client machine or from the LTM1?

2. With Source address affinity presistence, if I set the LTM2 with will the Source addr presistance come from the source client machine or from the LTM1 snat IP?

3. With eaither of these profiles, will I need to have presistance set on both LTM1 and LTM2 for it to work properly?

Thanks in advance!

-Greg Wilson

---

<div class="post-metadata">

**Author:** ![nitass](https://d1p9zq3aats0t8.cloudfront.net/user_avatar/community.f5.com/nitass/32/2270_2.png) [@nitass](https://community.f5.com/u/nitass)\
**Post date:** [January 15, 2013, 7:18pm UTC](https://community.f5.com/t/persistence-question/33731/2 "2013-01-15T19:18:44Z")

</div>

1. With Cookie presistence, if I set the LTM2 with will the cookie presistance will the cookie come from the source client machine or from the LTM1?persistence cookie will be inserted by ltm2 in the first http response to client. client will send the cookie in subsequent request and ltm2 will use it to send the request to server client previously connects.

2. With Source address affinity presistence, if I set the LTM2 with will the Source addr presistance come from the source client machine or from the LTM1 snat IP?ltm1 snat ip.

3. With eaither of these profiles, will I need to have presistance set on both LTM1 and LTM2 for it to work properly?persistence profile is not needed on ltm1 if you do not want to persistence to the same apache server.

hope this helps.

---

<div class="post-metadata">

**Author:** ![Greg\_33932](https://avatars.discourse-cdn.com/v4/letter/g/5f9b8f/32.png) [@Greg\_33932](https://community.f5.com/u/Greg_33932)\
**Post date:** [January 15, 2013, 7:54pm UTC](https://community.f5.com/t/persistence-question/33731/3 "2013-01-15T19:54:03Z")

</div>

Thanks for the quick response!

Take care!
