Forum Discussion
semperfiguy_759
Nimbostratus
Feb 01, 2010link controller outbound
Is there a way, besides an iRule, to configure link controller to SNAT outbound traffic to a specific IP address on link 1 unless that link is down?
I have the following iRule on a forwarding virtual.
when CLIENT_ACCEPTED {
check pool member availability
if { [LB::status pool DG_Pool member 5.5.5.1 0 ] ne "down" } {
snat using ISP1
snat 15.5.5.5
} else {
Use ISP2
snat 6.6.6.6
}
}
The customer wants a non-iRule solution if possible.
1 Reply
Sort By
- hoolio
Cirrostratus
I don't think there is a way to force LC to select a specific SNAT address without using an iRule. However, if you had the two ISP links set on different VLANs and enabled SNAT automap on the VIP, LC would select the floating self IP for the egress VLAN to source the traffic from. You could use priority groups in a default gateway pool to select ISP1 by default. ISP2's gateway would only be used if ISP is marked down.
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects