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, historically, did Gödel think CH was false?
Is it tax fraud for an individual to declare non-taxable revenue as taxable income? (US tax laws)
Show that if two triangles built on parallel lines, with equal bases have the same perimeter only if they are congruent.
Writing rule stating superpower from different root cause is bad writing
Why "Having chlorophyll without photosynthesis is actually very dangerous" and "like living with a bomb"?
How do we improve the relationship with a client software team that performs poorly and is becoming less collaborative?
Approximately how much travel time was saved by the opening of the Suez Canal in 1869?
Python: next in for loop
can i play a electric guitar through a bass amp?
How to find program name(s) of an installed package?
How is it possible to have an ability score that is less than 3?
What are the differences between the usage of 'it' and 'they'?
Is a tag line useful on a cover?
How does strength of boric acid solution increase in presence of salicylic acid?
What are these boxed doors outside store fronts in New York?
TGV timetables / schedules?
What's the output of a record cartridge playing an out-of-speed record
What defenses are there against being summoned by the Gate spell?
Why doesn't Newton's third law mean a person bounces back to where they started when they hit the ground?
How can bays and straits be determined in a procedurally generated map?
What does "Puller Prush Person" mean?
Arthur Somervell: 1000 Exercises - Meaning of this notation
Accidentally leaked the solution to an assignment, what to do now? (I'm the prof)
Have astronauts in space suits ever taken selfies? If so, how?
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
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?
router vlan subnet trunk gateway
New contributor
add a comment |
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?
router vlan subnet trunk gateway
New contributor
add a comment |
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?
router vlan subnet trunk gateway
New contributor
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?
router vlan subnet trunk gateway
router vlan subnet trunk gateway
New contributor
New contributor
edited 7 hours ago
Cown
6,90631031
6,90631031
New contributor
asked 10 hours ago
Jon StinnettJon Stinnett
61
61
New contributor
New contributor
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
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.
add a comment |
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.
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
add a comment |
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.
add a comment |
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.
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.
edited 5 hours ago
answered 9 hours ago
Zac67Zac67
32.6k22163
32.6k22163
add a comment |
add a comment |
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.
add a comment |
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.
add a comment |
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.
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.
edited 7 hours ago
Cown
6,90631031
6,90631031
answered 9 hours ago
Ron TrunkRon Trunk
39.5k33780
39.5k33780
add a comment |
add a comment |
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.
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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