We have already studied about static routing in earlier posts but now we will study about Dynamic Routing. In dynamic routing we firstly study about default routing on cisco routers.But firstly you should know why we use default routing? The reason behind configuring default routing is that it has capacity to direct packets destined to networks which are not not there in routing table.It should mainly be used on the networks which have only one exit or only one route to reach destination.It is one of the most easy routing on CISCO Routers.
For practicing Default routing we have a sample problem given here:-
Firstly we assign IP to the ports of PC’s and The routers. It can be done b two ways:-
- By graphically. (but here we just have to assign ip address not to configure routing)
- By command line.(similarly, we just have to assign ip using command line)
Now we have to apply default routing on the routers:-
Router(config)#ip route 0.0.0.0 0.0.0.0 220.127.116.11
Router(config)#ip route 0.0.0.0 0.0.0.0 18.104.22.168
Router(config)#ip route 0.0.0.0 0.0.0.0 22.214.171.124
Router(config)#ip route 0.0.0.0 0.0.0.0 126.96.36.199
In this routing we use 0.0.0.0 on the place of Network address As well as Subnet Mask. And After these we will give the IP of the ports of the routers which Are directly connected to that router and are the way out to other networks.
After that when you will try to ping the system your system will send and recieve the packets which means that that routing is working well.