Routing Basics: Khawar Butt Ccie # 12353 (R/S, Security, SP, DC, Voice, Storage & Ccde)
Routing Basics: Khawar Butt Ccie # 12353 (R/S, Security, SP, DC, Voice, Storage & Ccde)
Routing Basics
KHAWAR BUTT
CCIE # 12353 [R/S, SECURITY, SP, DC, VOICE, 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.
c
Based on the Network diagram on the previous slide, R1 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.
In addition to directly connected networks, routers can learn about destinations in one of
three ways: c
o Default Routes: Manually added to the routing table by the administrator to define a
Default Gateway for the router. If the routing table does not have an entry for a
destination network, send the packet to the Default Route.
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
c
Company Network or Connecting 2 Companies to each other.
To prioritize the routing protocols, each one is given a default priority. This priority is known as
c
the Administrative Distance [AD].
The Administrative Distance for common ways of learning routes is listed below:
Protocol Admin. Distance Protocol Admin. Distance
Directly Connected 0 Static Route 1
EIGRP 90 OSPF 110
IS-IS 115 Rip 120
BGP 20/200
Whiteboard