09.12.2012 Views

Understanding the network.pdf - Back to Home

Understanding the network.pdf - Back to Home

Understanding the network.pdf - Back to Home

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

In a ring <strong>to</strong>pology, a <strong>to</strong>ken is passed around <strong>the</strong> ring from node <strong>to</strong> node in one<br />

direction. When a node needs <strong>to</strong> transmit data, it removes <strong>the</strong> <strong>to</strong>ken from <strong>the</strong><br />

<strong>network</strong> and transmits its packet. The packet, like <strong>the</strong> <strong>to</strong>ken, is passed from node <strong>to</strong><br />

node, until it reaches its destination. At <strong>the</strong> destination node, <strong>the</strong> packet is copied,<br />

marked as received, and sent on <strong>to</strong> <strong>the</strong> next node around <strong>the</strong> ring. When <strong>the</strong> packet<br />

reaches <strong>the</strong> node that transmitted it, <strong>the</strong> node removes <strong>the</strong> packet, releases a new<br />

<strong>to</strong>ken, and passes it on <strong>to</strong> <strong>the</strong> next node.<br />

When used in a bus <strong>to</strong>pology, <strong>to</strong>ken passing operates in a manner similar <strong>to</strong><br />

operating on a ring. The difference is that on a ring, since <strong>the</strong>re is only one incoming<br />

and one outgoing connection, addressing information is not required. This is known<br />

as implicit <strong>to</strong>ken. On a bus, where all nodes are physically adjacent, explicit <strong>to</strong>ken is<br />

used. Explicit <strong>to</strong>ken passing uses a logical ring created by using <strong>the</strong> addresses of <strong>the</strong><br />

connected nodes. The nodes are logically ordered from highest address <strong>to</strong> lowest.<br />

Each host passes <strong>the</strong> <strong>to</strong>ken <strong>to</strong> its next logical successor. This logical ring is created<br />

when <strong>the</strong> <strong>network</strong> is first activated. Each node at activation starts a countdown<br />

based on its node address. When a station's timer expires and <strong>the</strong>re is no <strong>to</strong>ken on<br />

<strong>the</strong> <strong>network</strong>, it generates a <strong>to</strong>ken. This is <strong>the</strong> first station on <strong>the</strong> logical ring. After<br />

<strong>the</strong> "ring" is initialized by <strong>to</strong>ken generation, <strong>the</strong> o<strong>the</strong>r stations are invited <strong>to</strong> join <strong>the</strong><br />

"ring" at periodic intervals.<br />

With <strong>to</strong>ken passing, "fairness" is maintained by forcing each node <strong>to</strong> release <strong>the</strong><br />

<strong>to</strong>ken after transmitting a single packet. The design ensures that each node on <strong>the</strong><br />

ring gets a chance <strong>to</strong> send a packet. IEEE 802.x E<strong>the</strong>rnet and Apple's LocalTalk are<br />

CSMA/CD-based transmission pro<strong>to</strong>cols. IBM's Token Ring and ANSI's Fiber<br />

Distributed Data Interface (FDDI) are <strong>to</strong>ken passing based pro<strong>to</strong>cols. These<br />

transmission pro<strong>to</strong>cols will be covered in depth in Chapter 4, "LAN Inter<strong>network</strong>ing<br />

Technologies."<br />

Network Communication Pro<strong>to</strong>cols<br />

Transmission pro<strong>to</strong>cols are used <strong>to</strong> send information across <strong>the</strong> transmission media.<br />

Network pro<strong>to</strong>cols are used <strong>to</strong> format and deliver information between computers or<br />

hosts.<br />

Think of a transmission pro<strong>to</strong>col as your voice; you expel air from your diaphragm<br />

and across <strong>the</strong> larynx <strong>to</strong> make sound. That sound is carried across a room as a<br />

sound wave. It reaches someone's ear, and <strong>the</strong> tympanic nerves and bones<br />

translate <strong>the</strong> sound waves in<strong>to</strong> nervous impulses that are interpreted by your brain.<br />

This sequence is much like <strong>the</strong> way electrical signals are sent across a <strong>network</strong><br />

cable.<br />

Network pro<strong>to</strong>cols are similar <strong>to</strong> language. Language provides <strong>the</strong> rules and means<br />

of expression that allow us <strong>to</strong> transport our ideas <strong>to</strong> o<strong>the</strong>rs. Also, like languages,

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!