Forum Discussion
assaf_benedic_1
Nimbostratus
Aug 02, 2007iRule for address translation and port port traslation
Hi,
How can I create an iRule that do a layer 3 redirection (address translation + port translation) without creating a virtual server that supports that?
The reason -
* ...
assaf_benedic_1
Nimbostratus
Aug 02, 2007Thank you for the reply.
You are correct, except that for the first node I don't want to apply port/address translation and for the second node I want to apply port+address translation.
I'll try to explain what I mean by Layer2 and layer3 redirection
Layer 2 redirection -
When the F5 redirect traffic to a node it changes only the destination MAC and keep the original destination IP and the original destination port.
Layer 3 redirection -
When the F5 redirect traffic to a node it changes the destination MAC, destination IP Address and the destination port according to the member configuration.
My virtual server intercept port 80 (virtual server destination 0.0.0.0) and load balance the traffic to a pool with two members. One member accept layer2 redirection and the other member accept only layer3 redirection.
Till now I used two different virtual servers to implement that.
The first virtual server redirected traffic from client A to member A in Layer2 (address and port translations checkboxes are unchecked) and the second virtual server redirected traffic from client B to member B in Layer 3 (address and port translations checkboxes are checked).
I can't use two virtual servers now because both clients (A,B) can use both members.
Assaf.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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