At the moment the show I.P not statistics shows me that I have one active translation and zero dynamic
and zero extended the outside interfaces all fast.
Ethan at 0 1 inciting to faces is first.
Ethan it is 0 0.
I've had a certain number of hits a certain number of packets have been translated by Ceph expired translations
is five.
Now telnet back to Rotto 1
show Oppy net translations shows me that I now have about active net translation and when I look at
statistics.
Notice I have two translations one being static and one being dynamic.
The number of hits has also increased.
I have one extended translation and extended nattered translation maps one IP address and port pay to
another so I have one IP address and port number mapped to another on my Rodda all use Control shift
6 x to jump back to router 3 and back again to Rotto one looking at the statistics.
Now I see that I have three translations one being static to dynamic to extended and we can see that
again by using the show IP net translations command.
These are static entry.
Here the two dynamic entries that have been created from that static entry.
So that was an example of a static net.
Just to summarize.
Show run on Rodda to shows me the configuration on brought it to the device doing the NAT.
I had to specify an IP address on my inside interface and specify that that was the inside interface
on my onsite interface.
Ethan it is 0 1.
I specified an IP address and I specified that this is the Nat outside interface
and lastly I configure it ip not inside source.
Static The actual or inside a local IP address that's going to be Nottage and the inside global address
used on the Internet or outside interface.
That's how you set up setting that once again show run pipes include Nat shows me those three commands.
Those are the three commands that you need to use to configure static Nat.
In this example I have three routers router one a rotas 3 Rato 1 and 2 on the inside network and ratus
connected to routed 3 on the outside or Internet link.
Now typically with static network address translation you are allowing a device on the outside to access
a device from the inside.
In this example I'm using routers but typically Rato one would actually be a server of some description.
So in your minds I think of this as a server and think of this device.
On the bright as a computer or client and router 3 Our client is trying to access the server hosted
on the inside network.
Now in the lab I'm going to leave these as roads but when thinking about this think of Route One being
a server and Rodda 3 being a PC and router 3 is trying to access Rato one on the inside network.
Now with static Nat This is a permanent mapping between the internal IP address and a specified public
IP address.
While in dynamic Nat individual private addresses are mapped to individual public addresses in a pool
of addresses so as an example if you had 10 IP addresses in your pool the first host that sends traffic
will get to use the first IP address in the pool.
The second host would use the second IP address and so forth and so one you're not explicitly mapping
a public IP address to a internal server's IP address.
So when you set up a dynamic Nat you're going to set up a pool of addresses you also configure inside
and outside interfaces.
But you don't create a static map to a single IP address.
You create a pool of addresses that can be used by hosts internally.