CS 39006: Computer Networks Lab – Day 1

Slides:



Advertisements
Similar presentations
Internet Control Protocols Savera Tanwir. Internet Control Protocols ICMP ARP RARP DHCP.
Advertisements

© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Communicating over the Network Network Fundamentals – Chapter 2.
Introduction to Management Information Systems Chapter 5 Data Communications and Internet Technology HTM 304 Fall 07.
1 Review of Important Networking Concepts Introductory material. This module uses the example from the previous module to review important networking concepts:
Understanding Networks. Objectives Compare client and network operating systems Learn about local area network technologies, including Ethernet, Token.
CSEE W4140 Networking Laboratory Opening Lecture Jong Yul Kim
Understanding Networks Charles Zangla. Network Models Before I can explain how connections are made from across the country, I would like to provide you.
1 Review of Important Networking Concepts Introductory material. This slide uses the example from the previous module to review important networking concepts:
CS 356 Systems Security Spring Dr. Indrajit Ray
Lecture 8 Modeling & Simulation of Communication Networks.
Chapter 5 Link Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 Link Layer data center.
Computer Networks (CS 132/EECS148) General Networking Example Karim El Defrawy Donald Bren School of Information and Computer Science University of California.
A day in the life: scenario
Link Layer 5-1 Link layer, LAN s: outline 5.1 introduction, services 5.2 error detection, correction 5.3 multiple access protocols 5.4 LANs  addressing,
1 John Magee 11 July 2013 CS 101 Lecture 11: How do you “visit” a web page, revisted Slides adapted from Kurose and Ross, Computer Networking 5/e Source.
CMPT 471 Networking II Address Resolution IPv4 ARP RARP 1© Janice Regan, 2012.
Information Flow Across the Internet. What is the Internet? A large group of computers that link together to form the Worldwide Area Network (WAN)
5: Link Layer Part Link Layer r 5.1 Introduction and services r 5.2 Error detection and correction r 5.3Multiple access protocols r 5.4 Link-Layer.
1 CS 4396 Computer Networks Lab TCP/IP Networking An Example.
Link Layer5-1 Synthesis: a day in the life of a web request  journey down protocol stack complete!  application, transport, network, link  putting-it-all-together:
CSCI 3335: C OMPUTER N ETWORKS A DAY IN THE LIFE OF A WEB REQUEST Vamsi Paruchuri University of Central Arkansas
Computer Science, FSU1 CNT5505 DATA/COMUTER COMMUNICATIONS FALL 2008 Time: 3:35AM-4:50AM, MW Location: Love 103 Fall 2008, 3 credits.
Presented by Rebecca Meinhold But How Does the Internet Work?
Link Layer5-1 Synthesis: a “day” in the life of a web request  journey down protocol stack!  application, transport, network, link  putting-it-all-together:
Chapter 5 Link Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 A note on the use of these.
Computer Science, FSU1 CNT5505 DATA/COMUTER COMMUNICATIONS Fall 2010.
Transmission Control Protocol (TCP) Internet Protocol (IP)
5: DataLink Layer5-1 Virtualization of networks Virtualization of resources: powerful abstraction in systems engineering: r computing examples: virtual.
J. Liebeher (modified by M. Veeraraghavan) 1 Introduction Complexity of networking: An example Layered communications The TCP/IP protocol suite.
- 1 - DPNM Review of Important Networking Concepts J. Won-Ki Hong Dept. of Computer Science and Engineering POSTECH Tel:
The OSI Model. Understanding the OSI Model In early 1980s, manufacturers began to standardize networking so that networks from different manufacturers.
End-host IP: MAC: 11:11:11:11:11 gateway IP: MAC: 22:22:22:22:22 Google server IP: interne t interface DNS server IP:
Also known as hardware/physi cal address Customer Computer (Client) Internet Service Provider (ISP) MAC Address Each Computer has: Given by NIC card.
What is a Protocol A set of definitions and rules defining the method by which data is transferred between two or more entities or systems. The key elements.
Virtualization of networks
Data and Computer Communications
Introduction An introduction to the software and organization of the Internet Lab.
Network Fundamentals – Chapter 5
A Typical Connection Scenario
Part I. Overview of Data Communications and Networking
CS 280: Summary: A day in the life of a web request
Course Review 2015 Computer networks 赵振刚
OSI Protocol Stack Given the post man exemple.
Network Architecture Introductory material
Net 323: NETWORK Protocols
Web Development & Design Chapter 1, Sections 4, 5 & 6
CS222 Web Programming Course Outline
Packet Sniffing.
Topic 5: Communication and the Internet
Packet Switching To improve the efficiency of transferring information over a shared communication line, messages are divided into fixed-sized, numbered.
An introduction to the organization of the Internet Lab
An introduction to the organization of the Internet Lab
Review of Important Networking Concepts
Chapter 6 The Data Link layer
TCP/IP Networking An Example
Review of Important Networking Concepts
Communication Networks NETW 501
When you connect with DHCP, you are assigned a
1 TRANSMISSION CONTROL PROTOCOL / INTERNET PROTOCOL (TCP/IP) K. PALANIVEL Systems Analyst, Computer Centre Pondicherry University, Puducherry –
Chapters 1~5 Overview Computer Networking: A Top Down Approach 6th edition Jim Kurose, Keith Ross Addison-Wesley Prof. Hong Liu for ECE369 Adapted from.
An introduction to the organization of the Internet Lab
Wireshark(Ethereal).
TCP Protocol Analysis Access UMKC Home Page.
CS 31006: Computer Networks – Moving From End-to-End To Per Hop
Synthesis A day in the life of a web request
Module 4: Packet analysis
INFORMATION FLOW ACROSS THE INTERNET
Kyle Broussard, Alexandra Mikolai,
Review of Important Networking Concepts
Q/ Compare between HTTP & HTTPS? HTTP HTTPS
Presentation transcript:

CS 39006: Computer Networks Lab – Day 1

Who’s Who Course Instructors: Teaching Assistants: Sandip Chakraborty (Office: CSE 311, CSE Main Building) – sandipc@cse.iitkgp.ernet.in K S Rao (Office: SIT Floor, Takshashila Building) – ksrao@cse.iitkgp.ernet.in Teaching Assistants: Abhijit Mondal (PhD) Barnoprio Barua (Dual Degree) Ken Kumar (Dual Degree) Pradeep R (PhD) Saikat Biswas (PhD) Soumyajit Chatterjee (PhD) Sumitro Bhaumik (PhD) Course Website: http://cse.iitkgp.ac.in/~sandipc/Courses/CS_39006_Spring_2018.html

Lab – Dos and Don’ts Form a group of two and share the group information with Soumyajit (sjituit@gmail.com) by today, latest by January 14, 2018. The assignments need to be solved in groups. You should be there in the lab within 2:10 pm. Use the Moodle submission page to submit your assignment by the deadline. One of the members from every group can submit. Student enrolment key: STU If you face any difficulty, feel free to discuss with the instructors and the TAs. You may discuss with others over Piazza as well. You may use Internet resources. Zero tolerance against plagiarism. Plagiarized submissions will not be evaluated. Be careful before sharing your codes with others !!!

Physical Data Link Network Transport Application Assignments 8. Implementation of an application layer service 1. Network Traffic Capture and analysis Physical Data Link Network Transport Application 2. Network Traffic Capture and analysis – Go deep 3. Socket Programming – Basic client server implementation 5. Implementation of a Transport protocol 4. Socket Programming – Network application parallelization 7. Implementation of Network management and Routing functionalities 6. Implementation of a simple Routing protocol Some additional assignments may be there depending on the requirements.

Lab Evaluation and Grading Lab assignments will be evaluated by the TAs. You may discussed with the assigned TA and the course instructors in case of any doubts. Marks distribution for each assignments will be shared. Grading policies: Assignments: 40% Lab test 1: 30% (Just before or after the mid-sem) Lab test 2: 30% (Just before the end-sem) All assignments do not carry equal weights. The weight distribution among the assignments will be fixed on the day of Lab test 2 based on relative complexity.

Coming to Our Context …. Network Protocol Stack Physical Data Link Network Transport Application Software, Kernel Firmware, Device Driver Hardware

How Application Data Passes Through Different Layers Physical Data Link Network Transport Application HTTP Header HTTP Data TCP Header HTTP Header HTTP Data IP Header TCP Header HTTP Header HTTP Data MAC Header IP Header TCP Header HTTP Header HTTP Data PHY Header MAC Header IP Header TCP Header HTTP Header HTTP Data PHY Trailer

How do you access a page at www.google.com? Application Layer: Use DNS to get the IP address of the Google server - DNS returns 74.125.224.72 Application Layer: Construct an HTTP GET Request – GET 74.125.224.72/index.html HTTP/1.1 Construct an HTTP packet and forward it to the transport layer

How do you access a page at www.google.com? Transport Layer: Construct the transport layer packet (TCP packet) Source port: 3324 (port address corresponding to your browser tab) Destination port: 80 (port for a HTTP server)

How do you access a page at www.google.com? Network Layer: Construct the network layer packet (IP packet) Source IP: 172.16.22.121 (IP of your machine) Destination IP: Next hop IP for 74.125.224.72 (use the routing procedure to get this IP)

How do you access a page at www.google.com? Network Layer: Use the routing procedure to find out the next hop IP to reach the Google server at 74.125.224.72. Let this IP be 172.16.28.192 172.16.22.121 172.16.28.192 74.125.224.72

How do you access a page at www.google.com? Data Link Layer: Construct the data link layer frame from the IP datagram. How do we get destination MAC address? We need the MAC address corresponding to 172.16.28.192 Gateway 172.16.22.121 172.16.28.192 Local Area Network (LAN)

How do you access a page at www.google.com? Data Link Layer: Use ARP protocol to get the MAC address corresponding to 172.16.28.192 Gateway 172.16.22.121 172.16.28.192 Local Area Network (LAN)

Assignment 1: Understand the Packet Structure Use a packet generation tool: iperf Use a packet capture and monitoring software: tcpdump and wireshark Your task would be to capture the packets at different scenarios as explained in the assignment statement and analyze various fields in the headers. wget Iperf Client HTTP Server iperf Server

Assignment 1 Submission deadline: January 18, 2018 02:00 PM Prepare a report and submit it to Moodle by the deadline. One member of each group should submit. The report should clearly indicate the name and roll numbers of the group members.