Do VLANs within a subnet need to have their own subnet for router on a stick?Best 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

Why not use SQL instead of GraphQL?

A newer friend of my brother's gave him a load of baseball cards that are supposedly extremely valuable. Is this a scam?

Writing rule stating superpower from different root cause is bad writing

Can I ask the recruiters in my resume to put the reason why I am rejected?

What are the differences between the usage of 'it' and 'they'?

What do the dots in this tr command do: tr .............A-Z A-ZA-Z <<< "JVPQBOV" (with 13 dots)

Email Account under attack (really) - anything I can do?

tikz: show 0 at the axis origin

Smoothness of finite-dimensional functional calculus

Minkowski space

Why did the Germans forbid the possession of pet pigeons in Rostov-on-Don in 1941?

Problem of parity - Can we draw a closed path made up of 20 line segments...

Have astronauts in space suits ever taken selfies? If so, how?

LaTeX closing $ signs makes cursor jump

Fencing style for blades that can attack from a distance

How did the USSR manage to innovate in an environment characterized by government censorship and high bureaucracy?

In Japanese, what’s the difference between “Tonari ni” (となりに) and “Tsugi” (つぎ)? When would you use one over the other?

Is this a crack on the carbon frame?

Why are electrically insulating heatsinks so rare? Is it just cost?

How can bays and straits be determined in a procedurally generated map?

Modeling an IPv4 Address

What's the point of deactivating Num Lock on login screens?

How to format long polynomial?

Today is the Center



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


Best 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













1















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.
























    1















    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.






















      1












      1








      1








      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 5 hours ago









      Cown

      6,90631031




      6,90631031






      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 8 hours ago









      Jon StinnettJon Stinnett

      61




      61




      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


















          5














          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









              5














              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





























                5














                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



























                  5












                  5








                  5







                  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 3 hours ago

























                  answered 7 hours ago









                  Zac67Zac67

                  32.6k22163




                  32.6k22163





















                      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 5 hours ago









                          Cown

                          6,90631031




                          6,90631031










                          answered 7 hours ago









                          Ron TrunkRon Trunk

                          39.5k33780




                          39.5k33780




















                              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

                              Magento 2 duplicate PHPSESSID cookie when using session_start() in custom php scriptMagento 2: User cant logged in into to account page, no error showing!Magento duplicate on subdomainGrabbing storeview from cookie (after using language selector)How do I run php custom script on magento2Magento 2: Include PHP script in headerSession lock after using Cm_RedisSessionscript php to update stockMagento set cookie popupMagento 2 session id cookie - where to find it?How to import Configurable product from csv with custom attributes using php scriptMagento 2 run custom PHP script

                              Can not update quote_id field of “quote_item” table magento 2Magento 2.1 - We can't remove the item. (Shopping Cart doesnt allow us to remove items before becomes empty)Add value for custom quote item attribute using REST apiREST API endpoint v1/carts/cartId/items always returns error messageCorrect way to save entries to databaseHow to remove all associated quote objects of a customer completelyMagento 2 - Save value from custom input field to quote_itemGet quote_item data using quote id and product id filter in Magento 2How to set additional data to quote_item table from controller in Magento 2?What is the purpose of additional_data column in quote_item table in magento2Set Custom Price to Quote item magento2 from controller

                              How to solve knockout JS error in Magento 2 Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?(Magento2) knockout.js:3012 Uncaught ReferenceError: Unable to process bindingUnable to process binding Knockout.js magento 2Cannot read property `scopeLabel` of undefined on Product Detail PageCan't get Customer Data on frontend in Magento 2Magento2 Order Summary - unable to process bindingKO templates are not loading in Magento 2.1 applicationgetting knockout js error magento 2Product grid not load -— Unable to process binding Knockout.js magento 2Product form not loaded in magento2Uncaught ReferenceError: Unable to process binding “if: function()return (isShowLegend()) ” magento 2