06-04-2002 10:53 AM
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
06-14-2002 05:06 AM
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,
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
07-08-2002 02:22 PM
Thanks a lot.
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