So at the moment in this topology router two is running Nat on fast Ethernet zero one and is doing overloading
on that interface to allow router one and router four.
To connect to router three.
So ping eight at 1.1 to 2.
Rather one is now able to connect to router three.
Now.
This is only for fun.
What I'm going to do now is extend the topology.
And connect three to my physical network interface card.
So I'm going to connect it to my local area network.
And what I'll do is add another Ethernet interface.
To route a t so rather to is now connected to the outside world on first Ethernet 1/0.
So on router two, interface 1/0, no shut IP address dhcp so that I get an IP address via DHCP.
This interface connects me to my local area network, which in turn connects me to the internet so I
can ping the internet.
From my Windows PC as an example, and I've now bridged gaps three to the same network.
The router has been allocated to this address and this is another reason to use overloading.
To an interface because previously we configured an IP address statically.
But on this new interface, we don't have an IP address statically configured.
The IP address is dynamically configured.
So you want to overload the interface.
So IP net inside source list specify an access list, one which we created previously.
In this case, I'm going to overload first ethernet 1/0.
To allow both hosts to be netted.
And to be able to connect to the internet.
So show IP net translations shows no translations at the moment, but I've enabled net on this interface
as well as this interface.
So rather one ping.
Google dot com.
It doesn't work.
I need to enable IP domain lookup.
And I need to specify a name server.
And in this example I'll just use google.
So ping google.com show up in net translations.
I'm not seeing any translations at the moment.
So let's do some troubleshooting.
Show IP route.
We have a default route to ten 112 ping ten 112.
We can ping the Ryder.
So let's do a debug IP nat on this router.
I'll also check whether this router can ping google.com directly the moment it can.
So.
IP domain lookup.
IP name.
Server.
Specify Google.
So that dorada camping google.
Get the local router to ping Google.
Let's see if we.
See a problem.
If zero zero is on the inside.
That's right.
If zero one is on the outside.
That's correct.
But I forgot to put IP Nat outside on fost ethernet one zero.
So IP Nat outside needs to be enabled on that interface show IP net.
Translations.
No translations at the moment.
Let's ping google.com.
That looks a lot better ping succeed.
And I'm getting my natural translation.
So 10.1 and 1.1 that rather is translated to 1921681 159.
Going to Google.
At the top here, you can see the dense query to the Google DNS servers and then a reply comes back.
So this router running in Genius three is doing DNS queries against Google's DNS server on the Internet.
Locally, the route has been netted from ten 111 to this address.
Now that is a another RFC 1918 address, but on router two.
Through DHCP, Morata has learned that the default gateway is 1921681254, which is my local DSL Internet
router.
You can see some of the net queries timing out here.
Let's do a ping again.
Show IP.
Net translation.
There's a net translation in the table.
I could, as an example, telnet.
To Google.com on port 80.
It's connected, so the connection is open.
You can see that the traffic is being netted there.
It's going out.
I'll press control.
See here, you can see we get some bad HTML.
And the net continues.
I could, as an example, go to another website.
Let's go to Yahoo.com.
So they address is 46.
I forgot to put the port number in.
So the net is taking place.
But the server denied the connection.
Let's go to Port 80 and you can see that the connection is now opened to Yahoo.com and we can see the
net translations taking place.
Press control.
See?
We get a bunch of HTML here and you can see some translations taking place.
Notice here's the body of the HTML.
And if we scroll up, we'll probably be able to see.
Some messages from Yahoo.com as an example.
So that's an example of using overloading on two separate interfaces.
In one example, we're keeping it within three.
And then the other example, we actually connecting to the Internet.