Forum Discussion
done_23947
Nimbostratus
Jun 25, 2010sending snmp request to same link
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]} {
snatpool snat_facstaff_network
**************************************************
} elseif { [matchclass [IP::remote_addr] equals $::alcatel_ATT_router] } {
pool ATT_router
forward
pool ISP_routers member 12.239.13.1
****************************************************
*
*
*
} elseif { [matchclass [IP::client_addr] equals $::neiu_dmz_subnets]} {
forward
pool ISP_routers member 64.107.163.1
} else {
return
}
}
- hoolio
Cirrostratus
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. - Chris_Miller
Altostratus
Does the poller have a private address? This should be a relatively easy iRulewhen CLIENT_ACCEPTED { if [IP::addr [IP::client_addr]] eq x.x.x.x { snatpool y.y.y.y pool z.z.z.z } }
- done_23947
Nimbostratus
Thanks, I believe it is working. - Chris_Miller
Altostratus
Posted By done on 06/29/2010 01:42 PM
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