Forum Discussion
Roark_Fisher_29
Nimbostratus
May 01, 2006Outbound routing based upon source IP
I hope the intellects here may be able to help me with a confusing setup. I worked for 3 days with F5 tech support on this and they finally sent me here.
I have about a dozen T1 lines tha...
JRahm
Admin
May 02, 2006The iRule should be associated to the 0.0.0.0/0 network forwarding virtual you created. Also, I'd like to note that I lock down this virtual to only the internal VLAN's, so external traffic won't be forwarded to internal networks. I'd be curious if the iRule is being triggered before/after the nat occurs? Might add some logging to find out:
when CLIENT_ACCEPTED {
set my_gw [findclass [IP::client_addr] $::snat_gw " "]
if { $my_gw ne "" } {
log "My gateway is $my_gw and my client IP is [IP::client_addr]"
node $my_gw
} else {
log "My client IP is [IP::client_addr]"
discard
}
}
The logs are in /var/log/ltm
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