On 6/6/2008 12:15 PM, Todd Walton wrote:
Okay, just kidding.  I don't get it.  Now I'm looking at a subnet ID
of 167.190.1.0 with a mask of 255.255.248.0.

ID and Mask are:
10100111 10111110 00000001 00000000
11111111 11111111 11111000 00000000

This puts a network identifier bit in what the mask says should be a
host bit.  That doesn't make sense.  Maybe my information is wrong?
Or maybe there's some convention I'm not aware of, like, you just
assume that the third octet in the net identifier is 00001000?  No,
that doesn't make sense either.

You're right. The network ID is in the range of host IPs. If that's what was intended, all is fine. I've sometimes seen people refer to a network as a representative host IP along with a subnet mask. Or maybe someone made a mistake and it's really a /24.


$ ipcalc 167.190.1.0 255.255.248.0
Address:   167.190.1.0          10100111.10111110.00000 001.00000000
Netmask:   255.255.248.0 = 21   11111111.11111111.11111 000.00000000
Wildcard:  0.0.7.255            00000000.00000000.00000 111.11111111
=>
Network:   167.190.0.0/21       10100111.10111110.00000 000.00000000
HostMin:   167.190.0.1          10100111.10111110.00000 000.00000001
HostMax:   167.190.7.254        10100111.10111110.00000 111.11111110
Broadcast: 167.190.7.255        10100111.10111110.00000 111.11111111
Hosts/Net: 2046                  Class B


Karl


--
KPLUG-List@kernel-panic.org
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to