?? test-suite-smac.txt
字號(hào):
brdcast1A simple 2 node topology in which each node broadcasts a ping request and reply to each other.2 nodes start sending at the same time. no collision.brdcast23 node topology. Nodes brdcast ping requests at the same time. packets 6 and 8 have a collision and are dropped. They are not retx'ed as these are brdcast pkts.unicast1simple 2 node topology. node 0 unicasts node 1.unicast23 nodes all can hear one another.node 2 send brdcast ping requests overlapping with unicast pkts unicast33 nodes. node 2 can hear the sender(0) only, not receiver(1). node 0 and 1 exchange unicast pkts. node 2 send brdcasts. node 1 receives a corrupt pkt from 2 and being in CS, goes to sleep, so doesn't recv brdcast reply [2] from 0. Later node 1 wakes up to send unicast reply to node 0.unicast43 nodes. 0->1 and node 2 sends brdcast. 2 is neighbor to recvr 1. can hear CTS only.unicast54 nodes. 0->1 and 3->2. 3 can hear 0 but not recv from it.2 can hear and recv from 0.node 3 received ping answer from 2 with round-trip-time 619.0 ms.node 0 received ping answer from 1 with round-trip-time 1116.8 ms.unicast64 nodes. 0->1 and 3->2. 3 cannot hear from 0. 2 can recv from only receiver 1. hence the 2 senders start sending at the same time which results in collision at recvr node 1. once the brdcast arp request is lost, it is never sent out again, which results in the ping request never leaving node 0. 2 & 3 exchange usual ping req/reply.node 3 received ping answer from 2 with round-trip-time 599.6 ms.unicast7same scenario as 6. 0->1 and 2->3. same collision happens at node 1. arp is not brdcasted again. hence node 0 never gets to send out ping req to 1.unicast8same as 6. 1->0 and 2->3. now the sender can hear one another and so avoids collision.unicast9node 0 and 3 canoot hear each other. 1 and 2 can hear everybody but only recv from 0 &2 and 3 & 1 resp.unicast100->1 and 3->2 but neither pair can hear oneanothr hence has simultaneous exchanges. least time taken.node 0 received ping answer from 1 with round-trip-time 504.6 ms.node 3 received ping answer from 2 with round-trip-time 524.6 ms.
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -