Computer networks unit 1 basic networking concepts

DivyaSekar23 0 views 68 slides Oct 08, 2025
Slide 1
Slide 1 of 68
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25
Slide 26
26
Slide 27
27
Slide 28
28
Slide 29
29
Slide 30
30
Slide 31
31
Slide 32
32
Slide 33
33
Slide 34
34
Slide 35
35
Slide 36
36
Slide 37
37
Slide 38
38
Slide 39
39
Slide 40
40
Slide 41
41
Slide 42
42
Slide 43
43
Slide 44
44
Slide 45
45
Slide 46
46
Slide 47
47
Slide 48
48
Slide 49
49
Slide 50
50
Slide 51
51
Slide 52
52
Slide 53
53
Slide 54
54
Slide 55
55
Slide 56
56
Slide 57
57
Slide 58
58
Slide 59
59
Slide 60
60
Slide 61
61
Slide 62
62
Slide 63
63
Slide 64
64
Slide 65
65
Slide 66
66
Slide 67
67
Slide 68
68

About This Presentation

Computer networks fundamental networking concept


Slide Content

UNIT I - INTRODUCTION AND PHYSICAL LAYER

INTRODUCTION TO NETWORKS A network is a set of devices (often referred to as nodes) connected by communication links. A node can be a computer, printer, or any other device capable of sending or receiving data generated by other nodes on the network. When we communicate, we are sharing information. This sharing can be local or remote .

CHARACTERISTICS OF A NETWORK Delivery Accuracy Timeliness

COMPONENTS INVOLVED IN A NETWORK PROCESS

KEY ELEMENTS OF PROTOCOL Syntax Semantics Timing

TRANSMISSION MODES The way in which data is transmitted from one device to another device is known as transmission mode . The transmission mode is also known as the communication mode. Each communication channel has a direction associated with it, and transmission media provide the direction. Therefore, the transmission mode is also known as a directional mode . The transmission mode is defined in the physical layer.

Types of Transmission mode

SIMPLEX MODE

HALF-DUPLEX MODE

FULL-DUPLEX MODE

COMPARISON - SIMPLEX, HALF-DUPLEX AND FULL-DUPLEX MODE

LINE CONFIGURATION / LINE CONNECTIVITY Line configuration refers to the way two or more communication devices attach to a link. A link is a communications pathway that transfers data from one device to another . There are two possible line configurations : Point to Point (PPP ) MultiPoint

Point to Point (PPP)

MultiPoint It is also called Multidrop configuration. In this connection two or more devices share a single link. There are two kinds of Multipoint Connections . Spatial Sharing Temporal (Time) Sharing

NETWORK TYPES A computer network is a group of computers linked to each other that enables the computer to communicate with another computer and share their resources, data, and applications . A computer network can be categorized by their size. A computer network is mainly of three types: 1. Local Area Network (LAN) 2. Wide Area Network (WAN) 3. Metropolitan Area Network (MAN )

LOCAL AREA NETWORK (LAN)

WIDE AREA NETWORK (WAN )

METROPOLITAN AREA NETWORK (MAN)

INTERNETWORK An internetwork is defined as two or more computer network LANs or WAN. An Internetwork can be formed by joining two or more individual networks by means of various devices such as routers, gateways and bridges. An interconnection between public, private, commercial,industrial , or government computer networks can also be defined as internetworking

PROTOCOL LAYERING In networking, a protocol defines the rules that both the sender and receiver and all intermediate devices need to follow to be able to communicate effectively . A protocol provides a communication service that the process uses to exchange messages. When communication is simple, we may need only one simple protocol.

Basic Elements of Layered Architecture Service. Protocol Interface

PROTOCOL LAYERING Features of Protocol Layering 1. It decomposes the problem of building a network into more manageable components. 2. It provides a more modular design . Principles of Protocol Layering 1. The first principle dictates that if we want bidirectional communication, we need to make each layer so that it is able to perform two opposite tasks, one in each direction. 2. The second principle that we need to follow in protocol layering is that the two objects under each layer at both sites should be identical.

Protocol Graph Protocol Graph The set of protocols that make up a network system is called a protocol graph . The nodes of the graph correspond to protocols, and the edges represent a dependence relation. A protocol graph consists of protocols RRP (Request/Reply Protocol) and MSP (Message Stream Protocol) implement two different types of process-to-process channels, and both depend on the HHP (Host-to- Host Protocol) which provides a host-to-host connectivity service

OSI MODEL OSI stands for Open System Interconnection. It is a reference model that describes how information from a software applicationin one computer moves through a physical medium to the software application in another computer. OSI consists of seven layers, and each layer performs a particular network function. OSI model was developed by the International Organization for Standardization (ISO) in 1984, and it is now considered as an architectural model for the inter- computer communications. OSI model divides the whole task into seven smaller and manageable tasks. Each layer is assigned a particular task. Each layer is self-contained, so that task assigned to each layer can be performed independently

OSI stands for Open System Interconnection. It is a reference model that describes how information from a software application in one computer moves through a physical medium to the software application in another computer. OSI consists of seven layers, and each layer performs a particular network function. OSI model was developed by the International Organization for Standardization (ISO) in 1984, and it is now considered as an architectural model for the inter- computer communications. OSI model divides the whole task into seven smaller and manageable tasks. Each layer is assigned a particular task. Each layer is self-contained, so that task assigned to each layer can be performed independently

ORGANIZATION OF THE OSI LAYERS

FUNCTIONS OF THE OSI LAYERS 1 . PHYSICAL LAYER The physical layer coordinates the functions required to transmit a bit stream over a physical medium. The physical layer is concerned with the following functions: Physical characteristics of interfaces and media Representation of bits Signals Data Rate or Transmission rate Synchronization of bits Line Configuration Physical Topology Transmission Mode

DATA LINK LAYER It is responsible for transmitting frames from one node to the next node. The other responsibilities of this layer are Framing Physical addressing Flow control Error control Medium Access control

NETWORK LAYER This layer is responsible for the delivery of packets from source to destination. It determines the best path to move data from source to the destination based on the network conditions, the priority of service, and other factors. The other responsibilities of this layer are Logical addressing Routing

TRANSPORT LAYER It is responsible for Process to Process delivery. That is responsible for source-to destination (end-to-end) delivery of the entire message, It also ensures whether the message arrives in order or not. The other responsibilities of this layer are Port addressing / Service Point addressing Segmentation and reassembly Connection control Flow control Error Control

SESSION LAYER This layer establishes, manages and terminates connections between applications. The other responsibilities of this layer are: Dialog control Synchronization

PRESENTATION LAYER It is concerned with the syntax and semantics of information exchanged between two systems. The other responsibilities of this layer are: Translation Encryption and decryption Compression and expansion

APPLICATION LAYER This layer enables the user to access the network. It handles issues such as network transparency, resource allocation, etc. This allows the user to log on to remote user. The other responsibilities of this layer are: FTAM (File Transfer, Access, Management) Mail services Directory services

TCP / IP PROTOCOL SUITE The TCP/IP architecture is also called as Internet architecture. It is developed by the US Defense Advanced Research Project Agency (DARPA) for its packet switched network (ARPANET). TCP/IP is a protocol suite used in the Internet today. It is a 4-layer model. The layers of TCP/IP are 1. Application layer 2. Transport Layer (TCP/UDP) 3. Internet Layer 4. Network Interface Layer

COMPARISON - OSI MODEL AND TCP/IP MODEL

HTTP (HYPERTEXT TRANSFER PROTOCOL) The Hyper Text Transfer Protocol (HTTP) is used to define how the client server programs can be written to retrieve web pages from the Web. It is a protocol used to access the data on the World Wide Web (WWW). The HTTP protocol can be used to transfer the data in the form of plain text, hypertext, audio, video, and so on. HTTP is a stateless request/response protocol that governs client/server communication.

Features of HTTP Connectionless protocol Media independent Stateless

HTTP REQUEST AND RESPONSE MESSAGES

HTTP REQUEST MESSAGE:

Request Line

Request Header

HTTP RESPONSE MESSAGE

Status Line

Response Header

HTTP CONNECTIONS HTTP Clients and Servers exchange multiple messages over the same TCP connection. If some of the objects are located on the same server, we have two choices: to retrieve each object using a new TCP connection or to make a TCP connection and retrieve them all. The first method is referred to as a non-persistent connection,the second as a persistent connection. HTTP 1.0 uses non-persistent connections and HTTP 1.1 uses persistent connections

NON-PERSISTENT CONNECTIONS

PERSISTENT CONNECTIONS

HTTP COOKIES An HTTP cookie (also called web cookie, Internet cookie, browser cookie, or simply cookie) is a small piece of data sent from a website and stored on the user's computer by the user's web browser while the user is browsing.

SOCKETS A socket is one endpoint of a two-way communication link between two programs running on the network. The socket mechanism provides a means of inter-process communication (IPC) by establishing named contact points between which the communication take place.

The socket provides bidirectional FIFO Communication facility over the network . Each socket has a specific address. This address is composed of an IP address and a port number .

Socket Addresses Local (sender) R emote (receiver ) A socket address should first define the computer on which a client or a server is running . A socket address should be a combination of an IP address and a port number.

Types of Sockets Datagram Socket Stream Socket

FTP (FILE TRANSFER PROTOCOL) FTP is a standard internet protocol provided by TCP/IP used for transmitting the files from one host to another. It is mainly used for transferring the web page files from their creator to the computer that acts as a server for other computers on the internet. It is also used for downloading the files to computer from other servers. Although we can transfer files using HTTP, FTP is a better choice to transfer large files or to transfer files using different formats.

FTP MECHANISM

FTP CONNECTIONS

FTP COMMUNICATION
Tags