09-18-2003 06:26 PM - edited 03-02-2019 10:27 AM
With this command: ip nat inside source static network 192.168.100.0 255.255.255.0 203.145.145.145
Is it possible for me to NAT a whole subnet of 192.168.100.0 to the external static ip address of 203.145.145.145.
Eg, if I have a Web servers ip: 192.168.100. 3 & 192.168.100.4
SQL servers ip: 192.168.100.5 & 192.168.100.6
Lotus note servers ip: 192.168.100.7 & 192.168.100.8
Is it possible to use the same ip address 203.145.145.145 for all the servers????
09-19-2003 06:33 AM
You can do PAT (in fact, what you describe) but if you have servers, it will be difficult for external users to connect to your servers because external users just know one IP address and router doesn't know how to translate this connection to the good server.
09-21-2003 10:04 PM
Thanks, I tried this and it doesn't seem to work.
ip nat pool notes
ip nat pool notes 203.145.145.145 203.145.145.145 netmask 255.255.255.242
ip nat inside source list 20 pool notes
access-list 20 permit 192.168.100.8 0.0.0.1
access-list 20 permit 192.168.100.13 0.0.0.1
Why doesn't this work? How can it be fixed??
09-22-2003 07:02 AM
See this url, I think you will find what you want to do with host 2. Forget CMTS explanation.
http://www.cisco.com/warp/customer/556/nat-on-
stick.html#ex1
In fact, you just need to do a static entry for each of your servers as you can see it in the example.
If it's not ok, look at this url, I think you will find answers :-)
http://www.cisco.com/cgi-bin/Support/browse/psp_view.pl?p=Technologies:NAT
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