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
When protocols are used to find networks and update routing tables on router then it
is called Dynamic Routing. Dynamic routing is easier than using static routing but it
will cost in term of CPU process and bandwidth of the network links.
a) Distance vector: The distance-vector protocols find the best path to a remote network
by judging distance. Each time a packet goes through a router, that’s called a hop. The
route with the least number of hops to the network is determined to be the best route. The
If multiple routes exist to a given destination network ID, the metric is used to decide
which route is to be taken. The route with the lowest metric is the preferred route.
Some routing algorithms only store a single route to any Network ID in the routing
table even when multiple routes exist. The administrative distance (AD) is used to
rank the trustworthiness of routing information received on a router from a neighbor
router. It is an integer from 0 to 255, where 0 is the most trusted and 255 means no
traffic will be passed via this route. When a router receives two updates listing the
same remote network, the first thing router check is AD. The one with lower AD will
be placed in the routing table. If they have the same AD, then routing protocol metrics
(such as hop count in case of RIP) will be used to find the best path to the remote
network, again the advertised route with the lowest metric will be placed in the
routing table. The AD of RIP is 120, while static route have 1.
Assign IP address to the PCs and the router interfaces according to the network
they are part of.
Before you jump in and configure a serial interface, there are a couple of things
you need to know. First, the interface will usually be attached to a type of device
that provides clocking for the line to the router. But if you have a back-to-back
configuration (for example, one that’s used in a lab environment), one end—the
data communication equipment (DCE) end of the cable—must provide clocking.
By default, Cisco routers are all data terminal equipment (DTE) devices, so you
must tell an interface to provide clocking if you need it to act like a DCE device.
To check the DCE interface, just bring your mouse over serial link, the interface
with whose name you see a (clock symbol) is the DCE one. You configure a DCE
serial interface with the clock rate of 64000. Notice that the clock rate command is
in bits per second.
Ping communication between two networks from command prompt. Destination
unreachable error will be there. Now you must have noticed that routers can
communicate with devices directly connected to them.
To allow two networks to communicate, go to the RIP window of router0 and add
the networks IP addresses the router is connected to (20.0.0.0 and 192.168.1.0).
Now go to settings and save it to NVRAM.
Configure the other outer for RIP as well. Go to inspect and check the routing
table of both routers.
Now see if the communication between two networks is possible with the
Dynamic addressing RIP.
Now router0 configured the network B by RIP command.
Indicate from the routing table the AD and metric being used for RIP.
Note the fact that you need to type in every directly connected network that you
want RIP to advertise. But because they’re not directly connected we’re going to
leave out network192.168.2.0—it’s RIP’s job to find them and populate the
routing table.
That’s it. Dynamic routing makes your job a lot easier than when using static
routes, doesn’t it? However, keep in mind the extra router CPU process and
bandwidth that you’re consuming.
Q4. State the observations about the routing table set by RIP?
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________