Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to have both a class A and a class B network on the same switch?

share|improve this question
up vote 7 down vote accepted

Classful networking has been replaced by CIDR (Classless Inter-Domain Routing). So a more generic form of your question is "Is it okay to have two subnets on the same switch?". The answer to this is in this question (But the summary is that it is okay).

I recommend you spend some time reading Evan's answer to this question, as it is a great overview of subnetting.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.