Networking devices(siddique)

Post on 13-Apr-2017

691 views 6 download

Transcript of Networking devices(siddique)

Networking Devices

S.P. Siddique Ibrahim, AP/CSEKumaraguru College of Technology

1

Internetworking devices

2

Increasing power and complexityHubsBridgesSwitchesRouters

3

Why Interconnect?

•To separate / connect one corporate division with another.

•To connect two LANs with different protocols.

•To connect a LAN to the Internet.

•To break a LAN into segments to relieve traffic congestion.

•To provide a security wall between two different types of users.

•To connect WLAN to LAN

4

Introduction

Many times it is necessary to connect a LAN to another LAN or to a WAN.

Computers within a LAN are often connected using a hub

LAN to LAN connections are often performed with a bridge.

Segments of a LAN are usually connected using a switch.

LAN to WAN connections are usually performed with a router.

5

HubsHubs are simple network devices, and their simplicity is reflected in their low cost.

A hub interconnects two or more workstations into a local area network.

They provide everything needed to create a small network.

When a workstation transmits to a hub, the hub immediately resends the data frame to all connecting links.

Hubs expand one Ethernet connection into many. For example, a four-port hub connects up to four machines

Simple device Hub

6

Workstation Hub

7

Hubs

Most hubs are referred to as either active or passive. Active regenerate a signal before forwarding it to all

the ports on the device and requires a power supply. Small workgroup hubs normally use an external

power adapter, but on larger units the power supply is built in.

Passive hubs, which today are seen only on older networks, do not need power and they don’t regenerate the data signal.

9

BroadcastingThe method of sending data to all systems

regardless of the intended recipient is referred to as broadcasting.

On busy networks, broadcast communications can have a significant impact on overall network performance

10

11

SwitchesA switch is a combination of a hub and a bridge.

It can interconnect two or more workstations, but like a bridge, it observes traffic flow and learns.

When a frame arrives at a switch, the switch examines the destination address and forwards the frame out the one necessary connection.

switches are far more efficient than hubs

12

SwitchesIt looks at the Media Access Control (MAC) addresses of the devices connected to it to determine the correct port.

A MAC address is a unique number that is stamped into every NIC.

By forwarding data only to the system to which the data is addressed, the switch decreases the amount of traffic on each network link dramatically

switch

13

Corporate switch connection

14

BridgeBridges are networking devices that connect

networks. Sometimes it is necessary to divide networks

into subnets to reduce the amount of traffic on each larger subnet or for security reasons.

Once divided, the bridge connects the two subnets and manages the traffic flow between them.

Today, network switches have largely replaced bridges

15

Functions of BridgeA bridge functions by blocking or forwarding

data, based on the destination MAC address written into each frame of data.

If the bridge believes the destination address is on a network other than that from which the data was received, it can forward the data to the other networks to which it is connected. If the address is not on the other side of the bridge, the data is blocked from passing.

Bridges “learn” the MAC addresses of devices on connected networks by “listening” to network traffic and recording.

16

Bridge Device

17

18

BridgeA bridge connects networks and forwards

frames from one network to another.

BRIDGE

A B

C D

E F

G H

PORTS

19

Selective Forwarding

If A sends a frame to E - the frame must be forwarded by the bridge.

If A sends a frame to B - there is no reason to forward the frame.

BRIDGE

A B

C D

E F

G H

20

Workstations connected to a shared segment of a LAN

21

Workstations connected to a dedicated segment of a LAN

22

A Switch with Two Servers Allowing Simultaneous Access to Each Server

23

A server with two NICs and two connections to a switch

Physical Approach

24

25

Bridge Database The bridge needs a database that

contains information about which hosts are on which network.

The realistic options are:The system administrator can create

and maintain the database. The bridge can acquire the database

on the fly.

Hard to add

new co

mputers

Some loss of efficiency

26

Bridge interconnecting two identical LANs

27

A bridge interconnecting two dissimilar LANs

Router Routers are an increasingly common sight

in any network environment, from a small home office that uses one to connect to an Internet service provider (ISP) to a corporate IT environment where racks of routers manage data communication with disparate remote sites.

Routers make internetworking possible.Routers are network devices that literally

route data around the network.

28

29

Routers

Thus, routers are often called “layer 3 devices”. They operate at the third layer, or OSI network layer, of the packet.

Routers often incorporate firewall functions.

An example of a router’s operation is shown on the next slide.

By examining data as it arrives, the router can determine the destination address for the data; then, by using tables of defined routes, the router determines the best way for the data to continue its journey.

Unlike bridges and switches, which use the hardware-configured MAC address to determine the destination of the data, routers use the software-configured network address(IP) to make decisions.

This approach makes routers more functional than bridges or switches.

30

31

32

33

34

35

Switches vs routers

36

Switches are considered layer-two devices, using MAC addresses to forward frames to their proper destination.

Routers, layer-three devices, are much more complex, using microprocessor-based circuitry to route packets between networks based on their IP address.

Routers provide the following services: route discovery; selection of the best route to a destination; adaptation to changes in the network; translation from one technology to another, such as Ethernet to token ring; packet filtering based on IP address, protocol, or UDP/TCP port number; and connection to a WAN.

Bridges vs RoutersBridge: A bridge is a

device that connects two segments of the same network. The two networks being connected can be alike or dissimilar.

Bridges are protocol-independent. They simply forward packets without analyzing and re-routing messages.

  

Router: A router is a device that connects two distinct networks. Routers are similar to bridges, but provide additional functionality, such as the ability to filter messages and forward them to different places based on various criteria.

The Internet uses routers extensively to forward packets from one host to another.

37

GatewaysThe term gateway is applied to any device,

system, or software application that can perform the function of translating data from one format to another.

The key feature of a gateway is that it converts the format of the data, not the data itself to another network.

The border device in a network act like a gateway.

38

39

ModemsModem is a contraction of the terms

modulator and demodulator. Modems perform a simple function: They

translate digital signals from a computer into analog signals that can travel across conventional phone lines.

The modem modulates the signal at the sending end and demodulates at the receiving end. Modems provide a relatively slow method of communication.

40

41

42

Internal modem

43

Network Interface Cards (NICs)NICs—sometimes called network cards—

are the mechanisms by which computers connect to a network.

NICs come in all shapes and sizes, and they come in prices to suit all budgets.

44

PCMCIA NIC & A built-in network interface on a laptop system.

45

An expansion NIC.

46

TransceiversThe term transceiver does not necessarily

describe a separate network device but rather an integrated technology embedded in devices such as network cards.

In a network environment, a transceiver gets its name from being both a transmitter and a receiver of signals, such as analog or digital.

The transceiver is responsible to place signals onto the network media and also detecting incoming signals traveling through the same cable.

47

Repeaters:

As signals travel along a network cable (or any other medium of transmission), they degrade and become distorted in a process that is called attenuation.

If a cable is long enough, the attenuation will finally make a signal unrecognizable by the receiver.

A Repeater enables signals to travel longer distances over a network. Repeaters work at the OSI's Physical layer. A repeater regenerates the received signals and then retransmits the regenerated (or conditioned) signals on other segments.

48

49

50

BoosterA WiFi repeater or extender is used to

extend the coverage area of your WiFi network. It works by receiving your existing WiFi signal, amplifying it and then transmitting the boosted signal. With a WiFi repeater you can effectively double the coverage area of your WiFi network - reaching far corners of your home or office, different floors, or even extend coverage to your yard.

51

What’s the difference between a WiFi booster, repeater, or extender?

wiFi boosters, repeaters, and extenders are mostly the same thing - devices to improve WiFi coverage. There isn’t a clearly defined difference between devices that manufacturers describe as “repeaters” and devices described as “extenders”. 

52

FirewallsA firewall is a networking device, either

hardware or software based, that controls access to your organization’s network.

This controlled access is designed to protect data and resources from outside threat.

To do this, firewalls are typically placed at entry/exit points of a network.

For example, a firewall might be placed between an internal network and the Internet. After the firewall is in place, it can control access in and out of that point.

53

Hardware configuration

54

55

Software

56

57

58

Network Servers

Network servers provide the storage necessary for LAN software.

They are usually the focal point for the network operating system.

Increasingly, network servers are functioning as bridges, switches, and routers. By adding the appropriate card, a server can assume multiple functions.

Network Devices Summary

59

Contd.,

60

61

Routers (really specialized computers)

The device that connects a LAN to a WAN or a WAN to a WAN (the INTERNET! – uses IP addresses).

A router accepts an outgoing packet, removes any LAN headers and trailers, and encapsulates the necessary WAN headers and trailers.

Because a router has to make wide area network routing decisions, the router has to dig down into the network layer of the packet to retrieve the network destination address.

62

Connections (in general)

Bridges for LANs and hubs.

Switches for LANs and workstations.

Routers for LANs and WANs (the Internet).

Linksys Router for Home Network

63

The OSI Reference Model

64

NetworkLayer

Data LinkLayer

PhysicalLayer

ApplicationLayer

PresentationLayer

SessionLayer

TransportLayer

NetworkLayer

Data LinkLayer

PhysicalLayer

ApplicationLayer

PresentationLayer

SessionLayer

TransportLayer

The Physical Layer Connection

65

NetworkLayer

Data LinkLayer

PhysicalLayer

ApplicationLayer

PresentationLayer

SessionLayer

TransportLayer

NetworkLayer

Data LinkLayer

PhysicalLayer

ApplicationLayer

PresentationLayer

SessionLayer

TransportLayer

Specifies Specifies electrical electrical

connectionconnection

The Physical Layer Connection

66

NetworkLayer

Data LinkLayer

PhysicalLayer

ApplicationLayer

PresentationLayer

SessionLayer

TransportLayer

NetworkLayer

Data LinkLayer

PhysicalLayer

ApplicationLayer

PresentationLayer

SessionLayer

TransportLayer

Hub

AmplificationAmplificationRegenerationRegeneration

The Data Link Connection

67

NetworkLayer

Data LinkLayer

PhysicalLayer

ApplicationLayer

PresentationLayer

SessionLayer

TransportLayer

NetworkLayer

Data LinkLayer

PhysicalLayer

ApplicationLayer

PresentationLayer

SessionLayer

TransportLayerDelineationDelineation

ofofDataDataErrorError

DetectionDetectionAddressAddress

FormattingFormatting

68

NetworkLayer

Data LinkLayer

PhysicalLayer

ApplicationLayer

PresentationLayer

SessionLayer

TransportLayer

NetworkLayer

Data LinkLayer

PhysicalLayer

ApplicationLayer

PresentationLayer

SessionLayer

TransportLayer

Bridge& Switch

The Data Link Connection

The Network Layer Connection

69

NetworkLayer

Data LinkLayer

PhysicalLayer

ApplicationLayer

PresentationLayer

SessionLayer

TransportLayer

NetworkLayer

Data LinkLayer

PhysicalLayer

ApplicationLayer

PresentationLayer

SessionLayer

TransportLayerEnd to end End to end

routingrouting

The Network Layer Connection

70

NetworkLayer

Data LinkLayer

PhysicalLayer

ApplicationLayer

PresentationLayer

SessionLayer

TransportLayer

NetworkLayer

Data LinkLayer

PhysicalLayer

ApplicationLayer

PresentationLayer

SessionLayer

TransportLayer

Router