Monday, July 13, 2009

[AIT09] New Lecture Notes

Guys,

I just post a new lecture note on the website. I also fixed the broken file for chapter about UDP. Please have a look at

http://www.ece.ubc.ca/~teerawat/NS2.htm

Sunday, July 12, 2009

[AIT09] instvar classifier_ and next_rtm_ of class RtModule

This question is from Wattanadej

1. Why the instvar classifier_ and next_rtm_ of RtModule(OTcl) are not bind with the variable classifier_ and next_rtm_ of the compiled class(C++)?

2. What is the C++ class corresponding to the OTcl class RtModule?

[AIT09] RTT and RTO for TCP

This question is from our friend Shujaat

Suppose we have average RTT of 1.5 ms, and RTT variation of 0.5 ms. Suppose further that the next RTT sample is 3 ms.
1) What is the average value of RTT corresponding to the last RTT Sample above.
2) What is the value of RTT variation
3) What is the value of RTO

[AIT09] Output Queue

This question is from Thein Tun Aung:

How is an output queue of a node implemented ?
What will happen if the buffer capacity of output queue is exceeded ?

Friday, July 10, 2009

[AIT09] How to create a two-way TCP

This question is from our friend Shujaat

In our course we have studied TCP Agent for one way transmission by
sender (which obey different congestion and error control
techniques)and sink(receiver). If we want to transmitt in two ways. Is
is possible to transmit in 2 ways in NS2?
If possible then how?

Thursday, July 9, 2009

[AIT09] Addressing in NS2

This question is from our friend Hasanain.

The question is
  1. What is the address format in NS2?
  2. Where do we store (IP) address?
  3. How do we store the IP address? (using what function or instproc?)
Any comments?

Wednesday, July 8, 2009

[AIT09] A Welcome Message

Welcome, everyone. As we'll be discuss in the class, this would be the place where we discuss about NS2 course. The purpose is to have you all participate in a meaningful way. Here is how it works.

  1. You send me an email stating problems or questions you have.
  2. I select questions and post the selected questions (with title beginning with [AIT09] and label AIT09) on the blog. The selected question would earn marks.
  3. You help each other by trying to commenting or answering the question. Each thoughtful comment and answer earns marks. The meaningless comments such as "I think so" do not earn marks.

Try to come back here as often as you can. You know, it is easier to comment if you read the discussion first.

Good Luck... Teerawat