7 April, 2014.
Finally, we have reached the bottom layer: let’s get physical! We will see how 1s and 0s can encoded into digital and analog signals for transmissions.
Slides: PDF
7 April, 2014.
Finally, we have reached the bottom layer: let’s get physical! We will see how 1s and 0s can encoded into digital and analog signals for transmissions.
Slides: PDF
Here’s your Assignment 3 on understanding packet traces.
This is an INDIVIDUAL assignment, due 18 April 2014, 6:00pm.
Please write your answers in the answer sheet and submit a hardcopy to Wei Tsang before the deadline.
(Please ignore the Assignment 3 posted in IVLE — we were struggling to get online assignment working in IVLE, resulting in delay releasing the assignment.)
The grades for Assignment 1 has been posted in your IVLE gradebook. Please take a look at the comments, and report back to us if there is anything surprising.
Some of the common mistakes are:
30 March, 2014.
This week we will take a look at another multiple access protocol, CSMA/CA for WiFi, and discuss the roles of hubs, switch, and routers in forming a LAN. ARP will be discussed as well.
Slides: PDF
Please read the following sections in the textbook.
Download the PDF version of Problem Set 7 here. Please attempt the questions before coming to class, and be prepared to present your solutions.
I hope everyone is having fun writing your own reliable file transfer program in Assignment 2.
I am releasing the code we will use to test your program. You can use it to check if your code will survive our test cases.
To run the test, execute
~sadm/a2/check.sh <port>
on cs2105-z.comp.nus.edu.sg (replace <port> with your favourite port number).
Note that, passing the test cases just means that your code behaves correctly when tested, it does not mean that your code is correct.
The test script is experimental, so please report if it fails to run.
24 March, 2014.
“These Protocols Transmit At Random Interval. It May Sound Ridiculous, But The Reason They Do It Is Simply Beautiful.”
This week we continue our venture down the protocol stack, and look at the link layer. We will review the services provided by the link layer, how error detection/correction is done, how shared medium are accessed, and finish up with a discussion on Ethernet frame format.
Slides: PDF
Please read the following sections in the textbook. Reading: Chapter 5
We will start the discussion of Problem Set 6 next week. Download the PDF version of Problem Set 6 here. Please attempt the questions before coming to class, and be prepared to present your solutions.
1. Here is the distribution of your midterm marks. The maximum marks given is 30 (out of 31). The average is 16. Note that the make-up midterm marks are not yet integrated (that explains the seven 0s).
2. You should be getting back your answer sheet this week during your tutorial. Please note the following regarding regrades.
3. Your midterm mark has been imported into your IVLE gradebook for CS2105.
4. IMPORTANT notes on Q5. We accept both A and C as correct answers. Due to my negligence, C is not marked as the correct answer. You, however, need not submit your answer sheet for regrade if you answered C for Q5 but did not receive 2 marks for that. An additional 2 marks will be added to your midterm grade “digitally”. In other words, you should see that your grade in the gradebook is 2 marks higher than what is noted on your answer sheet. Please inform me if your answer for Q5 is C but you did not receive an additional 2 marks.
Here’s your Assignment 2 on simulating alternating-bit protocol. This is a simple assignment (the solution is only ~40 lines of code) to be completed and submitted INDIVIDUALLY before 30 March, 2014, 11:59PM. Despite the simplicity, please start early!
17 March, 2014.
This week we will look at network security at the application, transport, and network layer. We will skip the mathematics involved (there are other modules for that) and focus on the concepts that enable secure communication via SSL and IPsec.
Slides: PDF
Please read the following sections in the textbook. Reading:
Here is your third DIY exercise. This is an ungraded exercise, but completing the exercise should deepen your understanding of the materials covered in class. You are encouraged to ask questions and discuss your results online on the blog.
We will start the discussion of Problem Set 5 next week. Download the PDF version of Problem Set 5 here.