In the previous video, we already learn about the concept of nat. 2
Now in this video, we are going to learn how to configure nat. Let’s just start. 3
But before configuring nat, first, we need to configure default route. 4
What is that? 5
Actually default route is a static route, but the destination will be all network. 6
So for example, from router 2 want to go to google, if we configure static route, 7
the destination network will be 172.16.10.0/24, 8
but if we configure default route, the network will be all network, which is 0.0.0.0/0, usually 9
default route is configured on the customer router to internet. 10
Because in the internet, the network is very much. 11
There is impossible to add static routing to each network one by one, for example in 12
the internet there is a network of google, facebook, youtube, twitter, Instagram, and 13
others. 14
So once again, this is impossible to add static routing one by one to specific network. 15
This is why we will configure default route. 16
Let’s just start, let’s see the routing table first, do show ip route, here we can 17
see that we don’t have a route to go to google yet. 18
Now let’s configure default route, configure terminal, ip route and then the destination 19
network is all network, which is 0.0.0.0 and then the subnetmask is 0.0.0.0, 20
And then the next hop is the ISP, which is 10.20.20.1 21
Okay we have done, now router3 should be able to communicate with google, let’s try, do 22
ping 172.16.10.2, okay here we can see that this is success. 23
But from the client, the ping should be failed. 24
Let’s try, okay this is failed. 25
Remember that we need to configure nat on the customer router so all client will able 26
to ping to internet or google. 27
I think enough for this video, in the next video, we are going to configure nat, so all 28
client will able to ping to the internet. 29
Thank you for watching and see you on the next video .