CSIT 561 Computer Networks: An Internet Perspective Homework3

 
1.      Compute the routing table at node A using the link-state algorithm:
 

step

N’

D(B),P(B)

D(C),P(C)

D(D),P(D)

D(E),P(E)

D(F),P(F)

0

A

1, A

3, A

4, A

1

AB

 

2, B

4, A

11, B

5, B

2

ABC

 

 

3, C

11, B

5, B

3

ABCD

 

 

 

7, D

5, B

4

ABCDF

 

 

 

6, F

 

5

ABCDFE

 

 

 

 

 

 
2.      Consider the following network topology. Consider the path information that reaches stub networks W, X, and Y. Based on the information available at W and X, what are their respective views of the network topology? Justify your answer. The topology view at Y is shown below.
 
3.      Suppose nodes A and B are on the same 10 Mbps Ethernet segment, and the propagation delay between the two nodes is 225 bit times. Suppose node A begins transmitting a frame and, before it finishes, node B begins transmitting a frame. Can A finish transmitting before it detects that B has transmitted? Why or why not? If the answer is yes, then A incorrectly believes that its frame was successfully transmitted without a collision. Hint: Suppose at time t=0 bit times, A begins transmitting a frame. In the worst case, A transmits a minimum sized frame of 512+64 bit times. So A would finish transmitting the frame at t=512+64 bit times. Thus, the answer is no, if B’s signal reaches A before bit time t=512+64 bits. In the worst case, when does B’s signal reach A?

At time = 0, A transmits. At time = 576, A will finish transmitting, suppose B will transmit in the time=224, then time =224+225=449, 449 < 576, the first bit of B will reach to A. A will abort the transmitting.

So A can not finish transmitting before it detects that B has transmitted. It means that if A does not detect the host presence, then it will no other host begin transmitting when A is transmitting

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值