Homework Chapter 5.doc

  1. 1、本文档共8页,可阅读全部内容。
  2. 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
HomeworkChapter5概要1

Homework Chapter 5 1. How big is the LAN address space? The IPv4 address space? The IPv6 address space? 2^48,2^32,2^128 2. Suppose four active nodes—nodes A, B, C and D—are competing for access to a channel using slotted ALOHA. Assume each node has an infinite number of packets to send. Each node attempts to transmit in each slot with probability p. The first slot is numbered slot 1, the second slot is numbered slot 2, and so on. 假设四个活动节点,节点A,B,C和D-正在争夺访问使用时隙ALOHA的通道。假设每个节点有分组的无限号码发送。每个节点将尝试在每个时隙的概率为p传输。第一时隙编号为时隙1,第二时隙编号为2的插槽,并依此类推。 a. What is the probability that node A succeeds for the first time in slot 5? b. What is the probability that some node (either A, B, C or D) succeeds in slot 4? c. What is the probability that the first success occurs in slot 3? d. What is the efficiency of this four-node system? 1.节点A首次就成功插在插槽5的概率是多少? 2.某些节点(或A,B,C或D)成功插在插槽4的概率是多少? 3.第一次成功发生在槽3的概率是多少? 4.这四个节点系统的效率? 3. Calculate the efficiency of slotted ALOHA and pure ALOHA as a function of p (p=0, 0.1, 0.2, 0.3, 0.4, 0.5, …, 1.0) for the following values of N: a. N=15. b. N=20. c. N=30. Answer: Equation pure ALOHA p=0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 N=15 N=20 N=30 slotted ALOHA p=0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 N=15 N=20 N=30 4. Consider three LANs interconnected by two routers, as shown in Figure 1. 考虑由两个路由器相互连接3个网,如图1。 Figure 1 a. Assign IP addresses to all of the interfaces. For Subnet 1 use addresses of the form 192.168.1.xxx; for Subnet 2 uses addresses of the form 192.168.2.xxx; and for Subnet 3 use addresses of the form 192.168.3.xxx. b. Assign MAC addresses to all of the adapters. c. Consider sending an IP datagram from Host E to Host B. Suppose all of the ARP tables are up to date. Enumerate all the steps, as done for the single-router example in ARP. d. Repeat (c), now assuming that the ARP table in the sending host is empty (and the other tables are up to date). 1.将IP地址分配给所有

文档评论(0)

yaocen + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档