Monday, November 21, 2011

Basics of Routing(part 2 of 5)

Switching
Switching algorithms are relatively simple and are basically the same for most routing protocols. In
most cases, a host determines that it must send a packet to another host. Having acquired a router’s
address by some means, the source host sends a packet addressed specifically to a router’s physical
(Media Access Control [MAC]-layer) address, this time with the protocol (network layer) address
of the destination host.
As it examines the packet’s destination protocol address, the router determines that it either knows
or does not know how to forward the packet to the next hop. If the router does not know how to
forward the packet, it typically drops the packet. If the router knows how to forward the packet, it
changes the destination physical address to that of the next hop and transmits the packet.
The next hop may, in fact, be the ultimate destination host. If not, the next hop is usually another
router, which executes the same switching decision process. As the packet moves through the
internetwork, its physical address changes, but its protocol address remains constant, as illustrated in figure 5-2.
The preceding discussion describes switching between a source and a destination end system. The
International Organization for Standardization (ISO) has developed a hierarchical terminology that
is useful in describing this process. Using this terminology, network devices without the capability
to forward packets between subnetworks are called end systems (ESs), whereas network devices
with these capabilities are called intermediate systems (ISs). ISs are further divided into those that
can communicate within routing domains (intradomain ISs) and those that communicate both within
and between routing domains (interdomain ISs). A routing domain generally is considered to be a
portion of an internetwork under common administrative authority that is regulated by a particular
set of administrative guidelines. Routing domains are also called autonomous systems.With certain
protocols, routing domains can be divided into routing areas, but intradomain routing protocols are
still used for switching both within and between areas.

No comments:

Post a Comment