You are on page 1of 10

Chapter-4 LAN Devices

Objective: Understand Basic LAN Devices. Understand the Evolution of Network Devices. Understand the Basics of Data Flow Through LANs. Understand the Building of LANs.

4.1 The First LAN


To connect two computers, you must...

Install a NIC card in each. Attach computers using a crossover cable

4.2 Network Interface Cards


The network interface card (NIC) provides the physical connection between the network and the computer workstation. Most NICs are internal, with the card fitting into an expansion slot inside the computer. Some computers, such as Mac Classics, use external boxes which are attached to a serial port or a SCSI port. Laptop computers can now be purchased with a network interface card built-in or with network cards that slip into a PCMCIA slot.

Network interface cards are a major factor in determining the speed and performance of a network. It is a good idea to use the fastest network card available for the type of workstation you are using. The three most common network interface connections are Ethernet cards, LocalTalk connectors, and Token Ring cards.

The maximum distance in case of CAT 5 Crossover cable is 100 meter. So what can we use if this distance is greater than 100 meters? We need Repeater!

4.3 Repeaters
The purpose of a repeater is to amplify and retime network signals at the bit level. Repeaters can be single-port "in" and single-port "out" devices. Repeaters are classified as Layer 1 devices, in the OSI model, because they act only on the bit level and look at no other information.

A repeater
o o o o

Connects two segments of similar or dissimilar media Regenerates the signal to increase the distance transmitted Functions in the Physical Layer of the OSI model Passes ALL TRAFFIC in both directions

Do NOT use a repeater when: o There is heavy network traffic o Segments are using different access methods o You need any kind of data filtering.

Amplifiers are just like repeaters, but generate a BROADBAND, analog signal. That analog signal can have different frequencies and carry both voice and data.

4.4 Hubs
Hub is a multi-port repeater. 1) Hubs share bandwidth between all attached devices. 2) Hubs are Layer 1 devices. They cannot filter traffic. 3) Most LANs use a broadcast topology, so every device sees every packet sent down the media. There are many types of hubs:

Passive hubs are don't require power and are simple splitters or combiners that group workstations into a single segment Active hubs require power and include a repeater function and are thus capable of supporting many more connections. Intelligent hubs provide o packet switching o traffic routing

4.5 Bridges
o

Bridges have all the features of a repeater

o o o o o o o

They connect two segments and regenerate the signal at the packet level They function at the Data Link layer of the OSI model Bridges are not suited to WANs slower than 56k They cannot take advantage of multiple paths simultaneously They pass all broadcasts, possibly creating broadcast storms Bridges read the source and destination of each packet they PASS packets with unknown destinations

The advantages of bridges are


o o o o o o

increase the number of attached workstations and network segments since bridges buffer frames, it is possible to interconnect different segments which use different MAC protocols since bridges work at the MAC layer, they are transparent to higher level protocols by subdividing the LAN into smaller segments, overall reliability is increased and the network becomes easier to maintain used for non routable protocols like NetBEUI which must be bridged help localize network traffic by only forwarding data onto other segments as required (unlike repeaters)

The disadvantages of bridges are the buffering of frames introduces network delays bridges may overload during periods of high traffic bridges which combine different MAC protocols require the frames to be modified before transmission onto the new segment. This causes delays o in complex networks, data is not sent over redundant paths, and the shortest path is not always taken o bridges pass on broadcasts, giving rise to broadcast storms on the network
o o o

4.6 Switches

The symbol for a switch suggests a two-way flow of data. Switches at first glance often look like hubs, since part of their function is connectivity (allowing many devices to be connected to one point in the network). The front of a switch has interfaces (ports); the back has an ON/OFF button, a power connection, and a console port for managing the switch.

Layer 2 device Also known as Multi-port bridge Decisions based on MAC addresses Switch data out of the port where the receiving host is connected Looks outwardly like a hub Makes data transmission more efficient

Combines connectivity of hub with the traffic regulation of a bridge on each port Difference between a HUB and a SWITCH Switches and Hubs are generally used in the same network: the hubs extend the network by providing more ports, and the switches divide the network into smaller, less congested sections. In a small network (less than 30 users), a hub (or collection of hubs) can easily cope with network traffic generated and is the ideal piece of equipment to use for connecting the user. When a network gets larger (about 50 users) you may need to use a switch to divide the groups of hub, to cut down the amount of unnecessary traffic generated.

4.7 Routers

The router is a computer that selects the best paths, and manages the switching of packets between two different networks. Computers have four basic components: a CPU, memory, interfaces, and a bus. A router also has these components; therefore it can be called a computer. However, it is a special purpose computer

Routers are the backbone devices of large intranets and of the Internet. They operated at Layer 3 of the OSI model, making decisions based on network addresses (on the Internet, by using the Internet Protocol, or IP). The two main functions of routers are the selection of best paths for incoming data packets, and the switching of packets to the proper outgoing interface. Routers accomplish this by building routing tables and exchanging the network information contained within them with other routers. You can configure routing tables, but generally they are maintained dynamically by using a routing protocol that exchanges network topology (path) information with other routers.

Because they make path choices and filter out packets the segment doesn't need to receive they

help lessen network congestion conserve resources boost data throughput make data delivery more reliable

Because is works at the network layer, a router can connect networks that use

Different architectures Different media access control methods -- for example, they can connect an Ethernet segment to a Token-Ring segment

Summary of Router features


use dynamic routing operate at the protocol level remote administration and configuration via SNMP support complex networks the more filtering done, the lower the performance provides security segment networks logically broadcast storms can be isolated often provide bridge functions also more complex routing protocols used [such as RIP, IGRP, OSPF]

4.8 Gateways

The TRANSLATOR -- allows communications between dissimilar systems or environments A gateway is usually a computer running gateway software connecting two different segments. For example an Intel-based PC on one segment can both communicate and share resources with a Macintosh computer or an SNA mainframe. Use gateways when different environments need to communicate. One common use for gateways is to translate between personal computers and mainframes GSNW is a gateway to allow Microsoft clients using SMB to connect to a NetWare server using NCP. Gateways work at the Application --> Transport layer They make communication possible between different architectures and environments They perform protocol AND data conversion / translation. they takes the data from one environment, strip it, and re-package it in the protocol stack from the destination system they repackage and convert data going from one environment to another so that each environment can understand the other environment's data gateway links two systems don't use the same 1. protocols 2. data formatting structure 3. languages 4. architecture they are task specific in that they are dedicated to a specific type of conversion: e.g. "Windows NT Server -> SNA Server Gateway" usually one computer is designated as the gateway computer. This adds a lot of traffic to that segment

4.9 Modems

The modem is a device that converts digital information to analog by MODulating it on the sending end , and DEModulating the analog information into digital information at the receiving end. Telephones use analog signal; computers use digital signal. A modem translates between the two BAUD refers to the speed of the oscillation of the sound wave on which a bit of data is carried over the telephone wire the BPS can be greater than the baud rate due to compression and encode data so that each modulation of sound can carry more than one bit of data is carried over the telephone line. For example, a modem that modulates at 28,000 baud can actually send at 115,200 bps => bps is the most important parameter when looking at throughput.

CLASSIFICATION OF MODEMS The modems can be classified according to their characteristics:

Range Short Haul Voice Grade (VG) Wideband Line Type o Dial-up o Leased o Private Operation Mode o Half Duplex o Full Duplex o Simplex Synchronization o Asynchronous o Synchronous Modulation o AM o FM/FSK o PM o TCM Data Rate
o o o

Review Questions:

A NIC is considered an OSI layer ________ device


o o o o One Two Three Four

A hub is a OSI layer ______ device. o One o Two o Four o Six Which of the following is true regarding bridge? o Operate at OSI layer 2 and use IP addresses to make decisions. o Operate at OSI layer 3 and use IP addresses to make decisions. o Operate at OSI layer 2 and use MAC addresses to make decisions. o Operate at OSI layer 3 and use MAC addresses to make decisions. Which of the following is true concerning the function of a switch? o Concentrates connectivity o Combines connectivity of a hub with the traffic regulation of a bridge o Switches data from incoming ports to outgoing ports. o All of Above What do routers connect? o Bridges and Repeaters. o Two or more networks

o o

Bridges and Hubs Hubs and nodes

What does a router route? o Layer 1 bits o Layer 2 frames o Layer 3 Packets o Layer4 Segments What is the correct order of encapsulation o Data, Segment, packet, Frames, Bits. o Data, Frame, Packet, Segment, Bits. o Bits, data, Packet, Frame. o Bits, Frame, data, Packet. To construct a simple LAN of 4 computers, you would connect them with a______ o Cross connect cable o Hub o Serial Line o Router

Eight stations connected to a separate 10Mbps ports on a layer 2 switch will give each station how many Mbps of bandwidth?
o o o o o

1.25 4 16 10 60

o o o o

Which network device provides internetworking and broadcast control? Hub Bridge Ethernet switch Router Which network device offers full-duplex, dedicated bandwidth to segments or desktops? Hub Bridge Ethernet switch Router What are the two basic functions used by a router to relay packets? Filtering and switching Path determination and filtering Path determination and switching Traffic analysis and filtering

o o o o

o o o o

Short Answer Questions: 1. At what layer does NIC function? What does a NIC do? What services does it provide? 2 At what layer do hubs and repeaters function? 3. What is the difference between a hub and a repeater? 4. What is the difference between a bridge and a switch? 5. At what layer do routers function? 6. What is the definition of a router?

You might also like