EE357 (Fall 2021): Computer Networks


Course Description:

This course will introduce students to the key concepts underlying wired and wireless networking with a focus on the discussion of the layered architecture of the network protocol. A variety of case studies will be drawn from the Internet, combined with several practical programming exercises. At the end of the semester, students are expected to understand, several concepts, including the Internet architecture, HTTP, DNS, P2P, Sockets, TCP/IP, BGP, Routing protocols, wireless and sensor networking, WiFi, cellular and satellite networks, security, etc., with the ability to analyze and design protocols and algorithms in networking systems.



Lecture Time: Monday, 8:00-9:40 AM (Week 1-8) & Thursday, 10:00-11:40 AM (Week 1-16)

Location: 东上院 105

Instructor: Haiming Jin (jinhaiming@sjtu.edu.cn)

Office Hours: By appointment.

Course TA:
  • Rong Ding (dingrong@sjtu.edu.cn)
  • Yongkui Zhang (zykk-2333@sjtu.edu.cn)
  • Office Hours: Thursday, 7:00-8:00 PM, at SEIEE Building 1-441.
Textbook: References:
  • Andrew S. Tanenbaum, “Computer Networks”, Prentice Hall.
  • Larry L. Peterson and Bruce S. Davie, “Computer Networks: A Systems Approach”, Morgan Kaufmann.
  • Douglas E. Comer, “Computer Networks and Internets”, Prentice Hall.
  • William Stallings, “Data and Computer Communication”, Prentice Hall.
Final Exam:
  • Time: 8:00-10:00 AM, January 4, 2022.
  • Location: 中院 311.
  • Requirements: Closed book with one-page (front and back) cheat sheet in A4 paper. Your answers could be either in Chinese or English.
  • Office Hour: 6:30-9:00 PM, December 31, 2021 at Software Engineering Building No. 1, Room 1108-2.
  • TA Office Hour: 2:00-4:30 PM, January 2, 2022, online (Tencent Meeting: 8159938269). TA only answers questions about homeworks.
  • Candidate Topics: topics.


Grading (tentative):
  • Homework and quizzes: 40%.
  • Lab assignments: 30%.
  • Final exam: 30% (The final exam covers all materials taught over the semester).

Note: This schedule is tentative and subject to change over time due to unforeseen events. Please check it regularly.

# Date Topics Slides & Notes
1 Sep. 13 Course Logistics, Course Overview
Slides: [chap0-overview.pdf]
2 Sep. 16 Introduction:
What’s Computer Network?
Protocol layers
Service models
Slides: [chap1-introduction-1-updated.pdf]
Reading: Kurose&Ross (Chapter 1), Tanenbaum (Chapter 1)
3 Sep. 18 Introduction:
Network edge
Access net
Slides: [chap1-introduction-2.pdf]
Reading: Kurose&Ross (Chapter 1), Tanenbaum (Chapter 1)
4 Sep. 23 Introduction:
Network core
Internet structure and ISPs
Delay, loss, and throughput in packet-switched networks
History of Internet
Slides: Same as above.
Reading: Kurose&Ross (Chapter 1), Tanenbaum (Chapter 1), Materials on Queuing Delay.

5 Sep. 27 Application Layer:
Principles of network applications
Slides: [chap2-application layer-1.pdf]
Reading: Kurose&Ross (Chapter 2)
6 Sep. 30 Application Layer:
Web and HTTP
Slides: Same as above.
Reading: Kurose&Ross (Chapter 2)
7 Oct. 9 Application Layer:
FTP
Electronic Mail
Slides: [chap2-application layer-2.pdf].
Reading: Kurose&Ross (Chapter 2)
8 Oct. 11 Application Layer:
DNS
Socket Programming
Slides: Same as above.
Reading: Kurose&Ross (Chapter 2)
9 Oct. 14 Transport Layer:
Transport-layer services
Multiplexing and demultiplexing
UDP
Slides: [chap3-transport layer-1.pdf], [Checksum.pptx]
Reading: Kurose&Ross (Chapter 3)
10 Oct. 18 Transport Layer:
Reliable Data Transfer
Slides: [chap3-transport layer-2.pdf]
Reading: Kurose&Ross (Chapter 3)
11 Oct. 21 Transport Layer:
Reliable Data Transfer
Slides: Same as above.
Reading: Kurose&Ross (Chapter 3)
12 Oct. 25 Transport Layer:
TCP
Slides: [chap3-transport layer-3-updated.pdf]
Reading: Kurose&Ross (Chapter 3)
13 Oct. 28 Network Layer:
Data Plane
Slides: [chap4-network layer-data plane-1.pdf]
Reading: Kurose&Ross (Chapter 4), Paper on "End-to-End Argument".
14 Nov. 1 Network Layer:
Data Plane
Slides: Same as above.
Reading: Kurose&Ross (Chapter 4)
15 Nov. 4 Network Layer:
Data Plane
Slides: [chap4-network layer-data plane-2.pdf]
Reading: Kurose&Ross (Chapter 4)
16 Nov. 11 Network Layer:
Control Plane
Slides: [chap5-network layer-control plane.pdf]
Reading: Kurose&Ross (Chapter 5)
17 Nov. 18 Link Layer:
Services
Error detection, correction
Slides: [chap6-link layer-1-updated.pdf]
Reading: Kurose&Ross (Chapter 6)
18 Nov. 25 Link Layer:
Multiple access protocols
Slides: Same as above.
Reading: Kurose&Ross (Chapter 6)
19 Dec. 2 Link Layer:
LANs
Slides: [chap6-link layer-2.pdf]
Reading: Kurose&Ross (Chapter 6)
20 Dec. 9 Link Layer:
LANs
Slides: [web request example.ppt]
Reading: Kurose&Ross (Chapter 6)
21 Dec. 16 Wireless and Mobile Networks:
Wireless links, characteristics
IEEE 802.11 wireless LANs
Cellular Internet Access
Mobility
Slides: [chap7-wireless and mobile networks.pdf]
Reading: Kurose&Ross (Chapter 7)
22 Dec. 23 Network Security:
Principles of cryptography
Message integrity, authentication
Slides: [chap8-network security.pdf]
Reading: Kurose&Ross (Chapter 8)
23 Dec. 30 Final Review Slides: [final review.pdf]

In this semester, we will have a series of homeworks, which will help you better understand the concepts and protocols discussed during the lectures.

Instructions:
  • You are expected to carry out the homeworks by yourself.
  • For each homework, you are expected to submit a pdf file containing your answers to all questions via Canvas.
  • Your answer file should be written in English, otherwise it will not be graded.
  • Your answer file should be named as "StudentName_StudentID_HomeworkIndex.pdf". For example, HaimingJin_5080309195_Homework1.pdf for Homework 1.
Assignments:

In this semester, you are expected to carry out several lab assignments to obtain hands-on experience on computer networks. Specifically, the labs will offer you the opportunity to getting familiar with Wireshark, Mininet, socket programming, NFS, gRPC, etc.

Instructions:
  • You are expected to carry out the labs by yourself.
  • You will not need to go to an actual lab room for the labs, as they could be finished using your own PCs.
  • For each lab, you are expected to submit a report and the corresponding code via Canvas.
  • Your report should be a pdf file written in English, otherwise it will not be graded.
  • Your report should be named as "StudentName_StudentID_LabIndex.pdf". For example, HaimingJin_5080309195_Lab1.pdf for Lab 1. If there are multiple files (e.g., report and code) to be submitted for the same lab, please put all your files in a .zip file named as "StudentName_StudentID_LabIndex.zip".
  • Each lab assignment normally contains a tutorial and several questions. The tutorial will instruct you to set up the basic environment and install the tools necessary for the lab. In your report for each lab, you are expected to provide answers to all questions by using the installed tools or writing additional codes as required.
Assignments:
  • Lab 1: Set Up Environment and Test Basic Softwares
  • Lab 3: Socket Programming for Chatting Room with Multiple Users