Vous êtes sur la page 1sur 39

Internet and networking 

fundamentals

Pulkit Gupta 
       (pulkit@cse.iitb.ac.in)

Devendra Bhave
       (devendrah@cse.iitb.ac.in)
            Date: August 18, 2007
 
Outline


What is network?

Basic requirements of a network

Components of a network

Protocols

Classification of computer networks

TCP/IP protocol stack

Applications 

 
What is a network?


A computer network is "A set of data processing 
nodes that are interconnected for the purpose of 
data communication".[1]

 
Basic requirements for a network


In order for a network to function, it must meet three basic 
requirements:
- It must provide connections

Connection refers to the hardware.
- It must provide communications

Communication is the way in which the devices talk to each other.
- It must provide services

Services are the things which are shared with the rest of the 
network.

 
Components of network


Message

Sender

Receiver

Protocol

Medium

 
Protocols


Set of rules governing data communication.

Integration of three basic functions:
‐ What is communicated?
‐ How is it communicated?
‐ When is it communicated?

 
Classification of computer networks


On the basis of scale or extent of reach of network
‐ LAN, MAN, WAN

On the basis of connection method
‐ hardware technology: Wired, Wireless, Hybrid

On the basis of functional relationship
‐ Client­Server, Peer­to­peer

On the basis of network topology
‐ Physical layout: Mesh, Star, Bus, Ring, Hybrid

 
Local Area Network 

In general privately owned, which covers a small area

Network in a building

 
Metropolitan Area Network

Extends over an entire city

It may be a single network or a means of 
connecting a number of LANs together.

 
Metropolitan Area Network

 
Wide area network

Generally covers a country, a continent and can be 
extended to the whole world

Example: Internet

 
Mesh network

Point­to­point dedicated link between any two 
nodes

Elimination of traffic problem

Provides security and privacy of data

Robust

Not Scalable
‐ Interface problem

 
Mesh network

 
Star network

Each node is connected to the central 
controller.

It does not allow direct traffic between devices.

Robust, provided the controller remains active

Scalable

 
Star network

 
Bus network

One long cable act as a backbone to link all the 
devices in a network.

Nodes are connected to bus cable by the drop lines 
and taps.

No security and privacy to data.

Broadcasting of data

 
Bus network

 
Ring network

Each device has a dedicated point­to­point 
connection only to the two devices on either 
side of it.

No broadcasting of data.

Scalable

 
Ring network

 
Chat Program


Type message ●
Display message

Send message ●
Receive message

Search computer at other  ●
Connect with other 
end computer

Access medium ●
Access medium

Transmit over medium ●
Receive over medium

 
TCP/IP Protocol Stack

Fig.: TCP/IP Stack

 
Physical Layer

Task
­ Transmit raw bits over communication channel


Fundamental unit of transfer: Bit

Examples
­ Twisted pair
­ Coaxial cable
­ Optical fiber cable
­ Radio transmission
­ Microwave transmission
 
Physical Layer - Example

Fig.: Physical Layer ­ Example

 
Data Link Layer


Task
­ Provide raw transmission across a link
­ Error detection and correction
­ Flow control


Fundamental unit of transfer: Frame


Example
­ Protocols such as HDLC and PPP

 
Data Link Layer -
Example

Fig.: Data Link Layer ­ Example
 
Network Layer

Task
­ Host­to­host delivery
­ Routing
­ Congestion control


Fundamental unit of transfer: Packet


Example
­ IP

 
Network Layer - Example

Fig.: Network Layer Packet Transfer

 
Internet Protocol - IP

Fig.: IP Addressing
 
IP Example

Fig.: IP Addressing Example

 
Transport Layer

Task
­ Process­to­process message delivery


Fundamental unit of transfer: TPDU


Examples
­ TCP (Transmission Control Protocol)
­ UDP (User Datagram Protocol)

 
Transport Layer -
Example

Fig.: Transport Layer Functioning
 
Application Layer

Task
­ Provides services to users


Fundamental unit of transfer: Message


Examples
­ WWW
­ Email
­ Chat
­ Multimedia streaming
 
Domain Name System -
DNS

 Task

­ To resolve host name

 Internet name space

­ Over 200 domains: Generic and Countries
­ Subdomains
­ Hosts

 
Domain Name System -
DNS

Fig.: DNS Hierarchy

 
Accessing Website

3
2
8 4
9

1
5
10
6
11

Fig.: Looking up www.iitb.ac.in
 
Accessing Website

Fig.: Path  for www.iitb.ac.in

 
Accessing Website

3
2
8 4
9

1
5
10
6
11

Fig.: Looking up www.iitb.ac.in
 
Thank You

Pulkit Gupta
pulkit@cse.iitb.ac.in


Devendra Bhave
devendrabhave@cse.iitb.ac.in

 
References & further reading

[1] Telecommunications, Glossary of Telecommunication Terms

[2] Behrouz A Forouzan, Data Communications Networking. Fourt Edition 
Mc Graw Hill Publications.

[3] James Kurose, Keith Ross, Computer Networking. Pearson 
Publications.

Vous aimerez peut-être aussi