1.1 33. Routing Basics
1.1 33. Routing Basics
1.1 33. Routing Basics
Routing Basics
KHAWAR BUTT
CCI E # 12353 [R/S, SECURI TY, SP, DC, V OI CE, STORAGE & CCDE]
Overview
Routing Overview
Routing Table
Static Route and Default Routes c
Routing Protocols
Routing Protocols Type
Administrative Distance
Lab Diagram
PC PC PC
c
Switch Switch Switch
Initially, the Routing Table will contain network information about directly connected networks only.
Based on the Network diagram on the previous slide,cR1 will have 2 networks in the Routing Table
[192.168.1.0/24 & 192.168.12.0/24]. R2 will have knowledge of 3 networks [192.168.2.0/24,
192.168.12.02/4 & 192.168.23.0/24]. R3 will have 2 networks in the Routing Table [192.168.3.0/24 &
192.168.23.0/24].
If a packet comes to R1 destined to 192.168.3.0/24, it would not know how to reach it.
That’s where Routing comes in. It allows your Router to learn about networks that are not directly connected
to it.
This can be done manually by the administrator or done by running a protocol between the routers where
they communicate to each other and exchange information about the networks that they are aware of.
In this module, we will learn about the basics of Routing and Routing Protocols.
Routing Table
Routers build routing tables initially based on their directly connected
networks.
The administrator creates Static Routes in a Cisco Router using the ip route Command.
For our network, if R1 wants to reach the 192.168.2.0/24 network, which is behind R2, you would
create a static route using the following:
When there is no entry for the destination network in a routing table, the router will forward the packet to its
default router.
The Special Destination Network is “0.0.0.0”. The special Network Mask is “0.0.0.0”.
For our network, if R1 wants to reach any of the networks thru R2, I can create a default route using
the following:
c
Exchange of information allows routing tables to be built and exchanged.
Routing Protocols determine the best path for the transport of data using
some criteria. This is known as a Metric.
One way of classifying is whether the Routing Protocol works within the
Company Network or Connecting 2 Companies
c to each other.
To prioritize the routing protocols, each one is given a default priority. This
c
priority is known as the Administrative Distance [AD].