Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Ethernet Csma Mac Opnet Lab Solution

Download as pdf or txt
Download as pdf or txt
You are on page 1of 7

See discussions, stats, and author profiles for this publication at: https://www.researchgate.

net/publication/322041459

Opnet Lab 1 Solutions Ethernet A Direct Link Network with Media Access
Control

Preprint · December 2017


DOI: 10.13140/RG.2.2.13314.17600

CITATIONS READS

0 980

2 authors, including:

Haider Nafaa
Huazhong University of Science and Technology
6 PUBLICATIONS   0 CITATIONS   

SEE PROFILE

Some of the authors of this publication are also working on these related projects:

Opnet Lab Solutions View project

All content following this page was uploaded by Haider Nafaa on 24 December 2017.

The user has requested enhancement of the downloaded file.


Lab# 1

Opnet Lab 1 Solutions


Ethernet

A Direct Link Network with Media Access Control

Haider Nafaa Nseif


ID:I201521051
1/11/2017
IRAQ

Haidarnafia833@gmail.com
Lab# 1

1) Explain the graph we received in the simulation that shows the relationship between the
received (throughput) and sent (load) packets. Why does the throughput drop when the load is
either very low or very high?

Solution: The figure 1 shows that maximum throughput is achieved at a load around
500 packets/second. Once it's over 500 the network becomes congested and high
collision the amount of received packets can decrease once the sent packets keep
increasing .

Figure 1 show the network congested and high collision.

2) Use three duplicates of the simulation scenario implemented in this lab named Coax_01,
Coax_005, and Coax_0025. Make sure that the Interarrival Time attribute of the Packet
Generation Arguments for all nodes in the scenarios are as follows:
- Coax_01 scenario: exponential(0.1)
- Coax_005 scenario: exponential(0.05)
- Coax_0025 scenario: exponential(0.025)

Solution: We show a high collision in the network when the smaller number of
exponential .That generate more collision along the senders try to send their packets See
Figure 2.

Haidarnafia833@gmail.com
Lab# 1

Figure 2 a high collision

We see different affect for the three exponential in the efficiency of topology Figure 3.

Coax No. exponential Traffic at the beginning The case


Coax_01 0.1 The lowest traffic The curve goes up when load heavy.
Coax_05 0.05 The medium traffic The curve rising along all load heavy.
Coax_025 0.025 The highest traffic The curve drops down when load heavy.

Haidarnafia833@gmail.com
Lab# 1

Figure 3 the curve for three exponential

3) To study the effect of the number of stations on Ethernet segment performance, create a
duplicate of the Coax_0025 scenario. Name the new scenario Coax_Q3. In the new scenario,
remove the odd- numbered nodes, a total of 15 nodes (node 1, node 3, …, and node 29). Run
the simulation for the new scenario. Create a graph that compares node 0’s collision counts in
scenarios Coax_0025 and Coax_Q3. Explain the graph and comment on the results.

Solution: Certainly a half node number in Coax_Q3 will be reduced by collisions


compared to the other case in coax_0025 show figure4 .

Haidarnafia833@gmail.com
Lab# 1

Figure 4

4) In the simulation a packet size of 1024 bytes is used (Note: Each Ethernet packet can
contain up to 1500 bytes of data). To study the effect of the packet size on the throughput of
the created Ethernet network, create a duplicate of the Coax_0025 scenario. Name the new
scenario Coax_Q4. In the new scenario use a packet size of 512 bytes (for all nodes). For
both Coax_0025 and Coax_Q4 scenarios, choose the following global statistic:

Solution:
A) graph that compares the throughput as bits/sec in coax_0025 and coax_q4 scenarios.

Figure 5 shows the traffic received speed. The network with smaller packets
(constant 512bytes) has smaller speed at the beginning. However, with the time goes
by, the speed maintains a certain value, which is bigger than the network (Coax_Q025)
with larger packets. This is because of the difference of the packet number. With
more packets to be sent, the time efficiency becomes worse. So it is smaller when the
load of network is light. As the network load is rising, the network with more sending
packets will be more efficient. It is because the smaller size packet will make the
collision count drop.

Haidarnafia833@gmail.com
Lab# 1

Figure 5
B) create a graph that compares the throughput as packets/sec in coax_0025 and
coax_q4 scenarios.

Figure 6

Haidarnafia833@gmail.com
View publication stats

You might also like