cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1413
Views
10
Helpful
8
Replies
Highlighted
Beginner

Ip nat issue using multiple web servers

I currently have a webserver that is used for another business and I just install another webserver for another company.

on my router I have a IP NAT statement that reads as such:

ip nat inside source static tcp 192.168.2.248 80 203.153.225.77 80 extendable

this allows the 1st webserver access to and from the Internet. 

When I try to add another line with a different IP Address such as

ip nat inside source static tcp 192.168.2.249 80 203.153.225.77 80 extendable

The router gives me an error stating the following:

% similar static entry (192.168.2.248 -> 203.153.225.77) already exists

I understand that this can be confusing in that packets destined for port 80 will go to the server .248, but is there a way to allow packet for port 80 to go to another server also? What is a better solution when using 2 webservers?

Thanks

Jon

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Cisco Employee

Re: Ip nat issue using multiple web servers

Gr8. Mark this post answered for other to refer in future.

View solution in original post

8 REPLIES 8
Highlighted
Cisco Employee

Re: Ip nat issue using multiple web servers

Hello Jon,

In case you wish to host multiple servers from inside, either you can use different ports redirecting to the servers on port 80. But, i am sure that will not solve your purpose. Another option is to use a different free public IP which is not port forwarding on port 80.

Server 1 (x.x.x.10 Port 80) ----> Public IP x.x.x.111 Port 80

Server 2 (x.x.x.11 Port 80) ----> Public IP x.x.x.112 Port 80

Hope this helps. Please reply back if you need any further assistance.

Regards,
Chirag
P.S.: Please mark this thread as answered if you feel your query is answered. Do rate helpful posts.

Highlighted
Beginner

Re: Ip nat issue using multiple web servers

So if I understand you correctly I will need another public IP address from my isp, is this correct?

Jon

Highlighted
Cisco Employee

Re: Ip nat issue using multiple web servers

Hi Jon,

Yes, to use port 80 for redirection you will require a new public IP.

Hope this helps. Please reply back if you need any further assistance.

Regards,
Chirag
P.S.: Please mark this thread as answered if you feel your query is answered. Do rate helpful posts.

Beginner

Re: Ip nat issue using multiple web servers

I kinda thought that might be the case... ok thanks for confirming that... I'll give it a go and report back.

Highlighted
Cisco Employee

Re: Ip nat issue using multiple web servers

Gr8. Mark this post answered for other to refer in future.

View solution in original post

Highlighted
Beginner

Ip nat issue using multiple web servers

Highlighted
Beginner

Ip nat issue using multiple web servers

Hello,

How are you? I am in big trouble I am unable to configure 1 web server which is inside my organization. Can you please send your router running configuration. I need to configure it is very urgent please. Thank you.

Also Have a look at the links. Let me know Is there anything that is wrong with my configuration. Thank you.

https://supportforums.cisco.com/thread/2231684

https://learningnetwork.cisco.com/message/320091#320091

However, I can access web server Inside the organization but not from outside. Thank you.

Highlighted
Engager

Ip nat issue using multiple web servers

hi lili,

please try avoiding duplicate posts.

i've made a reply over the WAN section/forum.

https://supportforums.cisco.com/message/4006724#4006724