We just added a third ISP and I’m having trouble snmp polling the new router 12.239.13.1. It works only if request goes out new link (direct connection), but round robins to other two ISP’s links and snmp doesn’t respond. I would like to send request to this device though its direct connection only but can get iRule to stick it to one link. I have tried snatpool, IP::client_addr, IP::remote_addr, new pool w/ only one member(ATT_router) and pool member 12
when CLIENT_ACCEPTED {
if { [matchclass [IP::client_addr] equals $::facstaff_network]} {
If it’s monitor requests, the traffic will be sourced from the Linux host and not use a virtual server. Or are you trying to poll the new router through LTM from another host? If the former, you should be able to just configure a route for the router pointing out the correct VLAN. For load balanced connections, you could create the same route and then create a forwarding virtual server on the same IP address as the router with no iRule. By default with such a VS, LTM will not answer ARP for the IP, but will accept traffic for that IP and forward it according to the routing table.
Does the poller have a private address? This should be a relatively easy iRule
when CLIENT_ACCEPTED {
if [IP::addr [IP::client_addr]] eq x.x.x.x {
snatpool y.y.y.y
pool z.z.z.z } }
where x.x.x.x is the IP of the poller, y.y.y.y is the snatpool containing a snat on the 12.239.13.1 network (or maybe use automap if you have a selfip there), and z.z.z.z is a pool that only contains the router 12.239.13.1.
Question. I notice when replacing one iRule w/ another it will take multiple iRule. Can I simple add another iRule (example above rule) and leave current rule in-place? Is this common?
Question. I notice when replacing one iRule w/ another it will take multiple iRule. Can I simple add another iRule (example above rule) and leave current rule in-place? Is this common?