networking basics

115

Upload: avinash-yadav

Post on 16-Apr-2017

215 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Networking Basics
Page 2: Networking Basics

Interconnection of two or more computers and peripherals

Allows user to share and transfer information

Page 3: Networking Basics

ComputerNetworks

Local Area Network

(LAN)

CampusArea Network

(CAN)

MetropolitanArea Network

(MAN)

WideArea Network

(WAN)

3

Networks are classified depending on the geographical area covered by the network

Page 4: Networking Basics

4

Covers a small area Connects computers and workstations covering a

local area like, office or home

Page 5: Networking Basics

5

Advantages of LAN: Improves productivity due to faster work Provides easy maintenance New systems can be installed and configured

easily Disadvantages of LAN:

Limited number of systems can only be connected Cannot cover large area Network performance degrades as number of

users exceeds

Page 6: Networking Basics

LAN Types

Ethernet Token Ring Token Bus FDDI

6

LANs are classified depending on the techniques used for data sharing

Page 7: Networking Basics

7

Made up of multiple LANs within limited area Connects different LANs in a campus

Page 8: Networking Basics

Interconnects networks within a city Supports data and voice transmission

8

Page 9: Networking Basics

Covers a wide geographical area which includes multiple computers or LANs e.g. Internet

9

Page 10: Networking Basics

10

Consists of two elements, Client and Server Server:

A centralized element which provides resources to client

Manages data, printers or network traffic Client:

Manages local resources used by users such as monitor, keyboard, CPU and peripherals

Page 11: Networking Basics

11

Also known as ISO-OSI Reference Model Developed by International Organization for

Standardization (ISO) Describes flow of information from one computer to

another Consists of seven layers

Page 12: Networking Basics

12

Page 13: Networking Basics

13

Page 14: Networking Basics

Topology refers to physical or logical arrangement of network

Physical topologies are◦ Single Node◦ Bus◦ Star◦ Ring◦ Mesh◦ Tree◦ Hybrid

14

Page 15: Networking Basics

Single device, at times device called dumb terminal is connected to the server

Devices operates on files from server and returns them back after completing task

15

Page 16: Networking Basics

16

Disadvantages:◦ Network consists of

single device

◦ Dumb terminal is dependent on server

Advantages:◦ Easy to install,

configure and manage

◦ Least expensive

◦ Single cable is required

Page 17: Networking Basics

17

All devices are connected to a common cable called trunk

Maximum segment length of cable is 200 m Maximum of 30 devices per segment

Page 18: Networking Basics

18

Server is at one end and devices are at different positions

50 ohm terminator is used Devices are not responsible for data

transmission Number of collisions are more Usually uses Thinnet or Thicknet Performance degrades as more computers

are added to the bus.

Page 19: Networking Basics

19

Advantages:◦ Installation of

devices is easy

◦ Requires less cable compared to star topology

◦ Less expensive and works better for smaller networks

Disadvantages:◦ If backbone breaks,

entire network gets down

◦ Difficult to isolate problems

◦ Limited number of devices

Page 20: Networking Basics

Each device is connected to a central device called hub through cable Data passes through hub before reaching destination If a computer goes down, the network

functions normally.

20

Page 21: Networking Basics

Advantages:◦ Easy to install,

configure, manage and expand

◦ Centralized management

◦ Addition or removal of device does not affect the whole network

Disadvantages:◦ Requires more cable

◦ Failure of hub affects entire network

◦ More Expensive

21

Page 22: Networking Basics

Devices are connected in a closed loop

All devices have equal access to media

Most common type is Token Ring

Each computer acts as a repeater and keeps the signal strong

22

Page 23: Networking Basics

Advantages:

◦ Data travels at greater speed

◦ No collisions

◦ Handles large volume of traffic

Disadvantages:

◦ More cabling is required compared to bus

◦ One faulty device affects the entire network

◦ Addition of devices affect network

23

Page 24: Networking Basics

Consists of two independent primary and secondary rings

Secondary ring is redundant, used only when primary stops functioning

24

Page 25: Networking Basics

Used in WANs to interconnect LANs

Every device is connected to every other device

Use routers to determine the best path of communication

25

Page 26: Networking Basics

Full mesh topology – All devices are connected to each other

Partial mesh topology - Some devices are connected to only those with whom they exchange most of the data

26

Types

Full mesh Partial mesh

Page 27: Networking Basics

Advantages:

◦ Improves fault tolerance

◦ Failure of one link does not affect entire network

◦ Centralized management is not required

Disadvantages:

◦ Difficult to install and manage

◦ Each link from one device to other requires individual NIC

◦ Very much expensive

27

Page 28: Networking Basics

Connects groups of star networks

Devices are wired to root hub

Root hub is connected to second level devices

Lowest level devices are smaller computers

28

Page 29: Networking Basics

Advantages:◦ Easy to add new

devices◦ Point-to-point wiring

for each device◦ Fault detection is

easy

Disadvantages:◦ Difficult to configure◦ If backbone breaks,

entire network goes down

◦ More expensive

29

Page 30: Networking Basics

Combines two or more different physical topologies

Commonly Star-Bus or Star-Ring Star-Ring uses Multistation Access Unit (MAU)

30

Page 31: Networking Basics

Advantages:

◦ Used for creating larger networks

◦ Handles large volume of traffic

◦ Fault detection is easy

Disadvantages:

◦ Installation and configuration is difficult

◦ More expensive than other topologies

◦ More cabling is required

31

Page 32: Networking Basics
Page 33: Networking Basics

Segment Length – Length of single wire Attenuation – Indicates loss of signal Bandwidth – Amount of data carried by cable Number of Segments – Maximum number of

segments in network Cost – Copper cables are cheapest, fiber optic

cables are expensive Interference susceptibility and crosstalk –

Defines concept of electronic interference on cables

33

Page 34: Networking Basics

Copper medium is the cheapest mode of data transfer

Types of cables

Coaxial cable Twisted pair cables

34

Page 35: Networking Basics

Consist of a solid copper core surrounded by an insulator mainly made up of Poly Vinyl Chloride (PVC) or Teflon

Coaxial cables are less prone to interference (both internal and external)

35

Page 36: Networking Basics

Coaxial cables are mainly divided into four categories

Types of Coaxial cables

RG58 RG8 RG6 RG59

36

Page 37: Networking Basics

Maximum segment length is 200 (185) meters

Interference protection is better than twisted pair cables

BNC-T connector is used to connect this cable Used in thinnet (10BASE2) network Mostly used in changing environments

37

Page 38: Networking Basics

Maximum segment length is 500 meters Interference protection is good compared to

any copper cable BNC-T or Vampire Tap connector is used to

connect this cable Used in 10BASE5 network

38

Page 39: Networking Basics

Broadband quad-shielded cable

Provides lower attenuation characteristics

Useful in cable TV, CCTV and satellite dish antenna

39

Page 40: Networking Basics

Solid conductor is surrounded by a foam polyethylene dielectric

Useful in security camera, cable TV and home theatre

40

Page 41: Networking Basics

A pair of cables twisted around each other forms a twisted pair cable.

Twisted Pair cables

Unshielded Twisted Pair

Shielded Twisted pair

41

Page 42: Networking Basics

Pair of unshielded wires wound around each other

Easily gets affected by EMI, RFI and crosstalk

Maximum segment length is 100 meters

42

Page 43: Networking Basics

Cat 7

Cat 6

Cat 5eCat 5

Cat 4

Cat 3

Cat 2Cat 1

UTP

43

Page 44: Networking Basics

Pair of wires wound around each other is placed inside shield

Better protection from EMI, RFI and crosstalk as compared to UTP

Maximum segment length of 100 meters

44

Page 45: Networking Basics

Consists of centre glass core surrounded by cladding

Electrical signals are converted into light signals

LED or laser is used to transmit signal

45

Page 46: Networking Basics

Bandwidth – Carries large amount of data ranging from 100 Mbps to 1 Gbps

Segment Length – Transmits data signals over larger distance

Interference – No electric signals pass through these types of cables thus providing security

46

Page 47: Networking Basics

Fiber optic cables can carry signals in a single direction.

Fiber Optic Cable Types

Single Mode Multi mode

47

Page 48: Networking Basics

A type of cable that has only a single strand of glass fiber with a thin diameter.

Fiber optic cables that use lasers are known as single mode cable.

48

Page 49: Networking Basics

A type of cable that contains a glass fiber with a larger diameter.

It is a 62.5/125 micrometer fiber cable.

49

Page 50: Networking Basics

Straight Tip (ST) – Joins individual fibers to optical devices

Subscriber Connector (SC) – Attaches two fibers to send and receive signals

Medium Interface Connector (MIC) – Joins fiber to FDDI controller

Sub Miniature Type A (SMA) – Uses individual connectors for each fiber stand

Fiber Jack – Attaches two fibers in snap lock connector

50

Page 51: Networking Basics

Characteristics UTP STP Coaxial Cables Fiber Optic Cables

Bandwidth 10 Mbps – 100 Mbps

10 Mbps – 100 Mbps

10 Mbps 100 Mbps - 1 Gbps

Maximum cable segment

100 meters 100 meters 200 – 500 meters 2 k.m. – 100 k.m.

Interference rating Poor Better than UTP Better than twisted pair wires

Very good as compared to any other cable

Installation cost Cheap Costly than UTP Costly than twisted pair wires

Most costly to install

Bend radius 360 degrees / feet 360 degrees / feet 360 degrees / feet or 30 degrees / feet

30 degrees / feet

Security Low Low Low High

51

Page 52: Networking Basics
Page 53: Networking Basics

Networking devices interconnects networks Manage data flow and network traffic

NetworkingDevices

Repeaters Hubs Bridges Switches Routers Gateways Other Devices

53

Page 54: Networking Basics

Operate at Physical Layer of the OSI model

54

Reshape the weak signal Connect two segments of the same LAN

Page 55: Networking Basics

55

Simplest and low cost device Also known as Multi-port Repeater Operate at Physical Layer like Repeater Data transfer to all the ports Hub types:

Active hub – Provides signal regeneration Passive hub – No signal regeneration Intelligent hub – Provides management of each port

Page 56: Networking Basics

56

Page 57: Networking Basics

57

Layer 2 devices as works at Data Link Layer of the OSI model

Interconnect multiple LANs and manages data flow

Page 58: Networking Basics

58

Working of a bridge

Page 59: Networking Basics

Capable of passing a frame Check Physical address Pass frame to the specified segment Perform error checking on the frame

Bridges

Transparent Bridge

Translational Bridge

Source-route Bridge

59

Page 60: Networking Basics

Features◦ Easy to use as just plug in device ◦ Helps in network expansion◦ Divides large network into small segments◦ Used for increasing network reliabilityDisadvantages◦ Frames are buffered so provides network delay ◦ During high traffic may overload network◦ Does not filter broadcast packets◦ Expensive than Repeaters

60

Page 61: Networking Basics

SwitchingMethods

Cut-throughMethod

Store & ForwardMethod

Fragment-FreeMethod

61

Provide signal flow management Replace slower hub Being a Data Link Layer device uses MAC address

for data transfer Data transfer to specific port

Page 62: Networking Basics

62

Operate at Network Layer of the OSI model Can connect nearer or far network segments

Page 63: Networking Basics

63

Decide the best route with the help of network layer address

Responsible for Source to Destination delivery of packet

Route types: Static route – Routing tables are manually configured Dynamic route – Routing tables are automatically

configured

Page 64: Networking Basics

64

Helps routers to learn network topology and network changes

Routing algorithms are used by routing protocols for deciding the path

Page 65: Networking Basics

GatewayTypes

AddressGateway

ProtocolGateway

ApplicationGateway

TransportGateway

65

Operate at all layers of the OSI model Act as gate to other networks A default gateway is on the same subnet as your

computer

Page 66: Networking Basics

66

Address Gateway – Interconnects same protocol networks

Protocol Gateway – Interconnects different protocol networks

Application Gateway – Connects two parts of applications

Transport Gateway – Connects networks at transport layer

Page 67: Networking Basics

OtherDevices

Multi-ProtocolRouters Brouters Layer 3

Switches

67

Multi-protocol router supports multiple communication protocols

Like router, it operates at Network Layer

Page 68: Networking Basics

68

Brouter provides combined functions of Bridge and Router

Works at two layers, Data Link and Network Can operate only as bridge or only as router High performance switch operating at network layer

is Layer 3 Switch

Page 69: Networking Basics
Page 70: Networking Basics

Set of predefined rules used by devices in network for data transfer

Network Protocols:◦ TCP/IP◦ ARP/RARP◦ ICMP/IGMP◦ UDP◦ IPX/SPX◦ HDLC/SDLC

70

Page 71: Networking Basics

Two layer communication protocol used by Internet

TCP provides connection-oriented reliable transport service

Divides the message into smaller packets called segments

IP is a connectionless and unreliable datagram protocol and provides no error checking

IP transfers data in the form of packets called datagrams

71

Page 72: Networking Basics

Designed before OSI model

Consists of five layers

Provides independent protocols at each layer

72

Page 73: Networking Basics

To deliver packet both physical and logical addresses are necessary

Address Resolution Protocol (ARP) provides physical address when logical address is known

Reverse Address Resolution Protocol (RARP) maps logical address to physical address

RARP is useful when device is booted for first time

73

Page 74: Networking Basics

Internet Control Message Protocol (ICMP) provides error reporting and query management mechanism

ICMP handles problems occurring while packet transmission

Internet Group Message Protocol (IGMP) manages multicasting and group membership of devices

74

Page 75: Networking Basics

75

Error Reporting

Destination Unreachable

Router Solicitation and Advertisement

Timestamp request and reply

Address MaskRequest and reply

Echo request and reply

Query

Source Quench

Time Exceeded

Redirection

Parameter Problem

ICMP Messages

Page 76: Networking Basics

User Datagram Protocol (UDP) provides connectionless process-to-process communication

UDP packets are called user datagrams. User Datagram Format:

76

Page 77: Networking Basics

Novell NetWare system uses IPX/SPX as communication protocol within networks

IPX (Internetwork Packet Exchange) operates at Network layer for connectionless communication

SPX (Sequenced Packet Exchange) operates at Transport layer for connection-oriented communication

Together, IPX/SPX provides same services as TCP/IP

77

Page 78: Networking Basics

78

Page 79: Networking Basics

High Level Data Link Control (HDLC) and Synchronous Data Link Control (SDLC) are bit-oriented synchronous protocols in which data frames are interpreted as series of bits

Both are useful for half-duplex and full-duplex communication

Windows XP still support DLC

79

Page 80: Networking Basics

OSI Layers Protocols

Physical Layer No protocols defined

Data Link Layer HDLC, SDLC

Network Layer NetBEUI, IP, ICMP, IGMP, ARP, RARP, IPX

Transport Layer NetBEUI, TCP, UDP, SPX

Session Layer NetBIOS, SAP, SMTP, FTP, DNS, SNMP,

Presentation Layer NCP, RIP, NLSP, SMTP, FTP, DNS, SNMP, NFS

Application Layer SMTP, DNS, SNMP, NFS, TFTP

80

Page 81: Networking Basics
Page 82: Networking Basics

Specifies how mail should be delivered from one system to another

Standard protocol used for transferring email from one computer to another

Makes connection between sender’s server and recipient and then transfer messages

82

Page 83: Networking Basics

A two-way transmission channel established between the sender SMTP and a receiver SMTP

Commands are generated by sender SMTP and sent to receiver SMTP

83

Page 84: Networking Basics

Set of rules used to exchange files on World Wide Web

Users can exchange text, graphic images, sound, video and other multimedia files

Defines how messages are formatted and transmitted over the Internet

84

Page 85: Networking Basics

HTTP works on request and response between browser and server

Web server is designated to handle HTTP requests then sends requested HTML page

85

Proxy servers is used with firewalls to monitor and direct HTTP traffic through proxy to external internet

Page 86: Networking Basics

Used over Internet to exchange files Uses Internet's TCP/IP protocols to enable

data transfer Establishes two way connections between

computers

86

File Transfer Protocol (FTP)

Page 87: Networking Basics

Machine that are involved in an FTP transaction – Client (local host) machine and a server (remote host)

Client machine initiates transfer Get command used to

copy files from server toclient

Put command is used tocopy files from client to server

87

Page 88: Networking Basics

Used to transfer files to and from a remote computer

Used by servers to boot diskless workstations, X-terminals and routers

Start with a small amount of built-in software

88

Page 89: Networking Basics

Connection and Communication between Client/Server ◦ Communication and messaging different in TFTP

when compared with FTP◦ TFTP uses UDP◦ Process of transferring a file:

Initial Connection Data Transfer Connection Termination

89

Page 90: Networking Basics

Used to transfer Usenet news from one machine to another machine

Usenet news is a large collection of discussion groups, covering a wide range of topics

NNTP provides connection-oriented service Communication takes place between a client

and a server that keeps netnews on both the places

90

Page 91: Networking Basics

Framework for managing devices over Internet using TCP/IP protocol suite

Provides set of fundamental operation for monitoring and maintaining devices in the network

Agent is server process that maintains Management Information Base (MIB) database for host

91

Page 92: Networking Basics

Used to retrieve email from remote server to local client over TCP/IP connection

E-mail clients using POP3 connect, retrieve all messages or store them on user's PC as new messages or delete them from server and disconnect

POP3 is a TCP/IP client/server protocol Session States:

◦ Authorization State◦ Transaction State◦ Update State

92

Page 93: Networking Basics

93

Page 94: Networking Basics

Enables the users to work with the mail on the server

Does not download the mails Used to access e-mails from a local server Working with mails

◦ Accessing and deleting mails◦ Attachments

94

Page 95: Networking Basics

Advantages:◦ As the e-mail folders

are stored on the server, the user is able to read email from any computer which belongs to the network

◦ To access more than one account from different locations, IMAP will be the most efficiently

95

Disadvantages: Complicated Results in higher server

loads than POP3 Utilizes a lot of server

resources

Page 96: Networking Basics

BOOTP – First automated configuration tool for IP hosts◦ Bootstrapping – Provides the host with the

capability of getting IP addresses while machine boots

◦ Requires two phases: Client provided with address and other parameters Client downloads softwares to function on network

and perform tasks

96

Page 97: Networking Basics

Dynamic Host Configuration Protocol (DHCP) – Successor of BOOTP with different features

Dynamically assign addresses to clients and centrally manage

Consists of two major components – 1. Address allocation mechanism 2. Protocol that allows clients and server to communicate

DHCP standard includes three different address allocation mechanisms:◦ Manual , Automatic and Dynamic

97

Page 98: Networking Basics

Network protocol used on internet or local area network connections

Terminal emulation program for TCP/IP networks

Enables to control server and communicate with other servers on network

98

Page 99: Networking Basics

Telnet client – Software that acts as interface to user, processing user commands and presenting output from remote machine

Telnet server - Program running on remote computer that has been set up to allow remote session

Telnet runs over connection-oriented TCP TCP connection maintained for duration of

Telnet session Client and server send information at same

time over Telnet session because TCP is a full-duplex

99

Page 100: Networking Basics

WWW is a network of Internet servers, which support documents that are developed using HTML

Hyper Text Markup Language (HTML) is a language in which these documents are formatted

Client-side◦ Computer application – Web browser that runs on

user’s local computer and connects to server◦ Interpreter that interprets code in an HTML page◦ Operations carried out on client-side

100

Page 101: Networking Basics

Server Side ◦ Software program – Web server that runs on a

remote server◦ Manages and shares web based applications ◦ Operations include processing and storage of

data from client to server

101

Page 102: Networking Basics
Page 103: Networking Basics

103

Wireless networking allows you to establish: Communication using standard network

protocols Communication without the use of

cables Technologies used for wireless access

based on Wireless fidelity (Wi-Fi) Home Radio Frequency

(HomeRF)

Page 104: Networking Basics

Peer-to-Peer(P2P) or Ad-Hoc◦ Connected wirelessly with the use of wireless

Network Interface Card (NIC)◦ Computers can access printers and share files◦ Wired LAN can be accessed using bridging

104

Page 105: Networking Basics

Access point or Infrastructure wireless LAN◦ Wireless device connects

to the access point to connect to the network

◦ Access point acts as a hub to connect two wireless devices

◦ Wireless bridge used to connect wireless network to wired network

105

Page 106: Networking Basics

Security◦ Four methods of wireless network security:

Data encryption - WEP (Wired Equivalent Privacy) and WPA (Wi-Fi Protected Access)

Port based access control Service Set Identifier (SSID) Media Access Control (MAC) address filtering

106

Page 107: Networking Basics

The important components required for setting up a wireless network are:◦ Medium◦ Access point and Extension point◦ Wireless bridges and Power line bridges◦ Antennas◦ Wireless adapters◦ Wireless Station and Server◦ Software

107

Page 108: Networking Basics

Wireless medium is an unguided form of networking medium

Wireless transmission involves use of technologies such as Bluetooth, Infrared, Lasers, Radio signals and Microwave technologies

Mobile computing allows users to do their work at any location

108

Page 109: Networking Basics

Access Point◦ Device that bridges a wireless connection and

a wired connection ◦ Two types of access points: Hardware access

points and Software access points Extension Point

◦ Used if single access point is not able to cover entire area

109

Page 110: Networking Basics

Hardware access point is a physical device that is used to establish a connection between a wired network and a wireless network

110

Page 111: Networking Basics

Software Access Points are computer which includes a wireless network interface card.

111

Page 112: Networking Basics

Extension points are used if a single access point is not able to cover the entire area.

112

Page 113: Networking Basics

Antennas are used to increase the range of wireless network

Types of antennas used:◦ Omnidirectional antennas - Used indoors and

small in size◦ Directional antennas - High gain and used for

long range outdoor use Wireless adapters help to connect computer

or PDA to a network Wireless adapters are available as PC cards,

PCI and mini PCI, USB, and CompactFlash.

113

Page 114: Networking Basics

Wireless Local Area Network consists of wireless station and wireless server

Wireless station - Connects wireless network into a wireless medium

Wireless Stations

Wireless Clients Access Points

114

Wireless server – The main server which controls all devices within the wireless network

Page 115: Networking Basics

Wireless network adapter requires two types of software so as to function properly:◦ Driver◦ Configuration Utility

Windows XP has built-in tools for configuring network adapter settings

115