Skip to main content

Routing basics CCNA

Routing
Meaning and Objectives
Routing is a process by which an information, packet is sent from one location to another location. This process is performed by a hardware device called Router. Routers thus route traffic to all the networks in your Internet work.

In order to route packets containing information, a router needs to know the following key information:
  •  Destination address
  •  Information sources
  •  Possible routes
  •  Best routes
  •  Routing information maintenance and verification- A way of verifying that the known paths to destination are valid and are the most current.


The Types Of Routing –

1. Static Routing          2. Dynamic Routing

Static routing - Network Administrator Configures Information About Remote Network Manually. they are used to reduce overhead and for security .this types of routing is ideal for small networks. Administrator manually update static route entry, whenever an internet work topology requires a change or during link failure.

Benefits of Static Routing –
1. No overhead on the router C.P.U.
2. No Bandwidth usage between Routers.
3. High security (because administrator only allows routing to certain networks).

Disadvantages of Static Routing:
1. Administrator needs to understand Internet work carefully and how each router is connected to configure the routes correctly.
2. If one additional network is added to the already existing network, the administrator must add a router to it on all routers.
3. It is not feasible in large networks because it would be a full-time job.

The syntax used to add a static route to a routing table is:

Router(config )# Iproute <destination network address> <mask> <next_hop_address | interface> [administrative distance] [permanent]

Administrative distance-By default static routes have an administrative distance of 1 .You can change the default value by adding an administrative weight at the end of the command.
Permanent –is an optional parameter that specifies that the route will not be removed, even if the interface shuts down.
A default route is a special type of static route used for situations in which the route from a source to a destination is not known or when it is unfeasible for the routing table to store sufficient information about all the possible routes. The default route is also known as gateway of last resort.its only use on stub networks.

Syntax for the default route is given below:

Router(config)#iproute 0.0.0.0 0.0.0.0 [<next_hop_address>or outgoing interface]
For Remove Any route –
Router(config)#no iproute 0.0.0.0 0.0.0.0 [<next_hop_address>or outgoing interface]
  • After static routes are configured it is important to verify that they are present in the routing table and that routing is working as expected.
  •  The command show running-config is used to view the active configuration in RAM to verify that the static route was entered correctly.
  •  The show ip route command is used to make sure that the static route is present in the routing table.

Dynamic Routing - Information is learned from other routers, and routing protocol adjust routes automatically. Dynamic routing is the process of using protocols to find and update routing tables on routers. The protocols used in dynamic routing are called routing protocols.

  •  A routing protocol is a network layer protocol that determines routing paths and maintains routing tables .It fills up routing table with valid, loopfree routes. 
  • EX- RIP, IGRP, EIGRP, BPG, OSPF
  •  Once the path is determined a router can route a Routed protocol.
  • Example: TCP/IP, IPX

.It must be noted that: -as soon as the routing protocol determines a valid path between routers, the router can route a routed protocol.


IGP- Exchange routing information within an autonomous system.
EGP- Exchange routing information between autonomous systems.

Autonomous system- An Autonomous System –is a collection of networks under a common administrative domain. The Internet Assigned Numbers Authority (IANA) is the umbrella organization responsible for allocating autonomous system numbers.

Administrative Distances[Ad Value]:
Administrative distances are used to rate the trustworthiness of routing information .And administrative distance is an integer from 0 to 255,where 0 is the most trusted and 255 means no traffic will be passed via this route. In nutshell, a routing protocol with a lower administrative distance has a more chances of being used.

Table given below shows different administrative distances of different protocols:


Route Source                                               Default Distance

Connected interface                                            0
Static route address                                            1
EIGRP                                                                 90
IGRP                                                                  100
OSPF                                                                  110
RIP                                                                     120
External EIGRP                                                170
Unknown/Unbelievable                                     255

...................................................................................................................................................................



Comments

Popular posts from this blog

How to Upgrade Software on Cisco 5508/5520 HA WLC

The process to upgrade a Cisco Wireless Lan Controller is quite straightforward but there are a few things you need to be aware of which can minimise the downtime for your wireless network. This guide will go through the process to upgrade a pair of 5508 WLC’s configured in HA setup and connected back to back with RP port. Here is the Topology: Upgrade Software on Cisco 5508/5520 WLC – Steps The first step is to upload the new image to the controller. This process does nothing to your live network and only uploads the image to the controller. Download the image from  cisco.com  and store in a known location on your laptop. For the purpose of this guide I am using 8.0.121.0 .Don't forget to check compatible matrix for your AP Models.  You will need a TFTP server running, I am using TFTPD32 running locally on my laptop. You can also use FTP or SFTP server to transfer the image.  Copy the new image into your tftp directory and go to the GUI on ...

How to upgrade software on a Cisco 3850 Switch | Recover Password | Configuration Backup | Restore Configuration

This short post will show you how to upgrade the software on a single Cisco 3850 switch or a 3850 stack, using TFTP and USB. The process is very easy but it is a bit different than the usual software image of previous switches i.e 3750 etc. The main difference is the Cisco 3850 switch run IOS-XE so you have to copy the .bin file to the flash on the switch and then install the software on the switch. Download the required image from cisco.com Begin the install Reboot the switch Step 1 copy the new image to the 3850 3850-SW1# copy tftp flash Address or name of remote host []? 10.1.1.100 Source filename []? cat3k_caa-universalk9.SPA.03.03.01.SE.150-1.EZ1.bin Destination filename [cat3k_caa-universalk9.SPA.03.03.01.SE.150-1.EZ1.bin]? Accessing tftp://10.1.1.250/cat3k_caa-universalk9.SPA.03.03.01.SE.150-1.EZ1.bin… Loading cat3k_caa-universalk9.SPA.03.03.01.SE.150-1.EZ1.bin from 10.251.226.253 (via Port-channel1): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!...

RSTP and MST Interview Questions and Answers[CCNP]

What are the Port Roles in RSTP? 1. Root port - It is the port on the switch that has the best root path cost to the root bridge. This is identical to 802.1D. 2. Designated port - The switch port on a network segment that has the best root path cost to the root. 3. Alternate port - A port that has an alternative path to the root, different from the path the root port takes. This path is less desirable than that of the root port. 4. Backup port - A port that provides a redundant (but less desirable) connection to a segment where another switch port already connects. If that common segment is lost, the switch might or might not have a path back to the root. What are different port states in RSTP? 1. Discarding - Incoming frames simply are dropped; no MAC addresses are learned.This state combines the 802.1D Disabled, Blocking, and Listening states. 2. Learning - Incoming frames are dropped, but MAC addresses are learned. 3. Forwarding - Incoming frames are forwa...