University of Engineering & Technology (UET) Taxila Computer Communication Networks LAB
University of Engineering & Technology (UET) Taxila Computer Communication Networks LAB
University of Engineering & Technology (UET) Taxila Computer Communication Networks LAB
Taxila
Computer Communication Networks LAB
Marks: ……………………………………
Remarks……………………………………
Signature………………………….………
2. Recourses Required:
Computer
Packet Tracer (version 5 or higher)
3. Introduction
Static routing is a form of routing that occurs when a router uses a manually-configured
routing entry, rather than information from a dynamic routing traffic. In many cases,
static routes are manually configured by a network administrator by adding in entries into
a routing table, though this may not always be the case. Unlike dynamic routing, static
routes are fixed and do not change if the network is changed or reconfigured. Static
routing and dynamic routing are not mutually exclusive. Both dynamic routing and static
routing are usually used on a router to maximise routing efficiency and to provide
backups in the event that dynamic routing information fails to be exchanged. Static
routing can also be used in stub networks, or to provide a gateway of last resort.
Metrics are cost values used by routers to determine the best path to a destination
network. Several factors help dynamic routing protocols decide, that is the preferred or
shortest path to a particular destination. These factors are known as metrics and
algorithms.
Metrics are the network variables used in deciding what path is preferred in terms of these
metrics. For some routing protocols these metrics are static and may not be changed. For
other routing protocols these values may be assigned by a network administrator. The
most common metric values are hop, bandwidth, delay, reliability, load, and cost.
Hop: A hop is a metric value used to measure distance based on the number of
networks a datagram traverses. Each time a router forwards a datagram onto a
segment this counts as a single hop
Bandwidth: Protocols that consider the capacity of a link use this) metric. Bandwidth
is measured in terms of bits per second.
Assign Static IP addresses to the end users (PCs and Laptops) and default
gateways of their respective router interface.
Connect the switches and routers with cross over cable.
Assign the IP addresses to router interfaces (Serial and fast Ethernet).
Now check the routing table of router0. You will see that the router
automatically fills the routing table for the networks it’s directly connected to.
But router0 still does not know about the network C from its routing table. So
you need to update the routing table in static way.
Open router0. Go to static routing and add the network address and its subnet
mask. Also add the first hop from which your router can reach the network C,
which is 11.0.0.2 as given in the figure.
Now ping from network A to see and show the ping command result