|
|
Instructors |
Mina Tahmasbi Arashloo |
Bo Sun |
|
mina.arashloo@uwaterloo.ca |
bo.sun@uwaterloo.ca |
Lectures |
Mondays & Wednesdays |
Mondays & Wednesdays |
|
4:00PM - 5:20PM |
11:30AM - 12:50PM |
Office Hours |
Tuesdays, 9:30AM - 10:30AM |
Thursdays, 4:30PM - 5:30PM |
Teaching |
Elham Akbari Azirani |
eakbaria@uwaterloo.ca |
Assistants |
Kimiya Mohammadtaheri |
k4mohamm@uwaterloo.ca |
|
Kylee Schram |
kfschram@uwaterloo.ca |
|
Amir Hossein Seyhani Parashkoh |
ahseyhan@uwaterloo.ca |
|
Muhammad Sulaiman |
m4sulaim@uwaterloo.ca |
|
Michael Wrana |
mmwrana@uwaterloo.ca |
Modern computer networks are complex distributed systems, with thousands of heterogeneous software and hardware components working together to deliver traffic from sources to destinations. They serve applications that demand much more than basic network connectivity, asking for certain levels of performance and reliability from the network.
In this course, we will discuss the fundamental concepts behind modern computer networks, using the Internet ecosystem and its protocols as our guiding example.
Following is a tentative schedule of lectures. Details are subject to change depending on how our in-class conversations go.
Readings are added to the schedule as we make progress throughout the term. They are optional and from the following resources:
- Computer Networking, A Top-Down Approach, James Kurose & Keith Ross, Pearson, 8th Edition (7th Edition is also fine).
- Research papers, blog posts, and platforms related to computer networks. References to these resources will be added to the schedule throughout the term.
Topic |
Dates |
Lectures |
Slides |
Readings (Optional) |
Project and Assignments |
Introduction |
Wed - Sep 4 |
- What is a computer network?
- Logistics |
[lec01]
|
Textbook: Ch1
Other: Internet history
|
Mon - Sep 09 |
- What is a computer network? (cont.)
- Network performance metrics
- What is the Internet?
|
[lec02] |
The Application Layer |
Wed - Sep 11 |
- The layered structure of networks
- Application layer overview
|
[lec03]
|
Textbook: Ch2
Other:
Polaris
Vroom
|
Mon - Sep 16 |
- Web applications
|
[lec03] |
Wed - Sep 18 |
- Web applications (cont.)
- Interfacing with the transport layer
|
[lec04] |
Wed, Sep 18: Assignment 1 released |
Mon - Sep 23 |
- Video streaming
- Peer-to-peer file distribution
|
[lec04] |
Tue, Sep 24: Project proposals due (CS 656) |
The Transport Layer |
Wed - Sep 25 |
- Transport layer overview
- Multiplexing and demultiplexing
- User Datagram Protocol (UDP)
|
[lec05]
|
Textbook: Ch3
Other:
DCTCP
BBR
QUIC
|
Mon - Sep 30 |
- Reliable data transport
|
[lec06] |
Wed - Oct 2 |
- Transmission Control Protocol (TCP)
|
[lec07] |
Wed, Oct 2: Assignment 1 due |
Mon - Oct 7 |
- Transmission Control Protocol (TCP) - Continued
|
[lec07] |
Fri, Oct 4: Assignment 2 released |
Wed - Oct 9 |
- Principles of congestion control
- TCP congestion control
- Evolution of transport-layer functionality
|
[lec08] |
Reading Week |
The Network Layer |
Mon - Oct 21 |
- Network layer overview
- Routing protocols
|
[lec09] |
|
Wed - Oct 23 |
- Midterm exam Q & A |
- |
Midterm Exam: Thu Oct 24, 7:00PM to 8:50PM, location TBD |
The Network Layer - Continued |
Mon - Oct 28 |
- Routing protocols (cont.)
|
[lec10]
|
Textbook: Ch4, Ch5
Other:--
|
Wed - Oct 30 |
- Internet Protocol (IP)
| [lec11]
|
Tue, Oct 29: Project progress report due (CS 656) |
Mon - Nov 4 |
- Open Shortest Path First (OSPF)
- Border Gateway Protocol (BGP)
|
[lec12] |
Fri, Nov 1: Assignment 2 due |
Wed - Nov 6 |
- Border Gateway Protocol (BGP) - continued
|
[lec12]
|
Middleboxes and SDN |
Mon - Nov 11
| - End-to-end argument
- Middleboxes
- Software-Defined Networking (SDN)
|
[lec13]
|
|
Fri, Nov 8: Assignment 3 released |
The Data Link Layer |
Wed - Nov 13 |
- Link layer overview
- Local Area Networks (LANs)
- Ethernet
|
[lec14] |
Textbook: Ch6 (excluding 6.2, 6.5, and 6.6)
Other:--
|
Mon - Nov 18 |
-Virtual LANs
|
[lec15] |
Wed - Nov 20 |
- Multiple Access Channel (MAC)
|
[lec16] |
Naming and Addressing |
Mon - Nov 25
| - DNS
- DHCP
|
[lec17]
|
|
Router/Switch Architecture |
Wed - Nov 27
| - Router/switch architecture
- Buffering
- Scheduling
|
[lec18]
|
Textbook: Ch4, section 4.2
AND this lecture note
Other:--
|
Fri, Nov 29: Assignment 3 due |
Wrap-up & Review |
Mon - Dec 2
|
TBD
|
--
|
|
Tue, Dec 3: Project final report due (CS 656). No extensions possible (per school policy) |
LEARN: Course annoncements, slides, quizzes, and assignments will be posted on LEARN.
Piazza: We will use Piazza for course-related discussions. Piazza is catered to getting you help from classmates, the TAs, and the instructor. Rather than emailing questions to the teaching staff, we encourage you to post your questions on Piazza.
When asking questions, please adhere to the course Q&A policy.
The final grade for the course will be based on the following components:
|
CS 456 |
CS 656 |
Quizzes |
10% |
10% |
Programming Assignments |
30% |
10% |
Midterm |
25% |
25% |
Final |
35% |
35% |
Research Project |
- |
20% |
Quizzes (10%): The goal of quizzes is to help you assess your understanding of the course material, and to help us as your instructors to pinpoint subjects that need extra discussion in the class. Here are the logistics:
- Every week that we have lectures, a quizz will be posted on LEARN on Thursday that week at 8PM EST.
- Unless stated otherwise, you have until Sunday at 11:59PM to complete the quizz.
- Questions are multiple-choice and are about the material covered in class that week.
- You will have unlimited attempts. Hopefully, this helps you focus on your learning of the material without having to worry about your grade.
- A missed quiz cannot be retaken and doctor's note is not accepted for missed quizzes.
- You can miss two quizzes without it affecting your grade.
Programming Assignments - CS 456 (30%): There are three programming assignments, each counting as 10% of your final grade. Here are the logistics:
- Assignment specifications will be posted on LEARN.
- Assignments are to be completed individually and submitted to the appropriate Dropbox on LEARN.
- You have a total of four late days for the whole term, including self-declared absences through Quest (e.g., short-term absences and COVID-19-related absences).
- Use your late days to accommodate unexpected situations. No questions will be asked.
- Examples of unexpected situations include your internet connection being down right before the deadline or forgetting or missing the deadline.
- Your four late days are for the whole term, not per assignment.
- E.g.: If you use 2 late days for assignment 1, you have only 2 late days left to use for the rest of the assignments.
- Late days are tracked daily, not hourly. The number of late days is calculated based on the records on LEARN, rounding up the time of each late assignment.
- E.g., if the LEARN records show that assignment 1 is submitted 1 hour late, and assignment 2 is submitted one day and 20 hours late, you have used up a total of three late days.
- No extensions are granted if you have no late days left, so plan ahead and use them carefully.
- E.g.: If you have no late days left and submit the assignment after the deadline, you will not receive any points for the assignment
Programming Assignments - CS 656 (10%): There are three programming assignments. Choose two of the three to complete. Each will count as 5% of your grade. For the logistics, please see the above text for "Programming Assignments - CS 456".
Midterm (25%) and Final (35%) Logistics:
- Exams will be solely based on the materials presented in the class -- this includes the parts that may not necessarily be covered in the textbook.
- Exams are closed-book.
- Date, time, and location of the exams will be announced by the Registrar's Office.
- Midterm and final have to be passed, in the aggregate, in order to pass the course. That is, [(Midterm*25) + (Final*35)] / 60 >= 50%
- If you miss the midterm due to an officially filed short-term absence, the weight will be shifted to the final exam, i.e., the final exam will be counted as 60% of your grade, and you need to score at least 50% in the final exam to pass the course.
- In the case of a missed final exam, a Verification of Illness form must be uploaded to the university's online portal (see declaring absences due to illness).
- The verification of illness form must include the statement "This Student is unable to write the test on (date) for (medical reasons)".
- Documentation must show that the physician was consulted before or on the day of the exam.
- Only original copies can be accepted. A statement merely confirming a report of illness made by the student is not acceptable.
Research Project - CS 656 (20%): Students taking CS 656 are expected to work individually on original research projects related to computer networks. There are three deliverables for the project:
- Proposal (5%): You are expected to discuss your project ideas with the instructor at the beginning of the term, and submit a one page proposal, providing a clear problem statement, context and motivation, and a high-level overview of related work, by the end of week 3.
- Progress Report (5%): A month after the proposal, you are expected to submit a 2 page progress report.
- Final Report (10%): The final report, due at the end of the term, is a 6-page conference-style paper describing the problem statement and motivation, design, evaluation, related work, and future research directions.
Generative AI: Generative artificial intelligence (GenAI) trained using large language models (LLM) or other methods to produce text, images, music, or code, like Chat GPT, DALL-E, or GitHub CoPilot, may be used in this course with proper documentation, citation, and acknowledgement. Permitted uses of and expectations for using GenAI will discussed in class and outlined on assignment instructions.
Recommendations for how to cite generative AI in student work at the University of Waterloo may be found through the Library at
this link. Please be aware that generative AI is known to falsify references to other work and may fabricate facts and inaccurately express ideas. GenAI generates content based on the input of other human authors and may therefore contain inaccuracies or reflect biases.
In addition, you should be aware that the legal/copyright status of generative AI inputs and outputs is unclear. Exercise caution when using large portions of content from AI sources, especially images. More information is available from the Copyright Advisory Committee at
this link .
You are accountable for the content and accuracy of all work you submit in this class, including any supported by generative AI.
Q&A: We strongly encourage you to ask questions about anything in the course – lecture material, quizzes, assignments, projects, etc – and we'd love to have discussions about computer networks! That said, this is a large class. To ensure the teaching team can effectively answer questions, we have put the following policies in place:
- We may not be able to answer duplicate questions, i.e., topics that are already discussed in the course outline, questions already answered on Piazza, or questions already answered in FAQs.
- Please check the course outline, the course FAQs, assignment FAQs, and Piazza before posting your question.
- While we will do our best to answer your questions as soon as possible, it may take the teaching team up to 2 business days to answer emails and Piazza questions. Please take that into account when planning when to start working on assignments and studying for the exams.
Attendance: Attendance is not mandatory but we strongly encourage you to attend the lectures. While the slides will be available online, they are mostly intended as teaching aids for the lectures as opposed to detailed lecture notes. As such,
they do not necessarily include all the details of the topics discussed in this course.
This section will be updated with frequently asked questions throughout the course.
Territorial Acknowledgement
The University of Waterloo acknowledges that much of our work takes place on the traditional territory of the Neutral, Anishinaabeg and Haudenosaunee peoples. Our main campus is situated on the Haldimand Tract, the land granted to the Six Nations that includes six miles on each side of the Grand River. Our active work toward reconciliation takes place across our campuses through research, learning, teaching, and community building, and is centralized within the
Office of Indigenous Relations.
Mental Health Support: The Faculty of Math encourages students to seek out mental health support if needed.
On-campus Resources:
Off-campus Resources:
- Good2Talk (24/7): Free confidential help line for post-secondary students. Phone: 1-866-925-5454 (Ontario and Nova Scotia only)
- Here 24/7: Mental Health and Crisis Service Team. Phone: 1-844-437-3247 (Waterloo Region only)
- OK2BME: set of support services for lesbian, gay, bisexual, transgender, or questioning teens. Phone: 519-884-0000 extension 213 (Waterloo Region only)
- EMPOWER ME 1-833-628-5589 for Canada/USA. other countries see: http://studentcare.ca/rte/en/IHaveAPlan_WUSA_EmpowerMe_EmpowerMe
- EMPOWER ME in China:
China North 108007142831
China South 108001402851
Diversity:
It is our intent that students from all diverse backgrounds and perspectives be well served by this course, and that students’ learning needs be addressed both in and out of class. We recognize the immense value of the diversity in identities, perspectives, and contributions that students bring, and the benefit it has on our educational environment. Your suggestions are encouraged and appreciated. Please let us know ways to improve the effectiveness of the course for you personally or for other students or student groups. In particular:
- We will gladly honour your request to address you by an alternate/preferred name or gender pronoun. Please advise us of this preference early in the term so we may make appropriate changes to our records.
- We will honour your religious holidays and celebrations. Please inform us of these at the start of the course.
- We will follow AccessAbility Services guidelines and protocols on how to best support students with different learning needs.
AccessAbility Services, located in Needles Hall, Room 1401, collaborates with all academic departments to arrange appropriate accommodations for students with disabilities without compromising the academic integrity of the curriculum. If you require academic accommodations to lessen the impact of your disability, please register with AccessAbility Services at the beginning of each academic term.
Academic Integrity: In order to maintain a culture of academic integrity, members of the University of Waterloo community are expected to promote honesty, trust, fairness, respect and responsibility.
[Check
the Office of Academic Integrity for more information.]
Grievance: A student who believes that a decision affecting some aspect of their university life has been unfair or unreasonable may have grounds for initiating a grievance. Please read
Policy 70, Section 4. When in doubt, please be certain to contact the department’s administrative assistant who will provide further assistance.
Discipline: A student is expected to know what constitutes academic integrity to avoid committing an academic offence, and to take responsibility for their actions. [Check
the Office of Academic Integrity.] A student who is unsure whether an action constitutes an offence, or who needs help in learning how to avoid offences (e.g., plagiarism, cheating) or about “rules” for group work/collaboration should seek guidance from the course instructor, academic advisor, or the undergraduate associate dean. For information on categories of offences and types of penalties, students should refer to
Policy 71, Student Discipline. For typical penalties, check
Guidelines for the Assessment of Penalties.
Avoiding Academic Offenses: Most students are unaware of the line between acceptable and unacceptable academic behaviour, especially when discussing assignments with classmates and using the work of other students. For information on commonly misunderstood academic offenses and how to avoid them, students should refer to the
Office of Academic Integrity's site on Academic Misconduct and the
Faculty of Mathematics' site on Academic Integrity.
Appeals: A decision made or penalty imposed under Policy 70, Student Petitions and Grievances (other than a petition) or Policy 71, Student Discipline may be appealed if there is a ground. A student who believes they have a ground for an appeal should refer to
Policy 72 - Student Appeals.
Turnitin.com: Text matching software (Turnitin®) may be used to screen assignments in this course. Turnitin® is used to verify that all materials and sources in assignments are documented. Students' submissions are stored on a U.S. server, therefore students must be given an alternative (e.g., scaffolded assignment or annotated bibliography), if they are concerned about their privacy and/or security. Students will be given due notice, in the first week of the term and/or at the time assignment details are provided, about arrangements and alternatives for the use of Turnitin in this course.
It is the responsibility of the student to notify the instructor if they, in the first week of term or at the time assignment details are provided, wish to submit alternate assignment.