I have one web server attached on a Catalyst and then with NAT it can be accessed from the Internet through the PIX. The default gateway of the web server is the PIX. Now, I want to connect the second network interface of the web server on the CSS and then again through the Catalyst and PIX it can be accessed from the Internet. What I have I done so far is to assign an IP address on the second interface which is on the same class with the first interface and as a gateway I assigned the CSS IP address, on the CSS the default gateway is the PIx. So far everything works as I wanted:
- the web server can be accessed directly through the first network interface
- it can also be accessed through the second network interface
- I can also use the web service through the VIP on the CSS
I have a concern if am I doing anything wrong with the second network interface that has an IP address on the same class with the first interface, and also is it correct to have two default gateways?