Professional Documents
Culture Documents
• Routing happens when a computer on one network finds the best path to send a packet to a computer on
another network.
• To forward the packet a device called a router is used.
• Routing makes use of IP addresses (logical addresses) and not MAC addresses (physical addresses)
because physical addresses don’t indicate to which network a device belongs.
Routing Protocols.
A routing protocol is a set of processes, algorithms, and messages that are used to exchange routing
information and create the routing table that enables them to select the best routes between any two
nodes on a computer network.
Routing protocols determine the best path to each network, which is then added to the routing table.
1
Advantages of Dynamic Routing
Administrator has less work in maintaining the configuration when adding or deleting networks.
Routers automatically exchange routing information when there is a topology changes.
Configuration is less error-prone.
More scalable; growing the network usually does not present a problem.
Distance Vector – It finds the best path to a remote network by using the relative distance. Each
time when a packet passes through a router is referred as a hop. The best route is the route which has
the lowest number of hops to the network. Examples are RIP and EIGRP.
Link State– It finds the shortest path first by analyzing different sources like the speed, cost and path
congestion. Each router creates three separate tables. The first table keeps track of directly attached
neighbors, the second one determines the topology of the entire internetwork, and the third one is
used for the routing table. Example is OSPF.
Hybrid– Uses characteristic of distance vector and link state. Example is EIGRP.
Advantages of RIP
It is a dynamic protocol which means routes are updated automatically whenever changes occur
Easy to understand and configure.
Supported by almost all routers
Disadvantages of RIP
15 hop count restriction so any router beyond that distance is considered as infinity, and hence
unreachable.
RIP doesn’t support multiple paths on the same route, which may generate more routing loops.
Inability to organise networks into a routing hierarchy, important for manageability and
performance on large internal networks.
Re-sending of full router tables at scheduled intervals cause network traffic problems.
Advantages
It has no limitations in hope count.
It is a classless routing protocol.
It is fast to fault discovery and re-routing.
It converges faster than RIP
Changes in the OSPF topology are send quickly
Can work well on large and medium networks
It has better load balancing than RIP
Disadvantages
It consumes high bandwidth at the initial link state packet flooding.
It requires extra CPU processing to run the SPF algorithm.
Increasing the number of routers increases the size and frequency of the topology updates and the
time it takes to calculate end-to-end routes.
It is a complex protocol to configure.
Difficulty to trouble shoot.
2. a) What are the main differences between OSI and TCP/ IP reference models? [4]
b) State any two benefits of having layers in the OSI model. [2]
5) What are the three basic types of web documents? Explain the advantages and
disadvantages of each type. [8]