0% found this document useful (0 votes)
6 views2 pages

Assignment3 Azamat Duisembayev-2

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views2 pages

Assignment3 Azamat Duisembayev-2

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Assignment 3

Azamat Duisembayev
202174760

3.4
Forwarding Table for Switch 1
Destination Port

A 1

B 2

C 3

D 3

OUT 3

Forwarding Table for Switch 4


Destination Port

A 1

B 1

C 1

D 2

OUT 1

3.10
(a) 1. The packet travels from host A to switch 1.
2. Switch 1, based on its forwarding table, likely forwards the packet to switch 2,
expecting it to reach host B.
3. Switch 2 forwards the packet to switch 3 via port 0 (based on its forwarding table,
assuming that switch 3 is responsible for B).
4. Switch 3, due to the incorrect entry in its table, sends the packet out of port 1, thinking
it leads to host B.
5. The packet will go back to switch 1 (since port 1 of switch 3 is connected to port 0 of
switch 1), forming a loop between switch 1 and switch 3.

(b) 1. When host A tries to setup a virtual circuit with host B, the setup message travels from
Switch 1 to Switch 2
2. After that, switch sends a setup message further to Switch 3, thinking it will lead to the
host B.
3. When the message reaches the Switch 3, it will forward the message via port 1,
assuming it can reach B only through Switch 1. This creates a loop in the virtual circuit
as the setup message travels between Switches 1 and 3, trying to reach host B.

1) Can we apply CSMA/CD to wireless networks?

No, because CSMA/CD depends on the capacity to detect collisions, which is challenging given
the nature of wireless transmissions and signal attenuation, it cannot be used with wireless
networks.

2) Can we apply CSMA/CA to Ethernet networks?

Ethernet networks cannot employ CSMA/CA because they rely on collision detection
(CSMA/CD), and CA would add needless overhead that would lower efficiency.

3) Give one advantage and one disadvantage for both connectionless and connection-oriented
approaches in packet switching.

One advantage of connectionless technology is its speed, as there is no setup procedure


involved. A drawback is that packets may arrive out of order, making it less dependable.
Advantage of a connection-oriented system: It guarantees packet delivery and order, making it
more dependable. A disadvantage is that it is slower because a connection must be
established.

4) Show the signaling for the following scenario in CSMA/CA in wireless networks; the two
nodes send request-to-send packages to the AP at the same time.

In this scenario, the AP would only transmit a Clear-to-transmit (CTS) to one node—the other
would back off and try again after a randomly determined amount of time—while both nodes
would send a Request-to-Send (RTS) signal.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy