Forum Discussion
Donnie_94135
Nimbostratus
Jan 29, 2008UIE - Source Mac Address
I have two GTMs. Each has its own ISP. I would like traffic bound for GTM-1 through ISP1 to go to Pool Member 1 on a VS. And I would like traffic bound for GTM-2 through ISP-2 to go to Pool Member 2...
JRahm
Admin
Jan 29, 2008You could use LINK::lasthop, but unfortunately that is not a valid command for GTM. If your GTM's are in different vlan's, you can do this:
when DNS_REQUEST {
if { [LINK::vlan_id] eq "10" } {
log local0. "Connection is from RTR1"
pool myPool-http member 10.1.1.10
} elseif { [LINK::vlan_id] eq "20" } {
log local0. "Connection is from RTR2"
pool myPool-http member 10.1.2.10
}
}
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