At the moment, the show IP net statistics shows me that I have one active translation and zero dynamic
and zero extended.
The outside interfaces are fast Ethernet zero one inside interfaces is Fost Ethernet zero zero.
I've had a certain number of hits.
Certain number of packets have been translated by SF.
Expired translations is five now telnet back to router one.
Show IP net translations shows me that I now have that 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, an extended NAT translation maps, one IP address and put paid to
another.
So I have one IP address and port number mapped to another on my router.
I'll use control shift six x to jump back to router three and Telnet back again to write a one.
Looking at the statistics now, I see that I have three translations, one being static, two dynamic
to extend it, and we can see that again by using the show.
IP Net Translations Command.
There's our static entry here, the two dynamic entries that have been created from that static entry.
So that was an example of static net.
Just to summarize, show run on router two, shows me the configuration on router to the device doing
the net.
I had to specify an IP address on my inside interface and specify that that was the inside interface.
On my outside interface Fast Ethernet zero one.
I specified an IP address and I specified that this is the net outside interface.
And lastly, I configured IP net inside source static the actual or inside a local IP address that's
going to be netted and the inside global address used on the Internet or outside interface.
That's how you said upsetting that once again show run pipe include.
Nat shows me those three commands those are the three commands that you need to use to configure static
net.
In this example, I have three routers out of one, rather two and rather three without a one and root
of two on the inside network and write a two is connected to or out of three 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 on the inside.
In this example, I'm using routers, but typically.
Rather one would actually be a server of some description.
So in your mind's eye, think of this as a server and think of this device on the right.
As a computer or client and router.
Three Our client is trying to access the server hosted on the inside network.
Now in the lab I'm going to leave these as routers, but when thinking about this, think of rather
one being a server and router, three being a PC and router.
Three is trying to access router one on the inside network.
Now with static net, there's a permanent mapping between the internal IP address and a specified public
IP address.
While in dynamic net, individual private addresses are mapped to individual public addresses in a pool
of addresses.
So as an example, if you had ten 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 on.
You're not explicitly mapping a public IP address to a internal server's IP address.
So when you set up 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.