Cascaded switches

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












Say I connected two 24x port Cisco switches together, to make 1 big 48 port layer 2 plane... all on the same network



Say I wanted to get off this to another network, via a router.



If that router is connected to Switch1, with the default gateway etc... programed in through the CLI.



Would Switch2 need to be programed with the default gateway also, or would it not necessarily have to know the default gateway, but traffic would go via the necessary port to Switch1, which would then send it to the default gateway?










share|improve this question

























    up vote
    1
    down vote

    favorite












    Say I connected two 24x port Cisco switches together, to make 1 big 48 port layer 2 plane... all on the same network



    Say I wanted to get off this to another network, via a router.



    If that router is connected to Switch1, with the default gateway etc... programed in through the CLI.



    Would Switch2 need to be programed with the default gateway also, or would it not necessarily have to know the default gateway, but traffic would go via the necessary port to Switch1, which would then send it to the default gateway?










    share|improve this question























      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      Say I connected two 24x port Cisco switches together, to make 1 big 48 port layer 2 plane... all on the same network



      Say I wanted to get off this to another network, via a router.



      If that router is connected to Switch1, with the default gateway etc... programed in through the CLI.



      Would Switch2 need to be programed with the default gateway also, or would it not necessarily have to know the default gateway, but traffic would go via the necessary port to Switch1, which would then send it to the default gateway?










      share|improve this question













      Say I connected two 24x port Cisco switches together, to make 1 big 48 port layer 2 plane... all on the same network



      Say I wanted to get off this to another network, via a router.



      If that router is connected to Switch1, with the default gateway etc... programed in through the CLI.



      Would Switch2 need to be programed with the default gateway also, or would it not necessarily have to know the default gateway, but traffic would go via the necessary port to Switch1, which would then send it to the default gateway?







      cisco switch






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 40 mins ago









      user10021657

      465




      465




















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          3
          down vote













          If you want to manage both switches remotely, then yes, each needs an IP address and the default gateway pointing to the router interface.



          But for simply forwarding traffic, neither one needs a default gateway. that is only used for switch management.






          share|improve this answer



























            up vote
            1
            down vote













            That depends...



            If these are separate, stand-alone switches that are connected, then each must be configured independently.



            Cisco does sell stackable switches that are connected in a way that one switch acts as the supervisor for all the other switches in a stack, and you configure the stack, not the individual switches.






            share|improve this answer




















              Your Answer








              StackExchange.ready(function()
              var channelOptions =
              tags: "".split(" "),
              id: "496"
              ;
              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: false,
              noModals: false,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: null,
              bindNavPrevention: true,
              postfix: "",
              imageUploader:
              brandingHtml: "",
              contentPolicyHtml: "",
              allowUrls: true
              ,
              noCode: true, onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              );



              );













               

              draft saved


              draft discarded


















              StackExchange.ready(
              function ()
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fnetworkengineering.stackexchange.com%2fquestions%2f54376%2fcascaded-switches%23new-answer', 'question_page');

              );

              Post as a guest






























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes








              up vote
              3
              down vote













              If you want to manage both switches remotely, then yes, each needs an IP address and the default gateway pointing to the router interface.



              But for simply forwarding traffic, neither one needs a default gateway. that is only used for switch management.






              share|improve this answer
























                up vote
                3
                down vote













                If you want to manage both switches remotely, then yes, each needs an IP address and the default gateway pointing to the router interface.



                But for simply forwarding traffic, neither one needs a default gateway. that is only used for switch management.






                share|improve this answer






















                  up vote
                  3
                  down vote










                  up vote
                  3
                  down vote









                  If you want to manage both switches remotely, then yes, each needs an IP address and the default gateway pointing to the router interface.



                  But for simply forwarding traffic, neither one needs a default gateway. that is only used for switch management.






                  share|improve this answer












                  If you want to manage both switches remotely, then yes, each needs an IP address and the default gateway pointing to the router interface.



                  But for simply forwarding traffic, neither one needs a default gateway. that is only used for switch management.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered 32 mins ago









                  Ron Trunk

                  32.4k22868




                  32.4k22868




















                      up vote
                      1
                      down vote













                      That depends...



                      If these are separate, stand-alone switches that are connected, then each must be configured independently.



                      Cisco does sell stackable switches that are connected in a way that one switch acts as the supervisor for all the other switches in a stack, and you configure the stack, not the individual switches.






                      share|improve this answer
























                        up vote
                        1
                        down vote













                        That depends...



                        If these are separate, stand-alone switches that are connected, then each must be configured independently.



                        Cisco does sell stackable switches that are connected in a way that one switch acts as the supervisor for all the other switches in a stack, and you configure the stack, not the individual switches.






                        share|improve this answer






















                          up vote
                          1
                          down vote










                          up vote
                          1
                          down vote









                          That depends...



                          If these are separate, stand-alone switches that are connected, then each must be configured independently.



                          Cisco does sell stackable switches that are connected in a way that one switch acts as the supervisor for all the other switches in a stack, and you configure the stack, not the individual switches.






                          share|improve this answer












                          That depends...



                          If these are separate, stand-alone switches that are connected, then each must be configured independently.



                          Cisco does sell stackable switches that are connected in a way that one switch acts as the supervisor for all the other switches in a stack, and you configure the stack, not the individual switches.







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered 37 mins ago









                          Ron Maupin♦

                          58.9k1058106




                          58.9k1058106



























                               

                              draft saved


                              draft discarded















































                               


                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function ()
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fnetworkengineering.stackexchange.com%2fquestions%2f54376%2fcascaded-switches%23new-answer', 'question_page');

                              );

                              Post as a guest













































































                              Comments

                              Popular posts from this blog

                              Long meetings (6-7 hours a day): Being “babysat” by supervisor

                              Is the Concept of Multiple Fantasy Races Scientifically Flawed? [closed]

                              Confectionery