Forum Discussion
John_Alam_45640
May 16, 2012Historic F5 Account
You cannot use a virtual as a pool member on the same BigIP LTM. (though the GUI allows it)
Even if it did work, you would still have to have everyone change their DNS entries to point to the third virtual. I don't see the benefit.
If it is the backend pools you are concerned about, use an irule like this on one of the virtuals, and only have one region change.
when CLIENT_ACCEPTED { if { [IP::remote_addr] starts with "10" } { pool regionA_pool } else { pool regionA_pool } }
If you must LB between virtuals, then use something like this iRule on one of the virtuals:
use the "virtual" command: https://devcentral.f5.com/wiki/iRules.virtual.ashx
when CLIENT_ACCEPTED { if { [IP::remote_addr] starts with "10" } { virtual regionA_virt } else { virtual regionA_virt } }
HTH.