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...
daviddaoud2_205
Apr 27, 2008Nimbostratus
Ok sorry for not being clear. Here is the exact scenario;
A, B, C are three machines physically connected to the BIG-IP which functions in transparent mode. A, B, C have all three real IP in my network ; let's say 192.168.100.1, 192.168.100.2, 192.168.100.3.
What I am doing currently is that I have defined a Pool with only one member which is C. I have written an iRule that sends the packet coming from A going to B to C. I used simply the command pool Pool_with_C.
This iRule works BUT BIG-IP only redirects the packet (i.e. change only the MAC address). I would like that BIG-IP changes also the layer 3 i.e. the destination IP address (B <-> C). C should then receive the packet with a source IP of 192.168.100.1 and a destination address of 192.168.100.3 and not 192.168.100.2.
Is that clearer ?
Thanks again for your help,
David.
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