Embedded

Only available on StudyMode
  • Download(s) : 59
  • Published : January 20, 2013
Open Document
Text Preview
LAN-T Quick reference manual v1.4.3

Benchmark LAN-T
Quick reference manual
April 2009
V 1.4.3
LAN-T is a trademark of Benchmark Electronic Systems (P) Ltd. This manual contains Benchmark proprietary material. All other trademarks and copyrights belong to the respective owners and are hereby acknowledged.

All Rights reserved. This manual may not be copied in whole or in part, nor transferred to any other media or language without the express written permission of Benchmark Electronic Systems (P) Ltd.

Benchmark Electronic Systems (P) Ltd. reserves the right to make changes to this manual and to the equipment described herein without any notice. Considerable effort has been made to insure that this manual is free of inaccuracies and omissions. However, Benchmark Electronic Systems (P) Ltd. makes no warranty of any kind including, but not limited to, any implied warranties of merchantability and fitness for a particular purpose with regard to this manual or the products described herein. Benchmark Electronic Systems (P) Ltd. assumes no responsibility for, or liability for errors contained in this manual or for incidental, special, or consequential damages arising out of the furnishing of this manual, or the use of this manual in operating the equipment, or in connection with the performance of the equipment when so operated.

Contents

1. Aloha………………………………………………………………………….....

1

2. CSMA…………………………………………………………………………….

6

3. CSMA/CD……………………………………………………………...……......

11

4. CSMA/CA……………………………………………………………………......

16

5. Token Bus……………………………………………………………………….

24

6. Token Ring……………………………………………………………..............

28

7. Stop and Wait…………………………………………………………………..

32

8. Stop and Wait with BER………………………………………………………

35

9. Sliding Window Go Back N…………………………………………………..

37

10. Sliding Window Go Back N with BER……………………………………...

40

11. Sliding Window Selective Repeat…………………………………………..

42

12. Sliding Window Selective Repeat with BER……….……………………..

45

13. Packet Transmission………………………………………………………….

47

14. File transfer and Packet Sniffing……………………………………………

50

15. RC4 Key…………………………………………………………………………

54

16. Encrypting a file using RC4 algorithm…………………………………….

59

17. File transfer using Socket FTP………………………………………………

62

18. Distance vector routing protocol……………………………………………

67

19. Link state routing protocol…………………………………………………..

73

20. Appendix 1 Graph plot procedure………………………………………….

78

21. Appendix 2 Configuration menu details…………………………………..

86

22. Appendix 3 Developing Lan-T application………………………………..

88

LAN-T

ALOHA

Experiment 1 – ALOHA
Aim:
Implement the ALOHA protocol for packet communication between a number of nodes connected to a common bus

Procedure:
1. Click on the MAC Experiment icon

twice from the desktop on both PC’s.
in the window in both the PC’s.

2. Click the Configuration button

PC 1

PC 2

Setting the Configuration menu:

PC 1
Node id

PC 2

0 on config menu 1 and
1 on config menu 2

Node id

0 on config menu 1 and
1 on config menu 2

Protocol

ALOHA

Protocol

ALOHA

Baud Rate

8Kbps (At both the config
menu and NEU)

Baud Rate

8Kbps (At both the config
menu and NEU)

Duration

100s

Duration

100s

Packet Length

100 bytes

Packet Length

100 bytes

Bit Delay

0(at NEU)

Bit Delay

0(at NEU)

Direction

Sender

Direction

Sender

Note: All the nodes have to be configured as ‘Senders’. Set the topology as ‘Bus’.

__________________________________________________________________________________ BENCHMARK

Quick Reference Manual

1

LAN-T

ALOHA

N*P
G = ------C * ta
→ Equation A
G is the generated load in the network.
N is the number of nodes participating in the network. For example, let us say that 4 nodes (using 2 computers)
P is the packet length expressed in bits; say 100 bytes (800...
tracking img