Hello all, I'm looking over some subnet math and my brain is telling me there is a problem, but the force is telling me otherwise.
My main question is: Can you have these two networks living together and not overlap each other? Part of me says yes because the masks are different, but the other part says no because the IP's would be identical and create a conflict on the network. Am I over thinking this?
non-dhcp range: 10.30.23.128/25 dhcp range: 10.30.23.128/26 Why someone is doing it this way is beyond me; I'm just trying to figure out the logic. Here is the math that got me to the point I'm at. Am I on track with the thinking and the math?
range non-dhcp: 10.30.23.128/25
23.128 in binary 128 64 32 16 8 4 2 1 || 128 64 32 16 8 4 2 1 0 0 0 1 0 1 1 1 1 0 0 0 0 0 0 0Subnet mask /25 in binary.
128 64 32 16 8 4 2 1 || 128 64 32 16 8 4 2 1 || 128 64 32 16 8 4 2 1 || 128 64 32 16 8 4 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 255 255 255 128Multiply last two octets of the ip address and mask together.
128 64 32 16 8 4 2 1 || 128 64 32 16 8 4 2 1 0 0 0 1 0 1 1 1 1 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 || 0 0 0 0 0 0 0 || is visual guide for the network separation 0 0 0 1 0 1 1 1 1 || 0 0 0 0 0 0 0 = Network ID . 23.128 0 0 0 1 0 1 1 1 1 || 0 0 0 0 0 0 1 = First Usable IP . 22.129 0 0 0 1 0 1 1 1 1 || 1 1 1 1 1 1 0 = Last usable IP . 23.254 0 0 0 1 0 1 1 1 1 || 1 1 1 1 1 1 1 = Broadcast . 23.255 Valid range is: 10.30.23.129 - 10.30.23.254-------------------------------------------------------------------------------- DHCP range: 10.30.23.128/26
23.128 in binary 128 64 32 16 8 4 2 1 || 128 64 32 16 8 4 2 1 0 0 0 1 0 1 1 1 1 0 0 0 0 0 0 0Subnet mask /26 in binary.
128 64 32 16 8 4 2 1 || 128 64 32 16 8 4 2 1 || 128 64 32 16 8 4 2 1 || 128 64 32 16 8 4 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 255 255 255 192Multiply last two octets of the ip address and mask together.
128 64 32 16 8 4 2 1 || 128 64 32 16 8 4 2 1 0 0 0 1 0 1 1 1 1 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 || 0 0 0 0 0 0 || is visual guide for the network separation 0 0 0 1 0 1 1 1 1 0 || 0 0 0 0 0 0 = Network ID . 23.128 0 0 0 1 0 1 1 1 1 0 || 0 0 0 0 0 1 = First Usable IP .22.129 0 0 0 1 0 1 1 1 1 0 || 1 1 1 1 1 0 = Last usable IP . 23.191 0 0 0 1 0 1 1 1 1 0 || 1 1 1 1 1 1 = Broadcast . 23.192 Valid range is: 10.30.23.129 - 10.30.23.191