Forum Discussion
Jason_Keating
Altostratus
Mar 04, 2008IP Forwarding or Multiple VLANs
Hi,
I have some virtual servers on my external VLAN and a search engine on my internal VLAN, I'm using the search engine to index content on the virtual servers.
I see two ways of doing this...
1. IP Forwarding virtual server on all VLANS for addresses/network of the virtual servers on my external VLAN and SNAT
2. Bind the virtual servers I wish to index on the external AND internal VLAN, use SNAT.
Which of these is preferable? I'm thinking IP forwarding might be a more old school solution, but binding the virtual servers to the internal VLAN would certainly be easier and take advantage of the LTM flexibility, ( I am leaning toward the latter)
Can anyone advise? particularly if one is less secure than the other?
Cheers
J
- The_Bhattman
Nimbostratus
It sounds like you want something called VIP bounceback.when CLIENT_ACCEPTED { if { [matchclass [IP::remote_addr] equals $::dg_internal]} { snat automap } }
when CLIENT_ACCEPTED { switch [IP::remote_addr] { "IP ADDRESS/MASK" { snat automap } "2nd IP ADDRESS/MASK" { snat automap } } }
- hoolio
Cirrostratus
j.thomson posted an elegant solution for applying a SNAT only when the client and destination host are on the same subnet:when LB_SELECTED { if {[IP::addr "[IP::client_addr]/24" equals "[LB::server addr]/24"]} { snat automap } }
- Jason_Keating
Altostratus
Brilliant stuff! Thanks CB, thanks Aaron.
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