05-19-2011 04:44 AM
I'm having difficulties with a new loadbalncer setup.
The load balancer is implemented on one logical segment , ip range 172.16.211.0/24
Both sources and destinations (clients and servers) are on this segment.
Traffic from source to destination , and visa versa, need to go via the loadbalancer.
No "direct server return" is permitted here, this is not supported on the servers (appliances)
How can I perform that do I have to use source NAT here, if yes How do I implement this?
See the config below which I have at this moment
interface vlan 211
ip address 172.16.211.121 255.255.255.0
service-policy input int211
policy-map multi-match int211
class VS-DRM-NVCAS1772
loadbalance vip inservice
loadbalance policy VS-DRM-NVCAS-l7slb-1772
class-map match-all VS-DRM-NVCAS1772
2 match virtual-address 172.16.211.18 tcp eq 1772
policy-map type loadbalance first-match VS-DRM-NVCAS-l7slb-1772
class class-default
serverfarm SF-DRM-NVCAS1772
serverfarm host SF-DRM-NVCAS1772
predictor leastconns
probe VRA-1772
rserver RS-DRM-NVCAS1 1772
inservice
rserver RS-DRM-NVCAS2 1772
inservice
rserver host RS-DRM-NVCAS1
ip address 172.16.211.42
probe VCA-12695
probe VRA-1772
probe VSS-12693
inservice
rserver host RS-DRM-NVCAS2
ip address 172.16.211.43
probe VCA-12695
probe VRA-1772
probe VSS-12693
inservice
Solved! Go to Solution.
05-19-2011 05:19 AM
Hi,
Refer the doc below. The same is documented here with sample config.
For your setup:
interface vlan 211
ip address 172.16.211.121 255.255.255.0
service-policy input int211
nat-pool 5 172.16.211.x 172.16.211.y netmask 255.255.255.0 pat
policy-map multi-match int211
class VS-DRM-NVCAS1772
loadbalance vip inservice
loadbalance policy VS-DRM-NVCAS-l7slb-1772
nat dynamic 5 vlan 211
-
Siva
05-19-2011 05:19 AM
Hi,
Refer the doc below. The same is documented here with sample config.
For your setup:
interface vlan 211
ip address 172.16.211.121 255.255.255.0
service-policy input int211
nat-pool 5 172.16.211.x 172.16.211.y netmask 255.255.255.0 pat
policy-map multi-match int211
class VS-DRM-NVCAS1772
loadbalance vip inservice
loadbalance policy VS-DRM-NVCAS-l7slb-1772
nat dynamic 5 vlan 211
-
Siva
05-23-2011 09:30 PM
Siva is right.
Additionally, Here you have another document:
Natpool would do the trick
Jorge Bejarano
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide