Forum Discussion
James_Greenlee_
Nimbostratus
Oct 15, 2008iRule broken after code update?
So...I had a LB running 9.1.0 code with an iRule to take the two IP address coming into the Virtual Server and route each individual IP to a specific pool.
Here's the iRule...
when CLIENT_ACCEPTED {
if { [IP::addr [IP::remote_addr] equals 10.102.16.18 ] }
{
log local0. "Node IP address is: [IP::remote_addr] and sent to pri50"
pool prod_DP-MQ_pri50
}
elseif { [IP::addr [IP::remote_addr] equals 10.102.16.19 ] }
{
log local0. "Node IP address is: [IP::remote_addr] and sent to pri52"
pool prod_DP-MQ_pri52
}
}
After upgrading to 9.3.1 HF4 the rule has apparently stopped.
here's a TCPDump from the front of the LB...
19:33:10.933017 32.243.6.166.1414 > 10.102.16.19.52443: . ack 444 win 12008 (DF)
19:33:12.317238 10.102.16.18.39428 > 32.243.6.166.1414: . ack 445 win 16080 (DF)
19:33:13.207934 10.102.16.18.39429 > 32.243.6.166.1414: . ack 445 win 16080 (DF)
19:33:13.332083 10.102.16.18.39429 > 32.243.6.166.1414: P 444:888(444) ack 445 win 16080 (DF)
19:33:13.432016 32.243.6.166.1414 > 10.102.16.18.39429: . ack 888 win 32768 (DF)
19:33:14.209897 10.102.16.18.39428 > 32.243.6.166.1414: P 444:888(444) ack 445 win 16080 (DF)
19:33:14.309017 32.243.6.166.1414 > 10.102.16.18.39428: . ack 888 win 32768 (DF)
19:33:19.825583 10.102.16.19.52434 > 32.243.6.166.1414: . ack 445 win 16080 (DF)
19:33:20.825805 10.102.16.19.52434 > 32.243.6.166.1414: P 444:888(444) ack 445 win 16080 (DF)
19:33:20.832975 10.102.16.19.52443 > 32.243.6.166.1414: . ack 445 win 16080 (DF)
Now obviously...There's traffic from 10.102.16.18 and 10.102.16.19. Unfortunately...The log file contains NO entries for 16.18. But there's a whole buttload of entries for 16.19.
So I added this to the end of the iRule...
else { log local0. "Node IP address is: [IP::remote_addr] and failed." }
That did nothing either.
And what started this was the server admins seeing that there was no traffic on the pri50 pool server.
So...The F5 and this iRule are seemingly ignoring the .16.18 server.
I dunno. Help?
Thanks,
James
- hoolio
Cirrostratus
Hi James, - James_Greenlee_
Nimbostratus
Hey Aaron, - hoolio
Cirrostratus
Hi James,
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