What are the implications of having two subnets on the same switch?Best way to segment traffic, VLAN or...
Can I retract my name from an already published manuscript?
Am I using the wrong word all along?
Finding the number of integers that are a square and a cube at the same time
Do commercial flights continue with an engine out?
It took me a lot of time to make this, pls like. (YouTube Comments #1)
Obtaining a matrix of complex values from associations giving the real and imaginary parts of each element?
Why do members of Congress in committee hearings ask witnesses the same question multiple times?
Word to be used for "standing with your toes pointing out"
Do my Windows system binaries contain sensitive information?
How to properly claim credit for peer review?
How to approximate rolls for potions of healing using only d6's?
Meth dealer reference in Family Guy
What is the wife of a henpecked husband called?
Table enclosed in curly brackets
Can the SpaceX Dragon 2 crew vehicle still use the draco and super draco thrusters to slow down when landing?
How do we edit a novel that's written by several people?
What is better: yes / no radio, or simple checkbox?
Eww, those bytes are gross
LTSpice: When running a linear AC simulation, how to view the voltage ratio between two voltages?
How to acknowledge an embarrassing job interview, now that I work directly with the interviewer?
Dilemma of explaining to interviewer that he is the reason for declining second interview
F1 visa even for a three-week course?
Could be quantum mechanics necessary to analyze some biology scenarios?
What is Crew Dragon approaching in this picture?
What are the implications of having two subnets on the same switch?
Best way to segment traffic, VLAN or subnet?Running two subnets over the same physical LANCan I have a class A and class B on same switch?Network: Many subnets in 1 VLAN =? possibleARP spoofing on switch across subnetsUpgrade network Class vs Virtualized LANHow does IPv4 Subnetting Work?Subneting starting with the biggest subnetsHow do VLANs work?multiple subnets on the same cisco switch portwhy would you create two different subnets on the same physical network?What are the security issues in creating a firewall between two subnets?multiple subnets on the same switch(es), how can I isolate it?ARP spoofing on switch across subnetsHow does a network interface process packets when assigned with two different IP Addresses on different subnets?How can I send the same traffic to two different VLANs on the same subnet?
Can anyone tell me what some of the implications of having two different subnets on the same switch would be if VLANs are not being used?
networking switch subnet
add a comment |
Can anyone tell me what some of the implications of having two different subnets on the same switch would be if VLANs are not being used?
networking switch subnet
In this case, the risk of spoofing isn't an issue I am worried about.
– Kyle Brandt♦
Jun 15 '09 at 14:49
2
This is also useful information for admins migrating a network to a new IP range.
– Terence Johnson
Feb 13 '12 at 2:37
One thing to note, that is hit on a bit in some of the answers below, is that unless you use VLAN or static IP addressing on your clients, they will all pull DHCP from sort of the "default" scope.
– Adam Nofsinger
Jul 20 '17 at 21:45
add a comment |
Can anyone tell me what some of the implications of having two different subnets on the same switch would be if VLANs are not being used?
networking switch subnet
Can anyone tell me what some of the implications of having two different subnets on the same switch would be if VLANs are not being used?
networking switch subnet
networking switch subnet
asked Jun 15 '09 at 14:38
Kyle Brandt♦Kyle Brandt
66k61261411
66k61261411
In this case, the risk of spoofing isn't an issue I am worried about.
– Kyle Brandt♦
Jun 15 '09 at 14:49
2
This is also useful information for admins migrating a network to a new IP range.
– Terence Johnson
Feb 13 '12 at 2:37
One thing to note, that is hit on a bit in some of the answers below, is that unless you use VLAN or static IP addressing on your clients, they will all pull DHCP from sort of the "default" scope.
– Adam Nofsinger
Jul 20 '17 at 21:45
add a comment |
In this case, the risk of spoofing isn't an issue I am worried about.
– Kyle Brandt♦
Jun 15 '09 at 14:49
2
This is also useful information for admins migrating a network to a new IP range.
– Terence Johnson
Feb 13 '12 at 2:37
One thing to note, that is hit on a bit in some of the answers below, is that unless you use VLAN or static IP addressing on your clients, they will all pull DHCP from sort of the "default" scope.
– Adam Nofsinger
Jul 20 '17 at 21:45
In this case, the risk of spoofing isn't an issue I am worried about.
– Kyle Brandt♦
Jun 15 '09 at 14:49
In this case, the risk of spoofing isn't an issue I am worried about.
– Kyle Brandt♦
Jun 15 '09 at 14:49
2
2
This is also useful information for admins migrating a network to a new IP range.
– Terence Johnson
Feb 13 '12 at 2:37
This is also useful information for admins migrating a network to a new IP range.
– Terence Johnson
Feb 13 '12 at 2:37
One thing to note, that is hit on a bit in some of the answers below, is that unless you use VLAN or static IP addressing on your clients, they will all pull DHCP from sort of the "default" scope.
– Adam Nofsinger
Jul 20 '17 at 21:45
One thing to note, that is hit on a bit in some of the answers below, is that unless you use VLAN or static IP addressing on your clients, they will all pull DHCP from sort of the "default" scope.
– Adam Nofsinger
Jul 20 '17 at 21:45
add a comment |
6 Answers
6
active
oldest
votes
Things will work pretty much as you'd expect. At the heart of it, they're just sharing a broadcast domain. The computers in the different subnets won't ARP across-subnet so they will still need a router (or embedded layer-3 entity in the switch) in order to "talk" to each other.
Because they share a broadcast domain there's much less (arguably, none) isolation than if you were using VLANs. It would be easy to ARP and MAC spoof hosts in either subnet from either subnet.
If you're just doing this in a lab scenario it's probably fine. If you truly need isolation, though, in production deployment, you should use VLANs or separate physical switches.
It is a production environment, but spoofing isn't really an issue in this case.
– Kyle Brandt♦
Jun 15 '09 at 14:50
1
You say that until it is. Either upgrade to switches that do VLANs or buy another switch. Really.
– Matt Simmons
Jun 17 '09 at 3:12
Got another Switch :-)
– Kyle Brandt♦
Aug 14 '09 at 21:38
add a comment |
If you don't use VLANs a person could easily just add 2 IPs to their interface say 192.182.0.1/24 and 172.16.0.1/24 so that he or she could access both networks.
By using VLANs you can tag the switchports so that any computer configured to only receive traffic from the VLAN will not be able to get any traffic (except the one directed to it and having the correct VLAN) regardless of how the local interface is configured (how many IPs there are on the interface).
In essence:
- if you trust your users there's no reason at all to use VLANs (from a security point of view).
- if you don't trust your users VLANs will keep certain groups of users seperated from each other
8
VLANs shouldn't be used for security. They're for management purposes only. Cisco has an excellent white paper discussing the security implications of VLANs. See: cisco.com/en/US/products/hw/switches/ps708/…
– Joseph Kern
Jun 15 '09 at 15:17
2
@JosephKern Can you give me a TLDR of why not?
– Kevin Wheeler
Oct 25 '15 at 22:41
3
@KevinWheeler VLAN offers zero authentication mechanisms. Here's a SANS paper with a longer explanation: sans.org/reading-room/whitepapers/networkdevs/…
– Joseph Kern
Nov 3 '15 at 11:54
add a comment |
First, I'm not sure why you would do this for users. The one scenario I can think of is that you are out of IPs in your current user subnet and can't easily extend you current subnet. In this case I think it would be fine to add another subnet. The spoofing thing becomes a non-issue when you are using the IPs this way because both subnets are equal, so you have the same spoofing risk whether using a single subnet or multiple. One question I have here is how DHCP would work. If your DHCP scopes aren't contiguous, and the DHCP server serves IPs based on the "helper" address of the router, wouldn't all the requests go to one scope or the other? I suppose this might become a non-issue if your DHCP server is sitting directly in the broadcast domain, but it's still something to explore.
All that said, I actually do this in production for one of my apps. I have an app that has geographically diverse silos, each silo has its own /27. Those IPs are what I consider to be infrastructure IPs. They belong to those servers. Then I route an additional /29 to the same broadcast domain. This subnet belongs to the application. When I next upgrade hardware, I will build out an entirely new silo with a new /27, then change the route for the application /29 onto it. Since this /29 handles communication with network elements, this allows me to not have to reprogram all the NEs if we get new hardware or new software, and using the same broadcast domain allows me to do it without a dedicated NIC.
The 'why' is that our crappy old pos ERP system that is being moved can't change IPs without reinstalling every single client (and other AD issues). Thank you for the DHCP idea, I will have to explore that issue.
– Kyle Brandt♦
Jun 15 '09 at 15:05
add a comment |
- if you have untrusted users - some of them might spoof ip addresses of those from other subnet. if there are some address rules - they might bypass them. some users from subnet1 might spoof address of router in network b - and eavesdrop into [at least part of ] the communication.
- you'll have more broadcast 'garbage' [ arp packets ] - but that should not be your concern if you have few dozens of users and 100 or 1000 Mbit/s link.
add a comment |
We implemented this in our school because we were running out of ip addresses and gave a new subnet to the wireless section, works fine on a 3000 users network, for a quick solution is a plus, I agree we have to create vlans in order to preserve security.
DHCP server (Windows) must have two nic cards connected to the same switch (our is virtual so it doesn't matter) in order to give out ips to the wireless network, you will have to use static IPs on the "old network", it will not work serving two dhcp scopes over the same switch.
add a comment |
I've just spent a couple of years trying to resolve a problem with both a poe phone system and a computer network on the same managed switch. Yes it should work without a VLAN but every month or so it doesn't and would reset the switch, causing endless issues with connected equipment. (phone system resets, router resets and random switch resets)
This was a nightmare for us as we were looking for a hardware problem as most accept that a switch can handle this. A dumb switch maybe, but a managed switch doesn't. I tried several major manufactures and they would all reset randomly within a month :(
AlWAYS VLAN
ALWAYS!
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "2"
};
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: 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
});
}
});
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%2fserverfault.com%2fquestions%2f25907%2fwhat-are-the-implications-of-having-two-subnets-on-the-same-switch%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
6 Answers
6
active
oldest
votes
6 Answers
6
active
oldest
votes
active
oldest
votes
active
oldest
votes
Things will work pretty much as you'd expect. At the heart of it, they're just sharing a broadcast domain. The computers in the different subnets won't ARP across-subnet so they will still need a router (or embedded layer-3 entity in the switch) in order to "talk" to each other.
Because they share a broadcast domain there's much less (arguably, none) isolation than if you were using VLANs. It would be easy to ARP and MAC spoof hosts in either subnet from either subnet.
If you're just doing this in a lab scenario it's probably fine. If you truly need isolation, though, in production deployment, you should use VLANs or separate physical switches.
It is a production environment, but spoofing isn't really an issue in this case.
– Kyle Brandt♦
Jun 15 '09 at 14:50
1
You say that until it is. Either upgrade to switches that do VLANs or buy another switch. Really.
– Matt Simmons
Jun 17 '09 at 3:12
Got another Switch :-)
– Kyle Brandt♦
Aug 14 '09 at 21:38
add a comment |
Things will work pretty much as you'd expect. At the heart of it, they're just sharing a broadcast domain. The computers in the different subnets won't ARP across-subnet so they will still need a router (or embedded layer-3 entity in the switch) in order to "talk" to each other.
Because they share a broadcast domain there's much less (arguably, none) isolation than if you were using VLANs. It would be easy to ARP and MAC spoof hosts in either subnet from either subnet.
If you're just doing this in a lab scenario it's probably fine. If you truly need isolation, though, in production deployment, you should use VLANs or separate physical switches.
It is a production environment, but spoofing isn't really an issue in this case.
– Kyle Brandt♦
Jun 15 '09 at 14:50
1
You say that until it is. Either upgrade to switches that do VLANs or buy another switch. Really.
– Matt Simmons
Jun 17 '09 at 3:12
Got another Switch :-)
– Kyle Brandt♦
Aug 14 '09 at 21:38
add a comment |
Things will work pretty much as you'd expect. At the heart of it, they're just sharing a broadcast domain. The computers in the different subnets won't ARP across-subnet so they will still need a router (or embedded layer-3 entity in the switch) in order to "talk" to each other.
Because they share a broadcast domain there's much less (arguably, none) isolation than if you were using VLANs. It would be easy to ARP and MAC spoof hosts in either subnet from either subnet.
If you're just doing this in a lab scenario it's probably fine. If you truly need isolation, though, in production deployment, you should use VLANs or separate physical switches.
Things will work pretty much as you'd expect. At the heart of it, they're just sharing a broadcast domain. The computers in the different subnets won't ARP across-subnet so they will still need a router (or embedded layer-3 entity in the switch) in order to "talk" to each other.
Because they share a broadcast domain there's much less (arguably, none) isolation than if you were using VLANs. It would be easy to ARP and MAC spoof hosts in either subnet from either subnet.
If you're just doing this in a lab scenario it's probably fine. If you truly need isolation, though, in production deployment, you should use VLANs or separate physical switches.
answered Jun 15 '09 at 14:43
Evan AndersonEvan Anderson
135k14170312
135k14170312
It is a production environment, but spoofing isn't really an issue in this case.
– Kyle Brandt♦
Jun 15 '09 at 14:50
1
You say that until it is. Either upgrade to switches that do VLANs or buy another switch. Really.
– Matt Simmons
Jun 17 '09 at 3:12
Got another Switch :-)
– Kyle Brandt♦
Aug 14 '09 at 21:38
add a comment |
It is a production environment, but spoofing isn't really an issue in this case.
– Kyle Brandt♦
Jun 15 '09 at 14:50
1
You say that until it is. Either upgrade to switches that do VLANs or buy another switch. Really.
– Matt Simmons
Jun 17 '09 at 3:12
Got another Switch :-)
– Kyle Brandt♦
Aug 14 '09 at 21:38
It is a production environment, but spoofing isn't really an issue in this case.
– Kyle Brandt♦
Jun 15 '09 at 14:50
It is a production environment, but spoofing isn't really an issue in this case.
– Kyle Brandt♦
Jun 15 '09 at 14:50
1
1
You say that until it is. Either upgrade to switches that do VLANs or buy another switch. Really.
– Matt Simmons
Jun 17 '09 at 3:12
You say that until it is. Either upgrade to switches that do VLANs or buy another switch. Really.
– Matt Simmons
Jun 17 '09 at 3:12
Got another Switch :-)
– Kyle Brandt♦
Aug 14 '09 at 21:38
Got another Switch :-)
– Kyle Brandt♦
Aug 14 '09 at 21:38
add a comment |
If you don't use VLANs a person could easily just add 2 IPs to their interface say 192.182.0.1/24 and 172.16.0.1/24 so that he or she could access both networks.
By using VLANs you can tag the switchports so that any computer configured to only receive traffic from the VLAN will not be able to get any traffic (except the one directed to it and having the correct VLAN) regardless of how the local interface is configured (how many IPs there are on the interface).
In essence:
- if you trust your users there's no reason at all to use VLANs (from a security point of view).
- if you don't trust your users VLANs will keep certain groups of users seperated from each other
8
VLANs shouldn't be used for security. They're for management purposes only. Cisco has an excellent white paper discussing the security implications of VLANs. See: cisco.com/en/US/products/hw/switches/ps708/…
– Joseph Kern
Jun 15 '09 at 15:17
2
@JosephKern Can you give me a TLDR of why not?
– Kevin Wheeler
Oct 25 '15 at 22:41
3
@KevinWheeler VLAN offers zero authentication mechanisms. Here's a SANS paper with a longer explanation: sans.org/reading-room/whitepapers/networkdevs/…
– Joseph Kern
Nov 3 '15 at 11:54
add a comment |
If you don't use VLANs a person could easily just add 2 IPs to their interface say 192.182.0.1/24 and 172.16.0.1/24 so that he or she could access both networks.
By using VLANs you can tag the switchports so that any computer configured to only receive traffic from the VLAN will not be able to get any traffic (except the one directed to it and having the correct VLAN) regardless of how the local interface is configured (how many IPs there are on the interface).
In essence:
- if you trust your users there's no reason at all to use VLANs (from a security point of view).
- if you don't trust your users VLANs will keep certain groups of users seperated from each other
8
VLANs shouldn't be used for security. They're for management purposes only. Cisco has an excellent white paper discussing the security implications of VLANs. See: cisco.com/en/US/products/hw/switches/ps708/…
– Joseph Kern
Jun 15 '09 at 15:17
2
@JosephKern Can you give me a TLDR of why not?
– Kevin Wheeler
Oct 25 '15 at 22:41
3
@KevinWheeler VLAN offers zero authentication mechanisms. Here's a SANS paper with a longer explanation: sans.org/reading-room/whitepapers/networkdevs/…
– Joseph Kern
Nov 3 '15 at 11:54
add a comment |
If you don't use VLANs a person could easily just add 2 IPs to their interface say 192.182.0.1/24 and 172.16.0.1/24 so that he or she could access both networks.
By using VLANs you can tag the switchports so that any computer configured to only receive traffic from the VLAN will not be able to get any traffic (except the one directed to it and having the correct VLAN) regardless of how the local interface is configured (how many IPs there are on the interface).
In essence:
- if you trust your users there's no reason at all to use VLANs (from a security point of view).
- if you don't trust your users VLANs will keep certain groups of users seperated from each other
If you don't use VLANs a person could easily just add 2 IPs to their interface say 192.182.0.1/24 and 172.16.0.1/24 so that he or she could access both networks.
By using VLANs you can tag the switchports so that any computer configured to only receive traffic from the VLAN will not be able to get any traffic (except the one directed to it and having the correct VLAN) regardless of how the local interface is configured (how many IPs there are on the interface).
In essence:
- if you trust your users there's no reason at all to use VLANs (from a security point of view).
- if you don't trust your users VLANs will keep certain groups of users seperated from each other
answered Jun 15 '09 at 14:44
serverhorrorserverhorror
5,85821840
5,85821840
8
VLANs shouldn't be used for security. They're for management purposes only. Cisco has an excellent white paper discussing the security implications of VLANs. See: cisco.com/en/US/products/hw/switches/ps708/…
– Joseph Kern
Jun 15 '09 at 15:17
2
@JosephKern Can you give me a TLDR of why not?
– Kevin Wheeler
Oct 25 '15 at 22:41
3
@KevinWheeler VLAN offers zero authentication mechanisms. Here's a SANS paper with a longer explanation: sans.org/reading-room/whitepapers/networkdevs/…
– Joseph Kern
Nov 3 '15 at 11:54
add a comment |
8
VLANs shouldn't be used for security. They're for management purposes only. Cisco has an excellent white paper discussing the security implications of VLANs. See: cisco.com/en/US/products/hw/switches/ps708/…
– Joseph Kern
Jun 15 '09 at 15:17
2
@JosephKern Can you give me a TLDR of why not?
– Kevin Wheeler
Oct 25 '15 at 22:41
3
@KevinWheeler VLAN offers zero authentication mechanisms. Here's a SANS paper with a longer explanation: sans.org/reading-room/whitepapers/networkdevs/…
– Joseph Kern
Nov 3 '15 at 11:54
8
8
VLANs shouldn't be used for security. They're for management purposes only. Cisco has an excellent white paper discussing the security implications of VLANs. See: cisco.com/en/US/products/hw/switches/ps708/…
– Joseph Kern
Jun 15 '09 at 15:17
VLANs shouldn't be used for security. They're for management purposes only. Cisco has an excellent white paper discussing the security implications of VLANs. See: cisco.com/en/US/products/hw/switches/ps708/…
– Joseph Kern
Jun 15 '09 at 15:17
2
2
@JosephKern Can you give me a TLDR of why not?
– Kevin Wheeler
Oct 25 '15 at 22:41
@JosephKern Can you give me a TLDR of why not?
– Kevin Wheeler
Oct 25 '15 at 22:41
3
3
@KevinWheeler VLAN offers zero authentication mechanisms. Here's a SANS paper with a longer explanation: sans.org/reading-room/whitepapers/networkdevs/…
– Joseph Kern
Nov 3 '15 at 11:54
@KevinWheeler VLAN offers zero authentication mechanisms. Here's a SANS paper with a longer explanation: sans.org/reading-room/whitepapers/networkdevs/…
– Joseph Kern
Nov 3 '15 at 11:54
add a comment |
First, I'm not sure why you would do this for users. The one scenario I can think of is that you are out of IPs in your current user subnet and can't easily extend you current subnet. In this case I think it would be fine to add another subnet. The spoofing thing becomes a non-issue when you are using the IPs this way because both subnets are equal, so you have the same spoofing risk whether using a single subnet or multiple. One question I have here is how DHCP would work. If your DHCP scopes aren't contiguous, and the DHCP server serves IPs based on the "helper" address of the router, wouldn't all the requests go to one scope or the other? I suppose this might become a non-issue if your DHCP server is sitting directly in the broadcast domain, but it's still something to explore.
All that said, I actually do this in production for one of my apps. I have an app that has geographically diverse silos, each silo has its own /27. Those IPs are what I consider to be infrastructure IPs. They belong to those servers. Then I route an additional /29 to the same broadcast domain. This subnet belongs to the application. When I next upgrade hardware, I will build out an entirely new silo with a new /27, then change the route for the application /29 onto it. Since this /29 handles communication with network elements, this allows me to not have to reprogram all the NEs if we get new hardware or new software, and using the same broadcast domain allows me to do it without a dedicated NIC.
The 'why' is that our crappy old pos ERP system that is being moved can't change IPs without reinstalling every single client (and other AD issues). Thank you for the DHCP idea, I will have to explore that issue.
– Kyle Brandt♦
Jun 15 '09 at 15:05
add a comment |
First, I'm not sure why you would do this for users. The one scenario I can think of is that you are out of IPs in your current user subnet and can't easily extend you current subnet. In this case I think it would be fine to add another subnet. The spoofing thing becomes a non-issue when you are using the IPs this way because both subnets are equal, so you have the same spoofing risk whether using a single subnet or multiple. One question I have here is how DHCP would work. If your DHCP scopes aren't contiguous, and the DHCP server serves IPs based on the "helper" address of the router, wouldn't all the requests go to one scope or the other? I suppose this might become a non-issue if your DHCP server is sitting directly in the broadcast domain, but it's still something to explore.
All that said, I actually do this in production for one of my apps. I have an app that has geographically diverse silos, each silo has its own /27. Those IPs are what I consider to be infrastructure IPs. They belong to those servers. Then I route an additional /29 to the same broadcast domain. This subnet belongs to the application. When I next upgrade hardware, I will build out an entirely new silo with a new /27, then change the route for the application /29 onto it. Since this /29 handles communication with network elements, this allows me to not have to reprogram all the NEs if we get new hardware or new software, and using the same broadcast domain allows me to do it without a dedicated NIC.
The 'why' is that our crappy old pos ERP system that is being moved can't change IPs without reinstalling every single client (and other AD issues). Thank you for the DHCP idea, I will have to explore that issue.
– Kyle Brandt♦
Jun 15 '09 at 15:05
add a comment |
First, I'm not sure why you would do this for users. The one scenario I can think of is that you are out of IPs in your current user subnet and can't easily extend you current subnet. In this case I think it would be fine to add another subnet. The spoofing thing becomes a non-issue when you are using the IPs this way because both subnets are equal, so you have the same spoofing risk whether using a single subnet or multiple. One question I have here is how DHCP would work. If your DHCP scopes aren't contiguous, and the DHCP server serves IPs based on the "helper" address of the router, wouldn't all the requests go to one scope or the other? I suppose this might become a non-issue if your DHCP server is sitting directly in the broadcast domain, but it's still something to explore.
All that said, I actually do this in production for one of my apps. I have an app that has geographically diverse silos, each silo has its own /27. Those IPs are what I consider to be infrastructure IPs. They belong to those servers. Then I route an additional /29 to the same broadcast domain. This subnet belongs to the application. When I next upgrade hardware, I will build out an entirely new silo with a new /27, then change the route for the application /29 onto it. Since this /29 handles communication with network elements, this allows me to not have to reprogram all the NEs if we get new hardware or new software, and using the same broadcast domain allows me to do it without a dedicated NIC.
First, I'm not sure why you would do this for users. The one scenario I can think of is that you are out of IPs in your current user subnet and can't easily extend you current subnet. In this case I think it would be fine to add another subnet. The spoofing thing becomes a non-issue when you are using the IPs this way because both subnets are equal, so you have the same spoofing risk whether using a single subnet or multiple. One question I have here is how DHCP would work. If your DHCP scopes aren't contiguous, and the DHCP server serves IPs based on the "helper" address of the router, wouldn't all the requests go to one scope or the other? I suppose this might become a non-issue if your DHCP server is sitting directly in the broadcast domain, but it's still something to explore.
All that said, I actually do this in production for one of my apps. I have an app that has geographically diverse silos, each silo has its own /27. Those IPs are what I consider to be infrastructure IPs. They belong to those servers. Then I route an additional /29 to the same broadcast domain. This subnet belongs to the application. When I next upgrade hardware, I will build out an entirely new silo with a new /27, then change the route for the application /29 onto it. Since this /29 handles communication with network elements, this allows me to not have to reprogram all the NEs if we get new hardware or new software, and using the same broadcast domain allows me to do it without a dedicated NIC.
edited Jun 15 '09 at 15:17
answered Jun 15 '09 at 14:57
jj33jj33
10.1k2949
10.1k2949
The 'why' is that our crappy old pos ERP system that is being moved can't change IPs without reinstalling every single client (and other AD issues). Thank you for the DHCP idea, I will have to explore that issue.
– Kyle Brandt♦
Jun 15 '09 at 15:05
add a comment |
The 'why' is that our crappy old pos ERP system that is being moved can't change IPs without reinstalling every single client (and other AD issues). Thank you for the DHCP idea, I will have to explore that issue.
– Kyle Brandt♦
Jun 15 '09 at 15:05
The 'why' is that our crappy old pos ERP system that is being moved can't change IPs without reinstalling every single client (and other AD issues). Thank you for the DHCP idea, I will have to explore that issue.
– Kyle Brandt♦
Jun 15 '09 at 15:05
The 'why' is that our crappy old pos ERP system that is being moved can't change IPs without reinstalling every single client (and other AD issues). Thank you for the DHCP idea, I will have to explore that issue.
– Kyle Brandt♦
Jun 15 '09 at 15:05
add a comment |
- if you have untrusted users - some of them might spoof ip addresses of those from other subnet. if there are some address rules - they might bypass them. some users from subnet1 might spoof address of router in network b - and eavesdrop into [at least part of ] the communication.
- you'll have more broadcast 'garbage' [ arp packets ] - but that should not be your concern if you have few dozens of users and 100 or 1000 Mbit/s link.
add a comment |
- if you have untrusted users - some of them might spoof ip addresses of those from other subnet. if there are some address rules - they might bypass them. some users from subnet1 might spoof address of router in network b - and eavesdrop into [at least part of ] the communication.
- you'll have more broadcast 'garbage' [ arp packets ] - but that should not be your concern if you have few dozens of users and 100 or 1000 Mbit/s link.
add a comment |
- if you have untrusted users - some of them might spoof ip addresses of those from other subnet. if there are some address rules - they might bypass them. some users from subnet1 might spoof address of router in network b - and eavesdrop into [at least part of ] the communication.
- you'll have more broadcast 'garbage' [ arp packets ] - but that should not be your concern if you have few dozens of users and 100 or 1000 Mbit/s link.
- if you have untrusted users - some of them might spoof ip addresses of those from other subnet. if there are some address rules - they might bypass them. some users from subnet1 might spoof address of router in network b - and eavesdrop into [at least part of ] the communication.
- you'll have more broadcast 'garbage' [ arp packets ] - but that should not be your concern if you have few dozens of users and 100 or 1000 Mbit/s link.
edited Jul 23 '12 at 11:33
answered Jun 15 '09 at 14:42
pQdpQd
25.4k35494
25.4k35494
add a comment |
add a comment |
We implemented this in our school because we were running out of ip addresses and gave a new subnet to the wireless section, works fine on a 3000 users network, for a quick solution is a plus, I agree we have to create vlans in order to preserve security.
DHCP server (Windows) must have two nic cards connected to the same switch (our is virtual so it doesn't matter) in order to give out ips to the wireless network, you will have to use static IPs on the "old network", it will not work serving two dhcp scopes over the same switch.
add a comment |
We implemented this in our school because we were running out of ip addresses and gave a new subnet to the wireless section, works fine on a 3000 users network, for a quick solution is a plus, I agree we have to create vlans in order to preserve security.
DHCP server (Windows) must have two nic cards connected to the same switch (our is virtual so it doesn't matter) in order to give out ips to the wireless network, you will have to use static IPs on the "old network", it will not work serving two dhcp scopes over the same switch.
add a comment |
We implemented this in our school because we were running out of ip addresses and gave a new subnet to the wireless section, works fine on a 3000 users network, for a quick solution is a plus, I agree we have to create vlans in order to preserve security.
DHCP server (Windows) must have two nic cards connected to the same switch (our is virtual so it doesn't matter) in order to give out ips to the wireless network, you will have to use static IPs on the "old network", it will not work serving two dhcp scopes over the same switch.
We implemented this in our school because we were running out of ip addresses and gave a new subnet to the wireless section, works fine on a 3000 users network, for a quick solution is a plus, I agree we have to create vlans in order to preserve security.
DHCP server (Windows) must have two nic cards connected to the same switch (our is virtual so it doesn't matter) in order to give out ips to the wireless network, you will have to use static IPs on the "old network", it will not work serving two dhcp scopes over the same switch.
answered Oct 8 '13 at 20:59
JCMorenoJCMoreno
1
1
add a comment |
add a comment |
I've just spent a couple of years trying to resolve a problem with both a poe phone system and a computer network on the same managed switch. Yes it should work without a VLAN but every month or so it doesn't and would reset the switch, causing endless issues with connected equipment. (phone system resets, router resets and random switch resets)
This was a nightmare for us as we were looking for a hardware problem as most accept that a switch can handle this. A dumb switch maybe, but a managed switch doesn't. I tried several major manufactures and they would all reset randomly within a month :(
AlWAYS VLAN
ALWAYS!
add a comment |
I've just spent a couple of years trying to resolve a problem with both a poe phone system and a computer network on the same managed switch. Yes it should work without a VLAN but every month or so it doesn't and would reset the switch, causing endless issues with connected equipment. (phone system resets, router resets and random switch resets)
This was a nightmare for us as we were looking for a hardware problem as most accept that a switch can handle this. A dumb switch maybe, but a managed switch doesn't. I tried several major manufactures and they would all reset randomly within a month :(
AlWAYS VLAN
ALWAYS!
add a comment |
I've just spent a couple of years trying to resolve a problem with both a poe phone system and a computer network on the same managed switch. Yes it should work without a VLAN but every month or so it doesn't and would reset the switch, causing endless issues with connected equipment. (phone system resets, router resets and random switch resets)
This was a nightmare for us as we were looking for a hardware problem as most accept that a switch can handle this. A dumb switch maybe, but a managed switch doesn't. I tried several major manufactures and they would all reset randomly within a month :(
AlWAYS VLAN
ALWAYS!
I've just spent a couple of years trying to resolve a problem with both a poe phone system and a computer network on the same managed switch. Yes it should work without a VLAN but every month or so it doesn't and would reset the switch, causing endless issues with connected equipment. (phone system resets, router resets and random switch resets)
This was a nightmare for us as we were looking for a hardware problem as most accept that a switch can handle this. A dumb switch maybe, but a managed switch doesn't. I tried several major manufactures and they would all reset randomly within a month :(
AlWAYS VLAN
ALWAYS!
answered Nov 22 '14 at 16:11
NedNed
1
1
add a comment |
add a comment |
Thanks for contributing an answer to Server Fault!
- 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%2fserverfault.com%2fquestions%2f25907%2fwhat-are-the-implications-of-having-two-subnets-on-the-same-switch%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
In this case, the risk of spoofing isn't an issue I am worried about.
– Kyle Brandt♦
Jun 15 '09 at 14:49
2
This is also useful information for admins migrating a network to a new IP range.
– Terence Johnson
Feb 13 '12 at 2:37
One thing to note, that is hit on a bit in some of the answers below, is that unless you use VLAN or static IP addressing on your clients, they will all pull DHCP from sort of the "default" scope.
– Adam Nofsinger
Jul 20 '17 at 21:45