14.2 Routing with default static routes
In this section you will to take a more detailed look at static routes.
Watch the video below, which is just under 2 minutes long.
Box _unit8.2.2 Routing with default routes 1
The reason why the pings previously failed was because there was no route in the routing table for the destination network.
One solution to the problem would be to put in a default static route – which we briefly saw in a previous session
To do this we are going to add the command ip route 0.0.0.0 0.0.0.0 10.10.10.2 to Router1. This is called the quad zero route (as it matches all destination networks to the specified IP address). In this case, all traffic for unknown networks will be forwarded to the IP address of gigabit 0/0 on Router2 – this will result in all traffic to unknown networks being sent to Router2.
We will now ping 10.10.10.2 from PC1 again.
This ping still fails.
We will now introduce another useful diagnostic command called traceroute, which is used in network fault-finding to see where the path to a destination network fails.
On a Windows PC this command is entered at a command prompt by typing tracert. We can see from the results that there is still no completed path from R1 to R2 – yet we have already entered a default static route out of R1 to R2, which can be demonstrated by using the show ip routecommand on Router1. It shows up as ‘Gateway of last resort is 10.10.10.2 to network 0.0.0.0’. The default static route also shows up at the end of the routing table with an S* next to it.
We need to think about why this might be happening.
Activity _unit8.2.2 Activity 2 Think about
The default route from Router 1 to Router 2 is incorrectly configured.
There is no reverse path in Router 2’s routing table to direct the returning traffic back to Router 1.
PC3 has been configured with an incorrect IP address.
The ping typed on PC1 had the wrong IP address.
The correct answer is b.
Yes. In Router 2’s routing table, there is no known route from Router 2 to Router 1 for packets addressed to anything in the 192.168.1.0/24 network.