mustafa86m wrote: » Example 219.141.101.108 /29 I have to count by 8 till i get the network ID for 108 which is 104 Is there a faster way to do that ?
HAMP wrote: » Lol, you guys are hilarious with this memorizing chart. To the OP here is a formula I made for myself. I took part of it from somewhere and continued with my own. The only part that I memorize is: 8.16.24.32 219.141.101.108 /29 Whatever the /## you subtract that from the next block higher than the “ .block “. (If /23, you would subtract from .24) (if /13, you would subtract from .16) In your example, its /29, so we subtract from .32 32 – 29 = 3 2 ^ 3 = 8 Whichever block you used to subtract from, you use that number from the IP address. In our example, you subtracted from the last block, which was 108. Take the IP number and divide it by the answer from ( 2 ^ 3 = 8 ) 108 / 8 = 13.5 BUT, you don’t have to do the complete division, just stop before the .5, and only use the full number before the “.” And multiply it by what you divide it by, which was the “8” 13 * 8 = 104 Sounds long because I was explaining but it is something you can do in your head without paper and pen, and it only take seconds to do. 8.16.24.32 192.168.56.25 /20 (24 - 20=4) (2 ^ 4=16 ) <-- Block size is 16 (56 / 16=3.5 ) <-- we don’t need the .5 (16 * 3=48 ) Our network is 192.168.48.0 /20 Forget memorizing(pun intended), do the math!!!
mustafa86m wrote: » How can I find the network ID for an ip address fast. I use this method be counting the block size , but sometimes it takes time to find the network ID for a specific IP address Example 219.141.101.108 /29 I have to count by 8 till i get the netork ID for 108 which is 104 Is there a faster way to do that ? Thank you
mikeybinec wrote: » my thing is 256 - (the block size). In your case it's a /29 = 248. 256 - 248 = 8.. How many 8s can i fit in 108 without going over?.. as you said the club or gang ID is 104. The suggestions that you memorize the block sizes is spot on. I guarantee you, you will be able to subnet in 15 seconds once you recall block sizes. But here's a curveball for future digestion: Let's say the setup is you have to find the 4th or 5th subnet but the router is set for no subnet zero.. YIKES!~!