Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

NAT on CSS

I have 2 identical IIS Webserver that host multiple sites. I also have 2 CSS11050 . The way I configured is to give each site its own public IP. As the number of sites increase, I run out of public IP address. I heard that CSS has NAT feature but I am not sure if it helps to solve my problem. Any advice would much appreciate.

Thanks

2 REPLIES
New Member

Re: NAT on CSS

Hi,

if you have configured some web sites with different IP addresses, how NAT can help you? The only way to solve your problem is configuring one IP address for many sites (in the frontend VLAN of CSS, but this is not related to NAT) and do balancing between the two servers. The way you can configure services (in the backend VLAN of CSS) can be various: you can configure just one Private IP for each server and associate every site to it or configure one private IP for each site of each server. In the first case you can choose to configure just one content for every site or one content for each site, in the second case you have to configure one content for each site.

This is an example of these configurations:

Suppose we have two sites,

www.site1.com

www.site2.com

each one corresponding (DNS entry) to public IP 194.30.12.13:

1a)

content SITES

vip address 194.30.12.13

protocol tcp

port 80

add service SITES_Srv1

add service SITES_Srv2

active

.............................

service SITES_Srv1

ip address 10.10.10.1

protocol tcp

port 80

keepalive type tcp

keepalive port 80

active

service SITES_Srv2

ip address 10.10.10.2

protocol tcp

port 80

keepalive type tcp

keepalive port 80

active

1b)

content SITE1

vip address 194.30.12.13

protocol tcp

port 80

url "//www.site1.com/"

add service SITE1_Srv1

add service SITE1_Srv2

active

content SITE2

vip address 194.30.12.13

protocol tcp

port 80

url "//www.site2.com/"

add service SITE2_Srv1

add service SITE2_Srv2

active

..........................

service SITE1_Srv1

ip address 10.10.10.1

protocol tcp

port 80

keepalive type http

keepalive method get

keepalive uri "//www.site1.com/"

active

service SITE1_Srv2

ip address 10.10.10.2

protocol tcp

port 80

keepalive type http

keepalive method get

keepalive uri "//www.site1.com/"

active

service SITE2_Srv1

ip address 10.10.10.1

protocol tcp

port 80

keepalive type http

keepalive method get

keepalive uri "//www.site2.com/"

active

service SITE2_Srv2

ip address 10.10.10.2

protocol tcp

port 80

keepalive type http

keepalive method get

keepalive uri "//www.site2.com"

active

--------------------------------------

2)

content SITE1

vip address 194.30.12.13

protocol tcp

port 80

url "//www.site1.com/"

add service SITE1_Srv1

add service SITE1_Srv2

active

content SITE2

vip address 194.30.12.13

protocol tcp

port 80

url "//www.site2.com/"

add service SITE2_Srv1

add service SITE2_Srv2

active

..........................

service SITE1_Srv1

ip address 10.10.10.1

protocol tcp

port 80

keepalive type http

keepalive method get

keepalive uri "/"

active

service SITE1_Srv2

ip address 10.10.10.2

protocol tcp

port 80

keepalive type http

keepalive method get

keepalive uri "/"

active

service SITE2_Srv1

ip address 20.10.10.1

protocol tcp

port 80

keepalive type http

keepalive method get

keepalive uri "/"

active

service SITE2_Srv2

ip address 20.10.10.2

protocol tcp

port 80

keepalive type http

keepalive method get

keepalive uri "/"

active

Bye.

Alessandro Sepiacci

alessandrosepiacci@hotmail.com

New Member

Re: NAT on CSS

Thanks a lot.

320
Views
0
Helpful
2
Replies
CreatePlease to create content