1 of 28

CS 31204: Computer Networks

INDIAN INSTITUTE OF TECHNOLOGY

KHARAGPUR

Sandip Chakraborty

sandipc@cse.iitkgp.ac.in

Department of Computer Science and Engineering

Abhijnan Chakraborty

abhijnan@cse.iitkgp.ac.in

2 of 28

Few slides in this presentation has been adopted from the online resources accompanying the book Computer Networking: A Top-Down Approach by Jim Kurose and Keith Ross

https://gaia.cs.umass.edu/kurose_ross/eighth.php

Indian Institute of Technology Kharagpur

3 of 28

Objectives of the Course

  • Understand how two computers in the Internet talk to each other
  • Go through the basic functionalities of the computer networks
  • Learn how to program the network
  • Learn the future of the computer network – Do we need any further changes in the design?

Functionalities

Protocols

Network Architecture

Indian Institute of Technology Kharagpur

4 of 28

So, What is Network Architecture?

  • A way to visualize how two remote computers talk to each other

Network Protocol Stack

Indian Institute of Technology Kharagpur

5 of 28

So, What is Network Architecture?

Indian Institute of Technology Kharagpur

6 of 28

So, What is Network Architecture?

Physical

Requirement: Convert digital data to analog signal and vice versa

Indian Institute of Technology Kharagpur

7 of 28

So, What is Network Architecture?

Indian Institute of Technology Kharagpur

8 of 28

So, What is Network Architecture?

Physical

Requirement: Ensure proper scheduling in media access

Data Link

L2 Switch

Indian Institute of Technology Kharagpur

9 of 28

So, What is Network Architecture?

Indian Institute of Technology Kharagpur

10 of 28

So, What is Network Architecture?

Physical

Requirement: Find out a suitable path to forward data

Data Link

Network

L3 Switch or Routers

Indian Institute of Technology Kharagpur

11 of 28

So, What is Network Architecture?

Indian Institute of Technology Kharagpur

12 of 28

So, What is Network Architecture?

Physical

Requirement: End to end traffic control in the network

Data Link

Network

Transport

Indian Institute of Technology Kharagpur

13 of 28

So, What is Network Architecture?

Network Protocol Stack

Physical

Data Link

Network

Transport

Application

Indian Institute of Technology Kharagpur

14 of 28

Services, Layering and Encapsulation

source

  • transport-layer protocol encapsulates application-layer message, M, with transport layer-layer header Ht to create a transport-layer segment
    • Ht used by transport layer protocol to implement its service

application

transport

network

link

physical

destination

application

transport

network

link

physical

Transport-layer protocol transfers M (e.g., reliably) from one process to another, using services of network layer

Application exchanges messages to implement some application service using services of transport layer

M

Indian Institute of Technology Kharagpur

15 of 28

Services, Layering and Encapsulation

source

Transport-layer protocol transfers M (e.g., reliably) from one process to another, using services of network layer

  • network-layer protocol encapsulates transport-layer segment [Ht | M] with network layer-layer header Hn to create a network-layer datagram
    • Hn used by network layer protocol to implement its service

application

transport

network

link

physical

destination

M

application

transport

network

link

physical

Network-layer protocol transfers transport-layer segment [Ht | M] from one host to another, using link layer services

Indian Institute of Technology Kharagpur

16 of 28

Services, Layering and Encapsulation

source

  • link-layer protocol encapsulates network datagram [Hn| [Ht |M], with link-layer header Hl to create a link-layer frame

application

transport

network

link

physical

destination

M

application

transport

network

link

physical

Link-layer protocol transfers datagram [Hn| [Ht |M] from host to neighboring host, using network-layer services

Network-layer protocol transfers transport-layer segment [Ht | M] from one host to another, using link layer services

Indian Institute of Technology Kharagpur

17 of 28

Services, Layering and Encapsulation

source

application

transport

network

link

physical

destination

application

transport

network

link

physical

Indian Institute of Technology Kharagpur

18 of 28

Encapsulation: An end-end View

network

link

physical

application

transport

network

link

physical

application

transport

network

link

physical

source

Ht

Hn

M

segment

Ht

datagram

destination

Ht

Hn

Hl

M

Ht

Hn

M

Ht

Hn

M

Ht

Hn

Hl

M

router

switch

message

M

Ht

M

Hn

frame

link

physical

Indian Institute of Technology Kharagpur

19 of 28

Protocols at Different Layers

Physical

Data Link

Network

Transport

Application

Ethernet, WiFi, Bluetooth, UMTS, LTE

IPv4, IPv6, MPLS

TCP, UDP, RTP

HTTP, FTP, SMTP

Indian Institute of Technology Kharagpur

20 of 28

Network Management and Control – Cross Layer Protocols

Physical

Data Link

Network

Transport

Application

Ethernet, WiFi, Bluetooth, UMTS, LTE

IPv4, IPv6, MPLS

TCP, UDP, RTP

HTTP, FTP, SMTP

DNS

SNMP

ARP, DHCP

Indian Institute of Technology Kharagpur

21 of 28

Two Ways to Learn Computer Networks

Physical

Data Link

Network

Transport

Application

Physical

Data Link

Network

Transport

Application

Indian Institute of Technology Kharagpur

22 of 28

Books to Follow …

Physical

Data Link

Network

Transport

Application

Indian Institute of Technology Kharagpur

23 of 28

Books to Follow …

Physical

Data Link

Network

Transport

Application

Indian Institute of Technology Kharagpur

24 of 28

Books to Follow (Online Books)…

Physical

Data Link

Network

Transport

Application

Indian Institute of Technology Kharagpur

25 of 28

Internet Resources

Indian Institute of Technology Kharagpur

26 of 28

Course Evaluations

  • Teacher’s Assessment: 40%
    • Four surprise tests during regular classes: Average: 30%
    • No request for retest will be entertained
    • Attendance: 10%

  • Mid-semester Examination: 30%

  • End-semester Examination: 30%

Indian Institute of Technology Kharagpur

27 of 28

Sections

  • Section - 1
    • Odd roll numbers
    • Class Room: NR 213
    • Time Slot: MON (10:00-10:55), WED (08:00-08:55), WED(09:00-09:55), �THURS (10:00-10:55)
    • Primary Teacher: Prof. Abhijnan Chakraborty

  • Section - 2
    • Even roll numbers
    • Class Room: NR 314
    • Time Slot: MON (10:00-10:55) , WED (08:00-08:55), WED(09:00-09:55), �THURS (10:00-10:55)
    • Primary Teacher: Prof. Sandip Chakraborty

Indian Institute of Technology Kharagpur

28 of 28

Other Course Related Information

Indian Institute of Technology Kharagpur