Assignment3 Azamat Duisembayev-2
Assignment3 Azamat Duisembayev-2
Azamat Duisembayev
202174760
3.4
Forwarding Table for Switch 1
Destination Port
A 1
B 2
C 3
D 3
OUT 3
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.
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.
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.
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.