Beruflich Dokumente
Kultur Dokumente
Introduction
This is an important subject to understand since it
pertains to all routers and configurations that use IP. IP
routing is the process of moving packets from one network
to another network using routers. And as before, by routers.
Once you create an internetwork by connecting your WANs
and LANs to a router, youll need to configure logical
network addresses, such as IP addresses, to all hosts on the
internetwork so that they can communicate across that
internetwork.
The term routing refers to taking a packet from one device
and sending it through the network to another device on a
different network. Routers dont really care about hosts
they only care about networks and the best path to each
network. The logical network address of the destination
host
is used to get packets to a network through a routed
network, and then the hardware address of the host is used
to deliver the packet from a router
to the correct destination host.
If the network has no routers, then it should be apparent
that you are not routing. Routers route traffic to all the
networks in your internetwork. To
be able to route packets, a router must know, at a
minimum, the following: Destination address
Neighbour routers from which it can learn about
remote networks
Possible routes to all remote networks
The best route to each remote network How to
maintain and verify routing information
The router learns about remote networks from neighboring
routers or from an administrator. The router then builds a
routing table (a map of the internetwork) that describes
how to find the remote networks. If a network is directly
connected, then the router already knows how to get to it. If
1
6. Expected results:
This project is aimed to include network
administrators, system administrators, organization
management, security/ network policy makers,
lan/wan users and to all who has the responsibility of
proper delivery of data or information in a computer
network in a swift and accurate manner by using
dynamic routing. The purpose of the document is to
help the reader to understand and implement the tolls,
techniques and significance of dynamic routing in
computer network.
Date:
Signature of the student
Signed and forwarded
through the project
guide
7. Routing Protocol & Routed Protocol:A routing protocol is used by routers to dynamically find all
the networks in the internetwork and to ensure that all
routers have the same routing table. Basically, a routing
protocol determines the path of a packet through an
internetwork. Examples of routing protocols are RIP, IGRP,
EIGRP, and OSPF.
Once all routers know about all networks, a routed protocol
can be used to send user data (packets) through the
established enterprise. Routed protocols are assigned to an
interface and determine the method of packet delivery.
Examples of routed protocols are IP, APPLETALK and IPX.
good.
The third criterion you should consider is how much of your
network resources the routing protocol consumes. Consider
not only the network bandwidth consumed by the protocol
messages, but also how much processing power and
memory is required in your routers. A link-state protocol will
typically do better on the bandwidth consumption, and a
distance-vector protocol will do better with processor and
memory consumption, but this is not always the case.
Next, consider how well your prospective protocols deal
with multiple paths to a destination. This may or may not be
critical in your network, and how much weight you give it
depends on your network design. If you have no redundant
paths, you probably won't care about how well your protocol
supports them. Still, while you may not have redundant
paths today, you may add them in the future, and you
might need to change protocols to support them. Even if
one of your prospective protocols does not normally support
multiple paths, consider whether your router vendor's
implementation does anyway. For example, RIP does not
normally support multiple paths to a destination network,
but the RIP implementation in a Cisco router does handle
such redundancy, and will even do load sharing across
multiple paths with equal costs (metrics).
10
10. Default Routing:We use default routing to send packets with a remote
destination network not in the routing table to the next-hop
router. You can only use default routing on stub networks
those with only one exit path out of the network.
11. Configuration of default routing:In the internetworking example used in the previous
section, the only routers that are considered to be in a stub
network are Lab_A and Lab_C. If you tried to put a default
route on router Lab_B, packets wouldnt be forwarded to the
correct networks because they have more
than one
interface routing to other routers. And even though router
Lab_C has two connections, it doesnt have another router
on the 192.168.50.0 network that needs packets sent to it.
11
to
networks
ip
route
192.168.10.0
ip
route
192.168.20.0
ip
route
192.168.30.0
192.168.40.1
Lab_C(config)#no
255.255.255.0
192.168.40.1
Lab_C(config)#no
255.255.255.0
192.168.40.1
12
\
Lab_C(config)#ip
192.168.40.1
route
0.0.0.0
0.0.0.0
If you look at the routing table now, youll see only the
two directly connected networks plus
an S*, which indicates that this entry is a candidate for
a default route.
Lab_C#ship route
[output cut]
Gateway of last resort is 192.168.40.1 to network
0.0.0.0
C 192.168.50.0 is directly connected, FastEthernet0/0
C 192.168.40.0 is directly connected, Serial0/0
S* 0.0.0.0/0 [1/0] via 192.168.40.1
Lab_C#
We could have completed the default route command
another way:
Lab_C(config)#ip route 0.0.0.0 0.0.0.0 s0/0
This says that if you dont have an entry for a network
in the routing table, just forward it
out serial 0/0. You can choose the IP address of the
next-hop router or the exit interfaceeither
way, it will work the same.
Lab_C(config)#ip classless
Notice that its a global configuration mode command. The
interesting part of the ip
classlesscommand is that default routing sometimes works
without it, but sometimes
doesnt. To be on the safe side, you should always turn on
the ip classless command when
you use default routing.
13
14
16
To perform this task you must create your lab and configure the basic IP
addressing for all PCs and Routers or download CCNA Lab Static Route with
Cisco packet tracer. CCNA Lab Static Route no Configure
18
introduce
two
LANs
19
20
21
16. Distance Vector Routing Protocol:In computer communication theory relating to packetswitched networks, a distance-vector routing protocol is one
of the two major classes of intra domain routing protocols,
the other major class being the link-state protocol.
Distance-vector routing protocols use the BellmanFord
algorithm, FordFulkerson algorithm, or DUAL FSM (in the
case of Cisco Systems's protocols) to calculate paths.
A distance-vector routing protocol requires that a
router inform its neighbors of topology changes periodically.
Compared to link-state protocols, which require a router to
inform all the nodes in a network of topology changes,
distance-vector routing protocols have less computational
complexity and message overhead.[citation needed]
The term distance vector refers to the fact that the
protocol manipulates vectors (arrays) of distances to other
nodes in the network. The vector distance algorithm was
22
23
24
25
27
NOTE the legend lists R for all RIP routes in the routing
table. Also note that the administrative distance of 120 is
shown, together with the metric of 1.
29
20.
OSPF:-
31
21. Configuration of OSPF:One of OSPFs biggest disadvantages is that its configuration can become quite
complex. Because of this many new network engineers can misconfigure OSPF.
The first step is to gain access to the Cisco device and access global configuration
mode. Once this mode has been accessed the prompt should look like Figure 1.
32
command that is required for this is 'network network network-inversemask area area.' This is shown in Figure 3.
While the configuration of OSPF can get complex, once some basic concepts are
understood a basic configuration is not all that confusing to understand or
complete. The configuration of OSPF in a large scale implementation can be a bit
hard to follow when quickly looking over a configuration, but if the network engineer
knows the base OSPF concepts and sits down with the configuration then they
should be able to figure out the intention of the OSPF design
34
36