Forum Discussion
Shay_Ben-David1
Nimbostratus
Feb 19, 2007access VIP from internal VLAN on the bigip with SNAT
Hi, i have bigip in a routed topology with two vlan interfaces (external to internet, and internal to LAN), only way to go from my internal vlan to the VIPs is with SNAT on the VIP with Auto Map confi...
hoolio
Cirrostratus
Feb 19, 2007You could use a past example to apply a SNAT only when the client IP address is on the same /24 subnet as the server.Click here
when LB_SELECTED {
if {[IP::addr "[IP::client_addr]/24" equals "[LB::server addr]/24"]} {
snat automap
}
} IP::client_addr is resolved to the client IP address. The /24 gets just the first three octets of the IP address and does a comparison against the network of the server address. If they match, then the request is SNAT'd.
Aaron
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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