Forum Discussion

Vishal_Bhugra_1's avatar
Vishal_Bhugra_1
Icon for Nimbostratus rankNimbostratus
Aug 13, 2015

iRule Nexthop

Hello Experts

 

I am new to irule, currently we are running 11.4.1.

 

we have an iRULE wherein we send the traffic to particular pool depending on the datagroup it matches.

 

Now to isolate an issue, I want to create a scenario wherein client traffic will hit the F5, but instead sending to server it will send back to client side to which it is directly connected.

 

I tried to achieve this using

 

elseif { [class match [IP::client_addr] equals "JAPAN_GEO"] } { nexthop VOE_CLIENT_702 172.16.100.17%702 }

 

elseif { [class match [IP::client_addr] equals "JAPAN_GEO"] } { nexthop external 54:75:d0:ae:de:80 }

 

172.16.100.17 is the IP of my router from which the Client traffic is coming to F5.

 

Need your assistance.