CS341
Introduction to Computer Networks
2021 Spring, KAIST

Overview

The goal of this course is to provide students with sound understanding of fundamental concepts and problems in networking and hands-on experiences in network programming. Resources for programming assignments will include Berkeley socket programming and TCP protocol implementation on KENS.

Please use the KLMS board for your questions. In case of an emergency, such as some system or network failure, please call 042-350-3548 and contact the professor. If she is not in, the call will be forwarded to her staff. On private matters, such as family emergencies or sickness, email the professor.

Instructor
Sue Moon (sbmoon golbaengi kaist edu)
TAs
Byeongkeon Lee
Jisu Ok
Wonsup Yoon
Email: cs341-ta golbaengi an kaist ac kr
Lecture Time
Tue/Thu 10:30 AM - 11:45 AM
Lecture Room
Streaming, Recorded Video
TA Office Hours
Mon-Thu: 7~10 pm
Main Textbook
Computer Networking: A Top-Down Approach, 7th Edition (by James F. Kurose and Keith Ross)

Supporting Materials
  • Computer Networks: A Systems Approach, 4th Edition (by Larry L. Peterson and Bruce S. Davie)
  • TCP/IP Illustrated, Volume I: the Protocols (by W. Richard Stevens)
  • TCP/IP Illustrated, Volume II: the Implementation (by Gary R. Wright and W. Richard Stevens)
  • TCP/IP Illustrated, Volume III: TCP for Transactions, HTTP, NNTP, and the UNIX Domain Protocols (by W. Richard Stevens)
  • Web Protocols and Practice: HTTP/1.1, Networking Protocols, Caching, and Traffic Measurement (by Balachander Krishnamurthy and Jennifer Rexford)
  • Computer Networks, 5th Edition (by Andrew S. Tanenbaum and David Wetherall)
Description

There will be 5 programming projects: 1 on socket programming, 2 on KENS, 1 on routing, and 1 on network security. We will post details according to the published schedule. For each project we will hold a tutorial session during the lab time slot.

For 3 KENS programming projects, students have to build up their own TCP implementation on top of KENS (KAIST Educational Network Simulator) framework. We provide a minimal user-level function interface that interacts with user applications and an emulated IP layer which performs static routing. The underlying emulator can simulate both reliable and unreliable link states with configurable and reproducible packet losses and reordering. Your task is to implement the TCP stack API.

For the first and last projects, students will work individually. For the three KENS projects, students will work in a team of two.

  • Project 1: Http protocol
  • Project 2: KENS part I, II
  • Project 3: KENS part III, IV
  • Project 4: Routing
  • Project 5: TBD
30%
Programming Assignments (5 times * 6pt)
20%
Homework
30%
Final Exam
16%
PA discussion (4 times * 4pt)
4%
Attendance
100%
total

Useful Links

Go to KLMS KENS Docs Old KENS website Introduction Slide


Tentative Schedule

Weeks Topics Chapters Homework Projects(Tentative)
Week 1 (3/02) Course Overview (3/04) Chapter 1.1~1.4 Ch. 1 Whenever each chapter finish
Week 2 (3/09) 1.5~1.7 (3/11) Chapter 2.1~2.3 Ch. 2 Problem set #1 on Chapters 1 and 2 Socket Programming
(Mar 11 ~ Mar 23)
Week 3 (3/16) 2.4~2.5 (3/18) 2.6 Ch. 3
Week 4 (3/23) Chapter 3.1~3.3 (3/25) 3.4 Ch. 3 KENS #1
(Mar 25 ~ Apr 8)
Week 5 (3/30) 3.5 (4/01) 3.6~3.7 Ch. 3 Problem set #2 on Chapter 3
Week 6 (4/06) Chapter 4.1~4.2 (4/08) 4.3 Ch. 4 KENS #2
(Apr 13 ~ May 4)
Week 7 (4/13) 4.4 (4/15) Chapter 5.1~5.2 Ch. 4 Problem set #3 on Chapter 4
Week 8 No Midterm exam
Week 9 (4/27) 5.3 (4/29) 5.4 Ch. 5
Week 10 (5/04) 5.5~5.7 (5/06) Chapter 6.1~6.2 Ch. 5 Problem set #4 Routing
(May 6 ~ May 18)
Week 11 (5/11) 6.3~6.4 (5/13) 6.5~6.6 Ch. 5
Week 12 (5/18) 6.7 (5/20) Chapter 7.1~7.2 Ch. 6 Problem set #5 TBD
(May 20 ~ Jun 8)
Week 13 (5/25) 7.3 (5/27) 7.4~7.5, 7.8 Ch. 6
Ch. 7
Week 14 (6/01) Chapter 8.1~8.3 (6/03) 8.4, 8.6 Ch. 7
Ch. 8
Problem set #6
Week 15 (6/08) 8.7~8.9 (6/10) Wrap-up Ch. 8
Ch. 9
Week 16 (6/17) 9:00 AM ~ 12:00 PM Final exam