11-15-2011 12:55 PM - edited 03-07-2019 03:24 AM
Hi,
I am trying to do a port mapping from a gloabal serial interface a private address on the LAN.
Adding the first one was ok. The problem comes when trying to add e a similar statement using the same port on a diffirent LAN IP as seen below.
ip nat inside source static tcp 192.168.0.6 4899 202.16.xxx.xxx 4899 extendable
ip nat inside source static tcp 192.168.0.50 4899 202.16.xxx.xxx 4899 extendable
error %similar static entry (192.168.0.6 -> 202.16.xxx.xxx) already exits
Any way around this problem will be much appreciated.
Regards,
Ruveni
Solved! Go to Solution.
11-15-2011 01:46 PM
Hi,
If they are used simultaneously the easiest way is to give them different ports from outside.
ip nat inside source static tcp 192.168.0.6 4899 202.16.xxx.xxx 4899 extendable
ip nat inside source static tcp 192.168.0.50 4899 202.16.xxx.xxx 4898 extendable
If this is for radmin just setup the radmin client to connect to port 4899 on 202.16.xxx.xxx. And the client for the other to connect to port 4898 on 202.16.xxx.xxx. On inside lan you do not have to change the ports, just when you connect from outside.
Please rate if helpful.
Best regards,
Alex
11-15-2011 01:47 PM
Hi,
ip nat inside source static tcp 192.168.0.6 4899 202.16.xxx.xxx 4899 extendable
ip nat inside source static tcp 192.168.0.50 4899 202.16.xxx.xxx 4900 extendable
Regards.
Alain
11-15-2011 01:11 PM
Hi Ruveni,
What are you trying to achieve? As it looks you are trying to get on the same port two different hosts? What is your goal? E.g. Now if you map port 80 on your outside ip to two machines how can the router knows to which web server to redirect request?
Best regards,
Alex
11-15-2011 01:18 PM
Hi Alex,
Basically I would like to access port 4899 to hosts on the LAN with IPs 192.168.0.6 and 192.168.0.50
How can this be configured ...any way around?
Thanks,
Ruveni
11-15-2011 01:46 PM
Hi,
If they are used simultaneously the easiest way is to give them different ports from outside.
ip nat inside source static tcp 192.168.0.6 4899 202.16.xxx.xxx 4899 extendable
ip nat inside source static tcp 192.168.0.50 4899 202.16.xxx.xxx 4898 extendable
If this is for radmin just setup the radmin client to connect to port 4899 on 202.16.xxx.xxx. And the client for the other to connect to port 4898 on 202.16.xxx.xxx. On inside lan you do not have to change the ports, just when you connect from outside.
Please rate if helpful.
Best regards,
Alex
11-15-2011 01:56 PM
Cheers Alex,
Yes, that is exact. But only have to access the two different ports from out the internet...Was not think of that possibility.
Kind regards,
Ruveni
11-15-2011 01:47 PM
Hi,
ip nat inside source static tcp 192.168.0.6 4899 202.16.xxx.xxx 4899 extendable
ip nat inside source static tcp 192.168.0.50 4899 202.16.xxx.xxx 4900 extendable
Regards.
Alain
11-15-2011 01:57 PM
Hi Alan,
Thanks for the counter support...Correct ans as well..!!
Cheers,
Ruveni
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