Forum Discussion
daviddaoud2_205
Apr 25, 2008Nimbostratus
iRule to change IP destination
Hello,
I want to define an iRule for the following scenario:
A----- BIGIP ----> B
when A sends a packet to B, BIGIP should send it to C_pool. In C_pool, there is only one...
hooleylist
Apr 28, 2008Cirrostratus
Are you setting the pool in the rule in the CLIENT_ACCEPTED event? If so, can you disable address translation on the virtual server and test the following rule:
when CLIENT_ACCEPTED {
Check if the SIP method is NOTIFY
if {[SIP::method] equals "NOTIFY"} {
node 1.1.1.1 5060
}
}
Replace 1.1.1.1 with the actual pool member address. I think this should allow you to hard code the destination IP and port for SIP NOTIFY requests only.
You might also want to add a monitor to the SIPApplicationServer_pool and use logic in the rule to check that the pool is up before setting the node to use. You can use [active_members SIPApplicationServer_pool > 0] to see if there is at least one member marked up.
Aaron
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