50
UNIT-1

Computer network (Lecture 1)

Embed Size (px)

Citation preview

Page 1: Computer network (Lecture 1)

UNIT-1

Page 2: Computer network (Lecture 1)

What is a network?

A network can be anything from a simple collection of computers (two connected computers qualify as a network) at one location that have been tied together using a particular connectivity medium (such as network cabling or wireless technology) to a giant global network, such as the Internet, that uses a number of different connectivity media, including microwave and satellite technology. The network can then be used to transmit data, voice, and even video between users on the network.

Page 3: Computer network (Lecture 1)

Local Area Network (LAN): A LAN supports fast, low−error data transfer on a physical network infrastructure that covers a small, limited geographic area, such as within a single building or on a single floor of a building.

Defining LANs, MANs, and WANs

Page 4: Computer network (Lecture 1)

Metropolitan Area Network (MAN): A MAN is a network that spans an area larger than a LAN but is less dispersed geographically than a WAN. A MAN network may connect several LANs on a single companys campus, or interconnect the LANs of several companies and businesses in one part of town,

Wide Area Networks (WAN): A WAN,, is a network that interconnects LANs and MANs across a broad geographic area

Page 5: Computer network (Lecture 1)

A local Area Network

Page 6: Computer network (Lecture 1)

A Wide Area Network

Page 7: Computer network (Lecture 1)

Users can share resources and communicate

File sharing. Hardware sharing (printers, CD-ROM drives,

and hard drives ) Program sharing User communication. Multiplayer gaming

Why Network Your Computers?

Page 8: Computer network (Lecture 1)

Change: changes made to one layer, the impact on the other layers is minimized.

Design: protocol designers can specialize in one area (layer) without worrying about how any new implementations affect other layers.

Learning: The layered approach reduces the complexity and makes learning ,understanding the actions of each layer and the model on the whole much easier.

Reasons why a layered−model is used

Page 9: Computer network (Lecture 1)

Troubleshooting: The protocols, actions, and data contained in each layer of the model relates only to the purpose of that layer. This enables troubleshooting efforts to be pinpointed on that layer.

Standards: Probably the most important reason for using a layered model is that it establishes a prescribed guideline for interoperability between the various vendors developing products that perform different data communications tasks.

Page 10: Computer network (Lecture 1)

OSI Reference model

The Open Systems Interconnection Reference Model, the OSI model was developed by the ISO (International Standards Organization) and released in 1984.

The OSI model, as it is called for short, defines the rules,mechanisms, formats, and protocols used to guide how data flows from one device to another.

Page 11: Computer network (Lecture 1)

1.All People Seem To Need Data Processing2. Please Do Not Throw Salami (or Sausage if you prefer) Pizza Away

Page 12: Computer network (Lecture 1)
Page 13: Computer network (Lecture 1)

The Physical layer of the OSI model defines the electrical and mechanical specifications used in networking,including transmission distances, the various types of media available, and electrical issues.

Physical Layers

Page 14: Computer network (Lecture 1)

The Data Link Layer

Physical addressing Network topology Error notification Access to the physical medium (a.k.a.

arbitration) Flow control

Page 15: Computer network (Lecture 1)

The Network Layer

• Message addressing

• Path determination between source and destination nodes on different networks

• Routing messages between networks

• Controlling congestion on the subnet

• Translating logical addresses into physical addresses

Page 16: Computer network (Lecture 1)

When the message (which moves down through the seven OSI layers on Johns computer before its sent out on the local network in binary form) arrives at Router 1, it moves up from the Physical layer to the Data Link layer to the Network layer. At Layer 3, its determined that the message is not on a network attached to Router 1 and the message is sent down through the Data Link layer to the Physical layer and on to Router 3.

Page 17: Computer network (Lecture 1)

Segment and assemble upper−layer applications

Transport segments from one host to another host

Establish and manage end−to−end operations

Error recovery

The Transport Layer

Page 18: Computer network (Lecture 1)

A session is a series of related connection−oriented transmissions between network nodes.

Session Layer, establishes, manages, and terminates sessions between applications.

The session layer provides a name space that is used to tie together the potentially different transport streams that are part of a single application.

Session layer is its role in deciding whether a communications session uses a simplex, half−duplex, or full−duplex transmission mode.

The Session Layer

Page 19: Computer network (Lecture 1)

Data encryption

Data compression

Data formatting

Data conversion

Presentation Layers

Page 20: Computer network (Lecture 1)

Application layer defines the communication services used by the users applications to transmit data over the network.

FTP (File Transfer Protocol) E−mail clients Web browsers Telnet SNMP (Simple Network Management Protocol) BBS (bulletin board system) servers EDI (Electronic Data Interchange) and other

transaction services

The Application Layer

Page 21: Computer network (Lecture 1)

A Quick Review of the OSI Model

Page 22: Computer network (Lecture 1)

OSI vs TCP/IP

Page 23: Computer network (Lecture 1)

OSI introduced concept of services, interface,

protocols. These were force-fitted to TCP later

⇒ It is not easy to replace protocols in TCP. In OSI, reference model was done before protocols.

In TCP, protocols were done before the model OSI: Standardize first, build later

TCP: Build first, standardize later OSI took too long to standardize.

TCP/IP was already in wide use by the time. OSI became too complex. TCP/IP is not general. Ad hoc.

OSI vs TCP Reference Models

Page 24: Computer network (Lecture 1)

TCP/IP Concepts

Network Attachment Point (NAP)

Page 25: Computer network (Lecture 1)

Transmission Media

Page 26: Computer network (Lecture 1)

Overview

Electromagnetic Spectrum

Transmission Media: Twisted Pair, Coax, fiber,wireless

Unshielded Twisted Pair (UTP) categories

Reflection and Refraction

Antennas: Isotropic, directional, omni-directional

Terrestrial and Satellite Microwave

Page 27: Computer network (Lecture 1)

Electromagnetic Spectrum

Page 28: Computer network (Lecture 1)

Guided: Twisted Pair Coaxial cable Optical fiber

Unguided: Microwave Satellite Wireless

Transmission Media

Page 29: Computer network (Lecture 1)

Twists decrease the cross-talk Neighboring pairs have different twist length Most of telephone and network wiring in

homes and offices is TP.

Twisted Pair (TP)

Page 30: Computer network (Lecture 1)

Unshielded Twisted Pair (UTP) Ordinary telephone wire Cheap, Flexible Easiest to install No shielding Suffers from external EM interference Used in Telephone and Ethernet

Shielded Twisted Pair (STP) Metal braid or sheathing that reduces interference More expensive Harder to handle (thick, heavy) Used in token rings

Unshielded and Shielded TP

Page 31: Computer network (Lecture 1)

Cat 3 Up to 16MHz Voice grade found in most offices Twist length of 7.5 cm to 10 cm Cat 4 Up to 20 MHz. Not used much in practice. Cat 5 Up to 100MHz Used in 10 Mbps and 100 Mbps Ethernet Twist length 0.6 cm to 0.85 cm Cat 5E (Enhanced), Cat 6, Cat 7

UTP Categories

Page 32: Computer network (Lecture 1)

Higher bandwidth than UTP. Up to 500 MHz. Used in cable TV

Coaxial Cable

Page 33: Computer network (Lecture 1)

Index of Refraction = Speed of light in Vacuum/Speed in glass

= 300 m/μs / 200 m/μs =1.5 Refracted light bends towards the higher index

medium

Reflection and Refraction

Page 34: Computer network (Lecture 1)

Attenuation and Dispersion

Page 35: Computer network (Lecture 1)

A cylindrical mirror is formed by the cladding The light wave propagate by continuous reflection in the

fiber Not affected by external interference =>low bit error rate Fiber is used in all long-haul or high-speed communication Infrared light is used in communication

Optical Fiber

Page 36: Computer network (Lecture 1)

Multimode Fiber: Core Diameter 50 or 62.5 mm Wide core => Several rays (mode) enter the

fiber Each mode travels a different distance Single Mode Fiber: 10-μm core. Lower

dispersion.

Types of Fibers I

Page 37: Computer network (Lecture 1)

Dispersion-Shifted Fiber: Zero dispersion at 1310nm

EDFAs/DWDM systems operate at 1550 nm

Special core profile zero dispersion at 1550 nm Dispersion Flattened Fiber: 3 ps/nm/km 1300-

1700nm

Use 1300 nm now and 1550 in future

Low dispersion causes four-wave mixing

DSF/DFF not used in multi-wavelength systems

Types of Fibers II

Page 38: Computer network (Lecture 1)
Page 39: Computer network (Lecture 1)

2GHz to 60GHz Terrestrial Microwave, Satellite Microwave Highly directional Point to point

30MHz to 1GHz Omni-directional Broadcast radio

3 x 1011 to 2 x 1014 Infrared Short distance

Wireless Transmission Frequencies

Page 40: Computer network (Lecture 1)

Transmitter converts electrical energy to electromagnetic

waves Receiver converts electromagnetic waves to electrical

energy Same antenna is used for transmission and reception Omni-Directional: Power radiated in all directions Directional: Most power in the desired direction Isotropic antenna: Radiates in all directions equally Antenna Gain = Power at particular point/Power with

Isotropic Expressed in dBi

Antenna

Page 41: Computer network (Lecture 1)

Parabolic Antenna

Used in Terrestrial microwaves Line of sight communication 10-60 GHz Higher frequencies for higher data rates

Page 42: Computer network (Lecture 1)

Parabolic dish Focused beam Line of sight Long haul telecommunications Higher frequencies give higher data rates

Terrestrial Microwave

Page 43: Computer network (Lecture 1)

Satellite Microwave

Relay station => Satellite receives on one frequency, amplifies or repeats signal and transmits on another frequency Geo-stationary orbit: Height of 35,784km Point to Point or Direct broadcast satellite

Page 44: Computer network (Lecture 1)

Omni-directional FM radio, UHF and VHF television Line of sight Suffers from multi-path interference

(Reflections)

Broadcast Radio

Page 45: Computer network (Lecture 1)

Used in TV remote control IRD port of computers Modulate infrared light Line of sight (or reflection) Blocked by walls

Infrared

Page 46: Computer network (Lecture 1)

Ground wave: Follows contour of earth. Up to 2MHz. AM radio

Sky wave: Signal reflected (Actually refracted) from ionosphere layer of upper atmosphere.

Amateur radio, BBC world service, Voice of America

Line of sight: Above 30MHz. Density of atmosphere decreases with height. Results in radio waves bending towards earth

Wireless Propagation

Page 47: Computer network (Lecture 1)
Page 48: Computer network (Lecture 1)

Free space loss: Signal disperses with distance Greater for lower frequencies (longer wavelengths)

Atmospheric Absorption: Water vapour and oxygen

Water greatest at 22GHz, less below 15GHz Oxygen greater at 60GHz, less below 30GHz Rain and fog scatter radio waves

Multipath: Signal can be reflected causing multiple copies to be received. May be no direct signal at all. May reinforce or cancel direct signal

Line of Sight Transmission

Page 49: Computer network (Lecture 1)
Page 50: Computer network (Lecture 1)

Unshielded twisted-pair (UTP) vs STP Single mode and multimode optical fiber Optical communication wavelengths Isotropic vs omni directional vs directional

antennas Parabolic antenna for microwave Ground wave, sky wave, line of sight

Summary