Forum Discussion
Right. Irules are very basic ones.
Can you please post virtual and pool configurations (hide your confidential information).
- newf5learnerOct 27, 2017Nimbostratus
Note : For time being I have removed the irule, so you will not find the references for it in the VIP config. However, I have added the irule to the VIP while testing my connection. And the configuration is created using iApps.
ltm virtual /Common/test_deccan_charges_http.app/test_deccan_charges_http_vs { app-service /Common/test_deccan_charges_http.app/test_deccan_charges_http destination /Common/10.241.11.201:80 fallback-persistence /Common/test_deccan_charges_http.app/test_deccan_charges_http_source-addr-persistence ip-protocol tcp mask 255.255.255.255 persist { /Common/test_deccan_charges_http.app/test_deccan_charges_http_cookie-persistence { default yes } } profiles { /Common/test_deccan_charges_http.app/test_deccan_charges_http_http { } /Common/test_deccan_charges_http.app/test_deccan_charges_http_oneconnect { } /Common/test_deccan_charges_http.app/test_deccan_charges_http_optimized-caching { } /Common/test_deccan_charges_http.app/test_deccan_charges_http_tcp-lan-optimized { context serverside } /Common/test_deccan_charges_http.app/test_deccan_charges_http_tcp-wan-optimized { context clientside } /Common/test_deccan_charges_http.app/test_deccan_charges_http_wan-optimized-compression { } } source 0.0.0.0/0 source-address-translation { type automap } translate-address disabled translate-port enabled vlans { /Common/internal } vlans-enabled } ltm persistence source-addr /Common/test_deccan_charges_http.app/test_deccan_charges_http_source-addr-persistence { app-service /Common/test_deccan_charges_http.app/test_deccan_charges_http mirror disabled } ltm profile http /Common/test_deccan_charges_http.app/test_deccan_charges_http_http { app-service /Common/test_deccan_charges_http.app/test_deccan_charges_http defaults-from /Common/http insert-xforwarded-for enabled redirect-rewrite none } ltm profile one-connect /Common/test_deccan_charges_http.app/test_deccan_charges_http_oneconnect { app-service /Common/test_deccan_charges_http.app/test_deccan_charges_http defaults-from /Common/oneconnect source-mask 255.255.255.255 } ltm profile tcp /Common/test_deccan_charges_http.app/test_deccan_charges_http_tcp-lan-optimized { app-service /Common/test_deccan_charges_http.app/test_deccan_charges_http defaults-from /Common/tcp-lan-optimized } ltm profile tcp /Common/test_deccan_charges_http.app/test_deccan_charges_http_tcp-wan-optimized { app-service /Common/test_deccan_charges_http.app/test_deccan_charges_http defaults-from /Common/tcp-wan-optimized } ltm profile web-acceleration /Common/test_deccan_charges_http.app/test_deccan_charges_http_optimized-caching { app-service /Common/test_deccan_charges_http.app/test_deccan_charges_http applications none cache-object-max-size 2000000 cache-size 10mb defaults-from /Common/optimized-caching } ltm pool /Common/Pool_DATA_DC_8184 { load-balancing-mode least-connections-member members { /Common/10.241.11.56:8184 { address 10.241.11.56 } /Common/10.241.11.57:8184 { address 10.241.11.57 } /Common/10.241.11.58:8184 { address 10.241.11.58 } }
- Stanislas_Piro2Oct 27, 2017Cumulonimbus
Hi,
how this VS works when you remove the irule? the parameter
will send the packet without changing the destination address from the VS address to the pool member address.translate-address disabled
- newf5learnerOct 27, 2017Nimbostratus
what I meant was, I have included the irule when was testing. As I was doing multiple testings (with and without irule) I pasted here the config of the VIP. I have copied the config when I removed the irule, but when I test with irule I had it included under the VIP..
- Stanislas_Piro2Oct 27, 2017Cumulonimbus
I understood that.
I only answered that with or without irule, your VS configuration must not work!
- newf5learnerOct 27, 2017Nimbostratus
thank you. that was the issue. nice catch. I didnt look at it keenly as i have hosted the vip through the iApps template.
- newf5learnerOct 30, 2017Nimbostratus
Thank you all for your suggestions. I tested the configuration once again.
The key point that I had to note was, when I use iApps to launch a VIP, the
getsTranslate-address
by default when I choose the option to create a new pool from the iApps configuration screen. However, when I choose the option 'Don't use a pool' and tag an irule, theenabled
option will beTranslate-Address
.disabled
Not really sure if this is a expected behavior in version 12.1. As for as I remember, in version 11, this was not the case!!