1.4 Explain the purpose and properties of routing and switching.
Routing is the process of directing the messages generated at source host towards the destination host over a computer network. The path may consist of several nodes that forward the messages (packets) towards the destination. Due to complexity of the protocols, and user requirements, several routing protocols have come in to existence. Most popular among these protocols are 1. RIP v1 and v2, OSPF, EIGRP, and BGP. Routing protocols should not be confused with routed protocols such as TCP and UDP. Routed protocols typically carry user data, whereas routing protocols provide the route information for user data packets. For most part, routing protocols are transparent to the end user. Routing protocols may be classified as below:
Distance Vector: Distance vector routing determines the direction and distance to any link in the internetwork. Smaller the metric, better the path. Distance vector routing is useful for smaller networks. Ex: RIP and IGRP.
Link State: Also known as SPF algorithms, SPF generates the exact topology of the entire network for route computation by listening to the first hand information. Bandwidth and delay are the most widely used metrics. Ex: OSPF and NLSP.
Balanced Hybrid: Balanced Hybrid combines some aspects of Link State and Distance Vector routing protocols. It uses distance vectors with more accurate metrics to determine the best paths to destination networks. Ex: EIGRP
Routing protocols may also be classified as IGP and EGP routing protocols.
IGP(Interiror Gateway Protocols)
Handles routing in one domain (Automonus system) that is they send routing information between routers on the same internal network.
These fall in two categories : Distance Vector Protocol and Link State Protocol
RIP, OSPF are examples of IGP.
EGP(Exterior Gateway Protocols)
Handles routing outside Autonomous network it takes you from your network through ISP on to another network.
BGP is an examples of EGP protocol.
Static And Dynamic Routing
1. location of the remote resource is specified at design time
2. administrator constructs the routing table in every router by putting in the entries for every network that could be a destination.
3. Static routes to network destinations are unchangeable.
1. location of the remote resource is decided at run time.
2. Routing protocol operating on the router is responsible for the creation, maintenance and updating of the dynamic routing table.
3. enables routers to select paths according to real-time logical network layout changes.
It is unit calculated by a routing algorithm for selecting or rejecting a routing path for transferring data/traffic.
Hop count: It is the number of nodes between starting node and destination node.
MTU(Maximum Transmission Unit): It is size of largest protocol data unit that can be transmitted. It is measured in bytes and is associated with a communications interface
Latency: It refers to several kinds of delays that come in network transmission
EIGRP (Enhanced Interior Gateway Protocol, a Cisco proprietary protocol)
Important terms used in EIGRP
Successor: A route (or routes) selected as the primary route(s) used to transport packets to reach destination. Note that successor entries are kept in the routing table of the router.
Feasible successor: A route (or routes) selected as backup route(s) used to transport packets to reach destination. Note that feasible successor entries are kept in the topology table of a router.
DUAL (Diffusing Update Algorithm): Enhanced IGRP uses DUAL algorithm to calculate the best route to a destination
Routing metrics used by EIGRP
Bandwidth: This is represents the maximum throughput of a link.
MTU (Maximum Transmission Unit): This is the maximum message length that is acceptable to all links on the path. The larger MTU means faster transmission of packets.
Reliability: This is a measurement of reliability of a network link. It is assigned by the administrator or can be calculated by using protocol statistics.
Delay: This is affected by the band width and queuing delay.
Load: Load is based among many things, CPU usage, packets processed per sec
For IGRP routing, you need to provide AS (Autonomous System) number in the command. Routers need AS number to exchange routing information. Routers belonging to same AS exchange routing information.