l6 mecse ncc

45
November 2, 2022 M.E. CSE-IT/NCC 1 VIT N C C Lecture : 05 Sub: Net-Centric Computing Unit 01 : OSI Model Class : ME CSE(Info.Tech) Date : 21/08/2007 Delivered By Manik Dhore

Upload: akshay-nagpurkar

Post on 20-Jan-2015

272 views

Category:

Technology


3 download

DESCRIPTION

 

TRANSCRIPT

Page 1: L6 mecse ncc

April 10, 2023 M.E. CSE-IT/NCC 1

VIT

N

C

C

Lecture : 05 Sub: Net-Centric Computing

Unit 01 : OSI Model

Class : ME CSE(Info.Tech)

Date : 21/08/2007

Delivered By

Manik Dhore

Page 2: L6 mecse ncc

April 10, 2023 M.E. CSE-IT/NCC 2

VIT

N

C

C I need no warrant for being,

and no word of sanction upon my being.

I am the warrant and the sanction

Page 3: L6 mecse ncc

April 10, 2023 M.E. CSE-IT/NCC 3

VIT

N

C

C

What OSI Defines ?

How n/w devices contact each other?

Methods by which device knows when to transmit data and when not to

Methods to ensure that n/w transmission is received correctly and by the right recipient

How to ensure that network devices maintain a proper DTR of data flow ?

How bits are represented on the n/w media ?

How to sequence the layers with Connection / Connectionless?

How to organize network functions into seven layers ?

How to organize peer to peer mode ?

Page 4: L6 mecse ncc

April 10, 2023 M.E. CSE-IT/NCC 4

VIT

N

C

C

Design Issues of Protocol Layers

Mechanism for identifying sender and receiver

I.e. Addressing

Rules for Data Transfer

Unidirectional ( Simplex )

Bi-directional ( Half and Full Duplex)

Methods for Error Control :

Error Detection

Error Correction

Queuing mechanism for Fast Sender and Slow Receiver

Methods to process arbitrarily long messages

Page 5: L6 mecse ncc

April 10, 2023 M.E. CSE-IT/NCC 5

VIT

N

C

C

Algorithms for Route decisions

Multiplexing and demultiplexing for multiple connections

Centralized

Decentralized

Dynamic

Logical decompositions of complex network

Standard interfaces between n/w layers

Symmetry in functions

Standard communication network language

Page 6: L6 mecse ncc

April 10, 2023 M.E. CSE-IT/NCC 6

VIT

N

C

C

Link approach

Connection Oriented

Connectionless

Connection Oriented Means

i. Acknowledgment

ii. Flow Control

iii. Error Control

Connectionless Means

i. No Acknowledgment

ii. No Flow Control

iii. No Error Control

Page 7: L6 mecse ncc

April 10, 2023 M.E. CSE-IT/NCC 7

VIT

N

C

C

Happiness is that state of consciousness

which

proceeds from the achievement of one's values.

Page 8: L6 mecse ncc

April 10, 2023 M.E. CSE-IT/NCC 8

VIT

N

C

C

OSI Model

7. Application

6. Presentation

5. Session

4. Transport

3. Network

2. Data Link

1. Physical

 

1. Application

2. Presentation

3. Session

4. Transport

5. Network

6. Data Link

7. Physical  

Page 9: L6 mecse ncc

April 10, 2023 M.E. CSE-IT/NCC 9

VIT

N

C

C

Application Layer

provides network services to application processes ( such as electronic mail, file transfer,terminal emulation )

Interface to TDI or Third Party

Gateways for different network file formats

Presentation Layer

Data representation

Format of data

Data structures

Ensure data is readable by receiving system

Negotiates data transfer syntax for application layer.

Resolves differences between format

Page 10: L6 mecse ncc

April 10, 2023 M.E. CSE-IT/NCC 10

VIT

N

C

C

Session Layer Interhost communication

Establishes, manages and terminates sessions between applications

Controlling dialogues between applications in the end systems

Dialogue discipline, Grouping and Recovery

Ex.

Logging Process

Remote Terminal Access in half duplex

Transaction Processing checkpoints, backups

Token management in half duplex mode

Page 11: L6 mecse ncc

April 10, 2023 M.E. CSE-IT/NCC 11

VIT

N

C

C

Transport Layer

End-to-end connection reliability

Concerned with data transports issues between hosts

Data transport reliability

Establishes, maintains, terminates virtual circuits. / multiple network connections

Fault detection and recovery / Error Control

Flow control management

Error free delivery of data

Fragmentation and reassembly ( into packets as per network layer specification )

Decision about service type

Page 12: L6 mecse ncc

April 10, 2023 M.E. CSE-IT/NCC 12

VIT

N

C

C

Network Layer Addresses Resolution

Controlling Subnet

Providing best path

Provides connectivity and path selection between two end systems

Domain of routing / Route decision and selection

Congestion Control Mgt.

Accounting

Large Packet Mgt.

Heterogeneous n/w problem mgt

Determines Quality of Service

Page 13: L6 mecse ncc

April 10, 2023 M.E. CSE-IT/NCC 13

VIT

N

C

C

Data Link Layer

Access to media

Provides reliable transfer of data across media.

Physical addressing, network topology, error notification,

flow control.

Framing : Break packets into frames according to the

specifications of physical layer standard I.e encapsulation

and de-capsulation of data

Error Control and Recovery for physical Channel

Link Management

Collision Avoidance and collision content resolution

Page 14: L6 mecse ncc

April 10, 2023 M.E. CSE-IT/NCC 14

VIT

N

C

C

Physical Layer

Binary transmission

Wires / Cables

Connectors

Voltages

Data rates

Initial Connection

Turn down connection

Pin assignments

Concentrators / Hubs/ Repeaters

Wiring Schemes

Page 15: L6 mecse ncc

April 10, 2023 M.E. CSE-IT/NCC 15

VIT

N

C

C

Don't fall before you're pushed

Page 16: L6 mecse ncc

April 10, 2023 M.E. CSE-IT/NCC 16

VIT

N

C

C

Needs of DOD Ability to connect multiple networks ie homogeneous as well as heterogeneous ( Internetworking )

Network must be able to survive the loss of subnet hardware

Multiple transmission lines

Connectionless services

Real Time Speech Transmission

Page 17: L6 mecse ncc

April 10, 2023 M.E. CSE-IT/NCC 17

VIT

N

C

C

TCP / IP Model

4. Application

3. Host to Host

2. Internet

1. Network Access Layer

 

Page 18: L6 mecse ncc

April 10, 2023 M.E. CSE-IT/NCC 18

VIT

N

C

C

OSI TCP/IPISO in 1977 and adopted in DoD in 1974 by Vint Cerf &

1983 Robert Kahn

Developed by dedicated team Developed by open process

Copyrighted and carry a Free

Purchase fees

Proprietary Non-proprietary

Intended to be a Inter- Never indented to be

National standard

Designed with layers Not designed with layers

Page 19: L6 mecse ncc

April 10, 2023 M.E. CSE-IT/NCC 19

VIT

N

C

C

OSI TCP/IPDevised first and protocols Protocol came first and then

Invented latter model

Seven Layers Four Layers

T-Layer is connection Both- less and oriented

N/w –Layer is both N/w layer is connection

oriented

Gives interface,service No clear distinction

And protocols

Generalized Not Generalized

Page 20: L6 mecse ncc

April 10, 2023 M.E. CSE-IT/NCC 20

VIT

N

C

C

OSI TCP/IPStrongly describes protocol Poorly describes protocol

stack stack

Separate Layers Can view in layers

Not Popular Very Popular

Page 21: L6 mecse ncc

April 10, 2023 M.E. CSE-IT/NCC 21

VIT

N

C

C

TCP/IP Network Components

FTP, Telnet, POP TFTP, DNS, BOOTP

SMTP,FINGER,HTTP SNMP,NFS

TCP UDP

ICMP ARP

RARP IP OSPF

RIP X.25 Packet Level

Page 22: L6 mecse ncc

April 10, 2023 M.E. CSE-IT/NCC 22

VIT

N

C

C

TCP/IP Model

Page 23: L6 mecse ncc

April 10, 2023 M.E. CSE-IT/NCC 23

VIT

N

C

C

TCP Port Numbers

32-bit Sequence Number

32-bit Ack Number

Flags : URG, ACK, PSH, RST, SYN, FIN

Urgent Pointers

Connection Oriented

Reliable

Full Duplex

ID Assignment to multiple virtual circuits

Works with IP

Maintain the sessions

Page 24: L6 mecse ncc

April 10, 2023 M.E. CSE-IT/NCC 24

VIT

N

C

C

TCP Header

Page 25: L6 mecse ncc

April 10, 2023 M.E. CSE-IT/NCC 25

VIT

N

C

C

Provides a lossy connection (data may vanish).

Does not guarantee packets are delivered in order.

Useful for real time applications.

UDP applications can implement their own packet loss checking but it is best to use TCP for this.

UDP

Page 26: L6 mecse ncc

April 10, 2023 M.E. CSE-IT/NCC 26

VIT

N

C

C

UDP Frame Format

Page 27: L6 mecse ncc

April 10, 2023 M.E. CSE-IT/NCC 27

VIT

N

C

C

IP Connectionless

Unreliable

Uses only packet switching

TOS : Priority, Delay, Throughput, Reliability

Satellites and Leased Lines

Flags : DF and MF

Don’t and More

TTL : Number of hops ( If not delivered return to)

Protocol : Application Layer

Padding

Offset of fragment

Packet Size : 64 K

Page 28: L6 mecse ncc

April 10, 2023 M.E. CSE-IT/NCC 28

VIT

N

C

C

IP header

Page 29: L6 mecse ncc

April 10, 2023 M.E. CSE-IT/NCC 29

VIT

N

C

C

Internet Control Message Protocol packets are used for various control purposes. Here are some common ones:

Time exceeded: TTL hit 0.

Echo request: Can you hear me out there?

Echo reply: Yes I can hear you.

Source Quench: Stop sending so much data.

Timestamp request/reply (as echo but with times).

ICMP

Page 30: L6 mecse ncc

April 10, 2023 M.E. CSE-IT/NCC 30

VIT

N

C

C

Netware IPX/SPX Network Component

SAP NLSP File Server

NCP RIP

SPX

IPX

LSL MLID ODI

Page 31: L6 mecse ncc

April 10, 2023 M.E. CSE-IT/NCC 31

VIT

N

C

C

Page 32: L6 mecse ncc

April 10, 2023 M.E. CSE-IT/NCC 32

VIT

N

C

C

Netware Suite Proprietary Protocol Suite

Developed by : Xerox Network System

IPX : Internetwork Packet Exchange

SPX : Sequenced Packet Exchange

Modular in nature

Architecture is server – centric

Page 33: L6 mecse ncc

April 10, 2023 M.E. CSE-IT/NCC 33

VIT

N

C

C

IPX

Connectionless datagram service

Broadcast mechanism for error notification and time synchronization

Dynamic route selection

Transport Control : Max 16 bridges using counter

Packet Type : 0x8035

Destination Address : 12 bytes

Network Number – 4 bytes

Node Address -- 6 bytes

Socket Number -- 2 bytes

Data in packets : 546 bytes

Page 34: L6 mecse ncc

April 10, 2023 M.E. CSE-IT/NCC 34

VIT

N

C

C

Microsoft NetBIOS/ NetBEUI Network Components

File I/O Named Pipes Redirector Server Mail slots

NetBIOS Sockets SMB

NetBEUI

NDIS

Page 35: L6 mecse ncc

April 10, 2023 M.E. CSE-IT/NCC 35

VIT

N

C

C

NETBIOS (Network Basic Input Output System)

•NetBios is also a session/transport layer protocol

• Starting and stopping sessions.

• Name registration

• Session layer data transfer(reliable)

• Datagram data transfer(unreliable)

• Protocol driver and network adapter management functions

1) nbstat -n Lists all registered NetBios names.2) nbstat -c Shows the NetBios cache.3) nbstat -R Reloads the NetBios name cache from the lmhosts file.

Page 36: L6 mecse ncc

April 10, 2023 M.E. CSE-IT/NCC 36

VIT

N

C

C

NetBEUINetBIOS Extended User Interface

Basically Transport Layer Protocol

Performance in LAN environment is very good

Requires small amount of configuration

Requires small amount of resources (Memory)

Can handle maximum 254 sessions

Page 37: L6 mecse ncc

April 10, 2023 M.E. CSE-IT/NCC 37

VIT

N

C

C

Books

Lecture 01/02/03/04/06 :

1. Tananbaum :

Computer Networks PHI De Facto Standard

2. High Speed Networks and Internet PHI

3. ISDN Broadband ISDN with Frame Relay and ATM Pearson

4. Data Communication and Networking by

Forouzan Edition 2 and 3 , TMH

Short questions and answers

Page 38: L6 mecse ncc

April 10, 2023 M.E. CSE-IT/NCC 38

VIT

N

C

C

5. Data and Computer Communication by William Stalling 4th and 6th edition PHI

6. Network Communication Technology by Elahi

Thomson Pub, Short questions and answers

7. An Introduction to Computer Networking by

Mansfield and Antonakos, Pearson Education

8. Building Practical Ethernet Networks BPB

9. Internetworking By Miller

10. Networking Devices by Miller

Page 39: L6 mecse ncc

April 10, 2023 M.E. CSE-IT/NCC 39

VIT

N

C

C

11. Telecommunications Network Design Algorithms by Kershanbaum A. TMH

12. Comer : Computer Networks Vol.1, 2 and 3

13. TCP/IP Illustrated By Steven Vol. 1,2 and 3

14. IP Telephony by Douskails B. Pearson

And N- number of cited web references

Page 40: L6 mecse ncc

April 10, 2023 M.E. CSE-IT/NCC 40

VIT

N

C

C

1. Write a Client – Server program for ping by building your own packets. ( Individual) ( c-Language) ( Time 1 week)

2. Design a sniffer for windows by using packet driver and calculate the bandwidth utilization ( protocolwise) of your network

3. Design a configurable firewall for windows(VB)

4. Develop a simulation software to simulate working of Frame Relay

5. Develop a simulation software to simulate working of ATM

6. Develop a simulation software to simulate working of ISDN

7. Develop a package for the following compression methods

I) Run length Encoding ii) Facsimile Compression

iii) String Matching iv) Wavelet Compression

v) JPEG

Note : Assignment 2-7 are group assignment

Team Size is 5 ( According to roll number)

Page 41: L6 mecse ncc

April 10, 2023 M.E. CSE-IT/NCC 41

VIT

N

C

C

Practical Guidelines

Assignment No.1 :

•TCP/IP Illustrated by Steven Vol.1,2 and 3

•Simple Client Server

•Use of RAW Sockets

•Building of ICMP Packets

Page 42: L6 mecse ncc

April 10, 2023 M.E. CSE-IT/NCC 42

VIT

N

C

C

Assignment No.2 :

Sniffer ( Study Ethereal First)

Download Packet Driver

Install it

Use the driver services

Map the data

Page 43: L6 mecse ncc

April 10, 2023 M.E. CSE-IT/NCC 43

VIT

N

C

C

Assignment No.3 :

Firewall

Download Packet Driver

Install it

Use the driver services

Configure the ports

Map the data

Page 44: L6 mecse ncc

April 10, 2023 M.E. CSE-IT/NCC 44

VIT

N

C

C

Assignment No.4,5,6 :

Frame Relay

Study Frame Use Operations

Use Java , JavaScript, JSP

Simulate Protocol Operations

Page 45: L6 mecse ncc

April 10, 2023 M.E. CSE-IT/NCC 45

VIT

N

C

C

Assignment No.7 :

Compression

Plenty books are available