HW

HW3.1

  1. In your professional role as a network engineer, you are asked to design a network through which students in a high school can connect to a WiFi gateway and from there, to the Internet. Which type of network medium would be most appropriate?

    • Broadcast

    All of the students can connect to a common medium that the WiFi gateway will also be connected to..

  2. In your professional role as a network engineer, you are asked to design a network so that a group of NYU PhD students can all access a common printer in the same office. Which type of network medium would be most appropriate?

    Broadcast

    All of the students can connect to a common medium that the printer will also be connected to..

  3. In your professional role as a network engineer, you are asked to design a network to connect a company's off-site server in NYC to a main server located in its headquarters in Seattle. Which type of network medium would be most appropriate?

    • Point-to-Point

    To connect two end points over a distance, a point-to-point network is most suitable..

HW3.2

CSMA/CD flowchart

  1. A host is connected to a shared medium that uses CSMA/CD as its MAC protocol. Suppose the host has data to send. What will it do next?

    • Sense the medium to see if it is idle before transmitting.

  2. A host is connected to a shared medium that uses CSMA/CD as its MAC protocol. Suppose the host has sent a frame and then detects a collision. What will it do next?

    • Send a jamming signal and cease transmission.

  3. A host is connected to a shared medium that uses CSMA/CD as its MAC protocol. Suppose the host has sent a frame, detected a collision, and sent a jamming signal. What will it do next?

    • Start the exponential backoff process.

  4. A host is connected to a shared medium that uses CSMA/CD as its MAC protocol. Suppose the host has data to send, is in the exponential backoff process, and has had 16 collisions as part of this process. What will it do next?

    • Give up.

  5. A host is connected to a shared medium that uses CSMA/CD as its MAC protocol. Suppose the host has sent a frame, sensed the medium afterward, and detected no collision. What will it do next?

    • The frame transmission is complete, so the host does not need to do anything else.

  6. A host is connected to a shared medium that uses CSMA/CD as its MAC protocol. Suppose the host has found the medium to be idle, and transmitted a frame. What will it do next?

    • Sense the medium to be sure there is no collision.

截屏2022-09-30 下午3.41.48.png

HW3.3