/18 is the cidr notation which means an 18 bit subnet mask...a subnet mask is a 32 bit binary number, broken down into 4 'octets'...as the number is 'binary' it can only consist of 0's and 1's. an octet could be 11001011...which if you then conver to decimal it becomes 203...i did this by using the standard conversion table of 128/64/32/16/8/4/2/1...so against that octet we have (add up all the '1' positions) 128+64+8+2+1=203. so, since we know that a subnet mask consists of 4 octets, and we know that the cidr notation that your working with is /18, we know that 8 + 8 = 16...which means in the 3rd octet you are using 2 bits...since the 3rd octet (just like the rest) consists of 128/64/32/16/8/4/2/1 we know that the second bit is 64...which is why /18 means the networks go up in 64's...oh, and since the first two octets are all 1's this is why they are 255, and in the 3rd octet we add 128+64=192...which is where 255.255.192.0 comes from...
Last edited: