Do VLANs within a subnet need to have their own subnet for router on a stick? The 2019 Stack Overflow Developer Survey Results Are InBest Practice(?): 2 publicly available subnet VLANs and inter VLAN routingSplitting up a flat network into VLANsI have two vlans on the same router that can't ping each otherVLans Cisco Packet tracerMultiple VLANs under one subnet (for traffic control)Router requirements for VLANSBest practice for connecting router to switch? (re: VLANs and multiple ports)Help with Native Vlan mismatch errorHow to turn off auto-routing between interfaces in same router ? is there any command for that?Packet-Tracer multiple IPs for a PC

Did Scotland spend $250,000 for the slogan "Welcome to Scotland"?

What tool would a Roman-age civilization have for the breaking of silver and other metals into dust?

What are the motivations for publishing new editions of an existing textbook, beyond new discoveries in a field?

Is a "Democratic" Oligarchy-Style System Possible?

Time travel alters history but people keep saying nothing's changed

Why isn't airport relocation done gradually?

Aging parents with no investments

What is the meaning of Triage in Cybersec world?

Is there a symbol for a right arrow with a square in the middle?

Why isn't the circumferential light around the M87 black hole's event horizon symmetric?

Worn-tile Scrabble

Does a dangling wire really electrocute me if I'm standing in water?

Is an up-to-date browser secure on an out-of-date OS?

Can one be advised by a professor who is very far away?

How technical should a Scrum Master be to effectively remove impediments?

Are there incongruent pythagorean triangles with the same perimeter and same area?

Why is the Constellation's nose gear so long?

Delete all lines which don't have n characters before delimiter

Output the Arecibo Message

Is this app Icon Browser Safe/Legit?

Identify boardgame from Big movie

How to save as into a customized destination on macOS?

Is flight data recorder erased after every flight?

Who coined the term "madman theory"?



Do VLANs within a subnet need to have their own subnet for router on a stick?



The 2019 Stack Overflow Developer Survey Results Are InBest Practice(?): 2 publicly available subnet VLANs and inter VLAN routingSplitting up a flat network into VLANsI have two vlans on the same router that can't ping each otherVLans Cisco Packet tracerMultiple VLANs under one subnet (for traffic control)Router requirements for VLANSBest practice for connecting router to switch? (re: VLANs and multiple ports)Help with Native Vlan mismatch errorHow to turn off auto-routing between interfaces in same router ? is there any command for that?Packet-Tracer multiple IPs for a PC










2















I have been creating a network lab in packet tracer for practice. I have 3 vlans in subnet A and I am trying to configure router on a stick at gig6/0 on the bottom left of the image. Do I need to create a subnet for each VLAN in order for the router on a stick gateway to work?
Practice network










share|improve this question









New contributor




Jon Stinnett is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
























    2















    I have been creating a network lab in packet tracer for practice. I have 3 vlans in subnet A and I am trying to configure router on a stick at gig6/0 on the bottom left of the image. Do I need to create a subnet for each VLAN in order for the router on a stick gateway to work?
    Practice network










    share|improve this question









    New contributor




    Jon Stinnett is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.






















      2












      2








      2








      I have been creating a network lab in packet tracer for practice. I have 3 vlans in subnet A and I am trying to configure router on a stick at gig6/0 on the bottom left of the image. Do I need to create a subnet for each VLAN in order for the router on a stick gateway to work?
      Practice network










      share|improve this question









      New contributor




      Jon Stinnett is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      I have been creating a network lab in packet tracer for practice. I have 3 vlans in subnet A and I am trying to configure router on a stick at gig6/0 on the bottom left of the image. Do I need to create a subnet for each VLAN in order for the router on a stick gateway to work?
      Practice network







      router vlan subnet trunk gateway






      share|improve this question









      New contributor




      Jon Stinnett is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question









      New contributor




      Jon Stinnett is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question








      edited Apr 6 at 19:04









      Cown

      6,97631031




      6,97631031






      New contributor




      Jon Stinnett is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked Apr 6 at 16:00









      Jon StinnettJon Stinnett

      111




      111




      New contributor




      Jon Stinnett is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Jon Stinnett is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Jon Stinnett is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




















          2 Answers
          2






          active

          oldest

          votes


















          6














          I'm not understanding your exact problem because you don't provide enough detail but maybe this helps:



          With rare exceptions, an IP subnet is mapped to a VLAN = broadcast domain = layer-2 network on a 1:1 basis.



          You can run multiple IP subnets inside a single VLAN but they need a router to communicate with each other. Most often this setup doesn't make too much sense.



          You can't run a single IP subnet across multiple VLANs though (without elaborate workarounds). Nodes in the same subnet expect to be able to talk to each other on a common layer-2 network = VLAN = broadcast domain.



          So, your "VLANs within a subnet" can only work when you've split that subnet into sub-subnets properly and set up the router as gateway in between. A router on a stick is a router forwarding between VLAN subinterfaces on a single physical interface. Each subinterface needs to connect to one of the desired VLANs, so the link needs to be a VLAN trunk on both the switch and the router side.






          share|improve this answer
































            4














            Just to amplify on Zac’s answer: you have one subnet per vlan and vice versa. At the CCNA level, you can ignore the rare exceptions. The router on a stick has an (sub)interface in each subnet. Therefore all VLANs must be trunked to the router.






            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',
              autoActivateHeartbeat: false,
              convertImagesToLinks: false,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: null,
              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
              ,
              noCode: true, onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              );



              );






              Jon Stinnett is a new contributor. Be nice, and check out our Code of Conduct.









              draft saved

              draft discarded


















              StackExchange.ready(
              function ()
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fnetworkengineering.stackexchange.com%2fquestions%2f58283%2fdo-vlans-within-a-subnet-need-to-have-their-own-subnet-for-router-on-a-stick%23new-answer', 'question_page');

              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              6














              I'm not understanding your exact problem because you don't provide enough detail but maybe this helps:



              With rare exceptions, an IP subnet is mapped to a VLAN = broadcast domain = layer-2 network on a 1:1 basis.



              You can run multiple IP subnets inside a single VLAN but they need a router to communicate with each other. Most often this setup doesn't make too much sense.



              You can't run a single IP subnet across multiple VLANs though (without elaborate workarounds). Nodes in the same subnet expect to be able to talk to each other on a common layer-2 network = VLAN = broadcast domain.



              So, your "VLANs within a subnet" can only work when you've split that subnet into sub-subnets properly and set up the router as gateway in between. A router on a stick is a router forwarding between VLAN subinterfaces on a single physical interface. Each subinterface needs to connect to one of the desired VLANs, so the link needs to be a VLAN trunk on both the switch and the router side.






              share|improve this answer





























                6














                I'm not understanding your exact problem because you don't provide enough detail but maybe this helps:



                With rare exceptions, an IP subnet is mapped to a VLAN = broadcast domain = layer-2 network on a 1:1 basis.



                You can run multiple IP subnets inside a single VLAN but they need a router to communicate with each other. Most often this setup doesn't make too much sense.



                You can't run a single IP subnet across multiple VLANs though (without elaborate workarounds). Nodes in the same subnet expect to be able to talk to each other on a common layer-2 network = VLAN = broadcast domain.



                So, your "VLANs within a subnet" can only work when you've split that subnet into sub-subnets properly and set up the router as gateway in between. A router on a stick is a router forwarding between VLAN subinterfaces on a single physical interface. Each subinterface needs to connect to one of the desired VLANs, so the link needs to be a VLAN trunk on both the switch and the router side.






                share|improve this answer



























                  6












                  6








                  6







                  I'm not understanding your exact problem because you don't provide enough detail but maybe this helps:



                  With rare exceptions, an IP subnet is mapped to a VLAN = broadcast domain = layer-2 network on a 1:1 basis.



                  You can run multiple IP subnets inside a single VLAN but they need a router to communicate with each other. Most often this setup doesn't make too much sense.



                  You can't run a single IP subnet across multiple VLANs though (without elaborate workarounds). Nodes in the same subnet expect to be able to talk to each other on a common layer-2 network = VLAN = broadcast domain.



                  So, your "VLANs within a subnet" can only work when you've split that subnet into sub-subnets properly and set up the router as gateway in between. A router on a stick is a router forwarding between VLAN subinterfaces on a single physical interface. Each subinterface needs to connect to one of the desired VLANs, so the link needs to be a VLAN trunk on both the switch and the router side.






                  share|improve this answer















                  I'm not understanding your exact problem because you don't provide enough detail but maybe this helps:



                  With rare exceptions, an IP subnet is mapped to a VLAN = broadcast domain = layer-2 network on a 1:1 basis.



                  You can run multiple IP subnets inside a single VLAN but they need a router to communicate with each other. Most often this setup doesn't make too much sense.



                  You can't run a single IP subnet across multiple VLANs though (without elaborate workarounds). Nodes in the same subnet expect to be able to talk to each other on a common layer-2 network = VLAN = broadcast domain.



                  So, your "VLANs within a subnet" can only work when you've split that subnet into sub-subnets properly and set up the router as gateway in between. A router on a stick is a router forwarding between VLAN subinterfaces on a single physical interface. Each subinterface needs to connect to one of the desired VLANs, so the link needs to be a VLAN trunk on both the switch and the router side.







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Apr 6 at 21:04

























                  answered Apr 6 at 16:41









                  Zac67Zac67

                  32.7k22164




                  32.7k22164





















                      4














                      Just to amplify on Zac’s answer: you have one subnet per vlan and vice versa. At the CCNA level, you can ignore the rare exceptions. The router on a stick has an (sub)interface in each subnet. Therefore all VLANs must be trunked to the router.






                      share|improve this answer





























                        4














                        Just to amplify on Zac’s answer: you have one subnet per vlan and vice versa. At the CCNA level, you can ignore the rare exceptions. The router on a stick has an (sub)interface in each subnet. Therefore all VLANs must be trunked to the router.






                        share|improve this answer



























                          4












                          4








                          4







                          Just to amplify on Zac’s answer: you have one subnet per vlan and vice versa. At the CCNA level, you can ignore the rare exceptions. The router on a stick has an (sub)interface in each subnet. Therefore all VLANs must be trunked to the router.






                          share|improve this answer















                          Just to amplify on Zac’s answer: you have one subnet per vlan and vice versa. At the CCNA level, you can ignore the rare exceptions. The router on a stick has an (sub)interface in each subnet. Therefore all VLANs must be trunked to the router.







                          share|improve this answer














                          share|improve this answer



                          share|improve this answer








                          edited Apr 6 at 19:03









                          Cown

                          6,97631031




                          6,97631031










                          answered Apr 6 at 16:48









                          Ron TrunkRon Trunk

                          39.6k33781




                          39.6k33781




















                              Jon Stinnett is a new contributor. Be nice, and check out our Code of Conduct.









                              draft saved

                              draft discarded


















                              Jon Stinnett is a new contributor. Be nice, and check out our Code of Conduct.












                              Jon Stinnett is a new contributor. Be nice, and check out our Code of Conduct.











                              Jon Stinnett is a new contributor. Be nice, and check out our Code of Conduct.














                              Thanks for contributing an answer to Network Engineering Stack Exchange!


                              • 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%2fnetworkengineering.stackexchange.com%2fquestions%2f58283%2fdo-vlans-within-a-subnet-need-to-have-their-own-subnet-for-router-on-a-stick%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

                              Wikipedia:Vital articles Мазмуну Biography - Өмүр баян Philosophy and psychology - Философия жана психология Religion - Дин Social sciences - Коомдук илимдер Language and literature - Тил жана адабият Science - Илим Technology - Технология Arts and recreation - Искусство жана эс алуу History and geography - Тарых жана география Навигация менюсу

                              Bruxelas-Capital Índice Historia | Composición | Situación lingüística | Clima | Cidades irmandadas | Notas | Véxase tamén | Menú de navegacióneO uso das linguas en Bruxelas e a situación do neerlandés"Rexión de Bruxelas Capital"o orixinalSitio da rexiónPáxina de Bruselas no sitio da Oficina de Promoción Turística de Valonia e BruxelasMapa Interactivo da Rexión de Bruxelas-CapitaleeWorldCat332144929079854441105155190212ID28008674080552-90000 0001 0666 3698n94104302ID540940339365017018237

                              What should I write in an apology letter, since I have decided not to join a company after accepting an offer letterShould I keep looking after accepting a job offer?What should I do when I've been verbally told I would get an offer letter, but still haven't gotten one after 4 weeks?Do I accept an offer from a company that I am not likely to join?New job hasn't confirmed starting date and I want to give current employer as much notice as possibleHow should I address my manager in my resignation letter?HR delayed background verification, now jobless as resignedNo email communication after accepting a formal written offer. How should I phrase the call?What should I do if after receiving a verbal offer letter I am informed that my written job offer is put on hold due to some internal issues?Should I inform the current employer that I am about to resign within 1-2 weeks since I have signed the offer letter and waiting for visa?What company will do, if I send their offer letter to another company