I have overlapping also, but, my config is different. Vlan 1 is and Vlan 2 is

Since the third octet is different, how is overlapping possible?

  • Did any answer help you? If so, you should accept the answer so that the question doesn't keep popping up forever, looking for an answer. Alternatively, you could provide and accept your own answer.
    – Ron Maupin
    Apr 1, 2018 at 21:18

2 Answers 2


Your subnet mask is (also written as /16). That means the first 16 bits of the IP address define the network, and the last 16 bits are the host address. With that mask, there are 65534 possible hosts.

In your case, the first 16 bits are the same. That means both IPs are in the same subnet. That's why your switch is complaining.

Remember that there is nothing special about octets. IP addresses are just 32-bit binary numbers. We write them using dotted decimal just to make it easier to read.


Octets have nothing to do with it. The dotted-decimal notation is simply to make it easier for humans to read IPv4 addresses, which are really 32-bit numbers. A mask tells you which part of the address is the network, and which part is the host. The excellent answer to this question will explain how to subnet.

For your particular case: is 11000000101010000000000000100100 is 11000000101010000000101100001110

The mask is a 16- bit mask 11111111111111110000000000000000

If you mask both those addresses, you get the same network:

================================   AND

================================   AND

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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