Is collision possible in a star topology switch link layer ?











up vote
1
down vote

favorite












I am learning about collision detection in ethernet protocols. Since each host has its own channel to forward to the switch, is it possible for collision to happen if the switch receives two frames at the same time ?



enter image description here










share|improve this question


























    up vote
    1
    down vote

    favorite












    I am learning about collision detection in ethernet protocols. Since each host has its own channel to forward to the switch, is it possible for collision to happen if the switch receives two frames at the same time ?



    enter image description here










    share|improve this question
























      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      I am learning about collision detection in ethernet protocols. Since each host has its own channel to forward to the switch, is it possible for collision to happen if the switch receives two frames at the same time ?



      enter image description here










      share|improve this question













      I am learning about collision detection in ethernet protocols. Since each host has its own channel to forward to the switch, is it possible for collision to happen if the switch receives two frames at the same time ?



      enter image description here







      networking ethernet switch






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 23 at 13:13









      calveeen

      486




      486






















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          2
          down vote



          accepted










          If we are talking about a switch, it isn't a shared medium where collision can occur.



          The switch switches connections to let packets through. A packet comes in from Port 1 and wants to go to port 2. A second packet comes in on port 3 and wants to go to port 2 as well. The switch first connects Ports 1&2 letting the packet through disconnects and then connects ports 2&3 letting the 2nd packet go through.



          This was an overly simplified example.





          share|improve this answer























          • could you elaborate further on the connecting and disconnecting part ? does that mean that if 2 frames arrive at the switch, both destined for the same port, then the switch will buffer one frame while letting the other frame transmit to that port. And this only applies to frames that are forwarded to the same port ?
            – calveeen
            Nov 23 at 13:53






          • 1




            That depends on the switch, see etutorials.org/Networking/lan+switching/…
            – Tarnay Kálmán
            Nov 23 at 14:05










          • @calveen I don't know as much, but to reinforce Tarnay's comment, it does depends on the hardware of the switch.
            – Ricardo S.
            Nov 23 at 14:08











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1377801%2fis-collision-possible-in-a-star-topology-switch-link-layer%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          2
          down vote



          accepted










          If we are talking about a switch, it isn't a shared medium where collision can occur.



          The switch switches connections to let packets through. A packet comes in from Port 1 and wants to go to port 2. A second packet comes in on port 3 and wants to go to port 2 as well. The switch first connects Ports 1&2 letting the packet through disconnects and then connects ports 2&3 letting the 2nd packet go through.



          This was an overly simplified example.





          share|improve this answer























          • could you elaborate further on the connecting and disconnecting part ? does that mean that if 2 frames arrive at the switch, both destined for the same port, then the switch will buffer one frame while letting the other frame transmit to that port. And this only applies to frames that are forwarded to the same port ?
            – calveeen
            Nov 23 at 13:53






          • 1




            That depends on the switch, see etutorials.org/Networking/lan+switching/…
            – Tarnay Kálmán
            Nov 23 at 14:05










          • @calveen I don't know as much, but to reinforce Tarnay's comment, it does depends on the hardware of the switch.
            – Ricardo S.
            Nov 23 at 14:08















          up vote
          2
          down vote



          accepted










          If we are talking about a switch, it isn't a shared medium where collision can occur.



          The switch switches connections to let packets through. A packet comes in from Port 1 and wants to go to port 2. A second packet comes in on port 3 and wants to go to port 2 as well. The switch first connects Ports 1&2 letting the packet through disconnects and then connects ports 2&3 letting the 2nd packet go through.



          This was an overly simplified example.





          share|improve this answer























          • could you elaborate further on the connecting and disconnecting part ? does that mean that if 2 frames arrive at the switch, both destined for the same port, then the switch will buffer one frame while letting the other frame transmit to that port. And this only applies to frames that are forwarded to the same port ?
            – calveeen
            Nov 23 at 13:53






          • 1




            That depends on the switch, see etutorials.org/Networking/lan+switching/…
            – Tarnay Kálmán
            Nov 23 at 14:05










          • @calveen I don't know as much, but to reinforce Tarnay's comment, it does depends on the hardware of the switch.
            – Ricardo S.
            Nov 23 at 14:08













          up vote
          2
          down vote



          accepted







          up vote
          2
          down vote



          accepted






          If we are talking about a switch, it isn't a shared medium where collision can occur.



          The switch switches connections to let packets through. A packet comes in from Port 1 and wants to go to port 2. A second packet comes in on port 3 and wants to go to port 2 as well. The switch first connects Ports 1&2 letting the packet through disconnects and then connects ports 2&3 letting the 2nd packet go through.



          This was an overly simplified example.





          share|improve this answer














          If we are talking about a switch, it isn't a shared medium where collision can occur.



          The switch switches connections to let packets through. A packet comes in from Port 1 and wants to go to port 2. A second packet comes in on port 3 and wants to go to port 2 as well. The switch first connects Ports 1&2 letting the packet through disconnects and then connects ports 2&3 letting the 2nd packet go through.



          This was an overly simplified example.






          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Nov 23 at 13:39









          harrymc

          249k10257549




          249k10257549










          answered Nov 23 at 13:28









          Ricardo S.

          1329




          1329












          • could you elaborate further on the connecting and disconnecting part ? does that mean that if 2 frames arrive at the switch, both destined for the same port, then the switch will buffer one frame while letting the other frame transmit to that port. And this only applies to frames that are forwarded to the same port ?
            – calveeen
            Nov 23 at 13:53






          • 1




            That depends on the switch, see etutorials.org/Networking/lan+switching/…
            – Tarnay Kálmán
            Nov 23 at 14:05










          • @calveen I don't know as much, but to reinforce Tarnay's comment, it does depends on the hardware of the switch.
            – Ricardo S.
            Nov 23 at 14:08


















          • could you elaborate further on the connecting and disconnecting part ? does that mean that if 2 frames arrive at the switch, both destined for the same port, then the switch will buffer one frame while letting the other frame transmit to that port. And this only applies to frames that are forwarded to the same port ?
            – calveeen
            Nov 23 at 13:53






          • 1




            That depends on the switch, see etutorials.org/Networking/lan+switching/…
            – Tarnay Kálmán
            Nov 23 at 14:05










          • @calveen I don't know as much, but to reinforce Tarnay's comment, it does depends on the hardware of the switch.
            – Ricardo S.
            Nov 23 at 14:08
















          could you elaborate further on the connecting and disconnecting part ? does that mean that if 2 frames arrive at the switch, both destined for the same port, then the switch will buffer one frame while letting the other frame transmit to that port. And this only applies to frames that are forwarded to the same port ?
          – calveeen
          Nov 23 at 13:53




          could you elaborate further on the connecting and disconnecting part ? does that mean that if 2 frames arrive at the switch, both destined for the same port, then the switch will buffer one frame while letting the other frame transmit to that port. And this only applies to frames that are forwarded to the same port ?
          – calveeen
          Nov 23 at 13:53




          1




          1




          That depends on the switch, see etutorials.org/Networking/lan+switching/…
          – Tarnay Kálmán
          Nov 23 at 14:05




          That depends on the switch, see etutorials.org/Networking/lan+switching/…
          – Tarnay Kálmán
          Nov 23 at 14:05












          @calveen I don't know as much, but to reinforce Tarnay's comment, it does depends on the hardware of the switch.
          – Ricardo S.
          Nov 23 at 14:08




          @calveen I don't know as much, but to reinforce Tarnay's comment, it does depends on the hardware of the switch.
          – Ricardo S.
          Nov 23 at 14:08


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Super User!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1377801%2fis-collision-possible-in-a-star-topology-switch-link-layer%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Paul Cézanne

          UIScrollView CustomStickyHeader Resize height generates problems when scroll is too fast

          Angular material date-picker (MatDatepicker) auto completes the date on focus out