Basic Netmask address notation for IP address

A quick note on the quick notation for IP addresses and its associated netmask, for example 192.168.0.22/24 indicated a netmask of 255.255.255.0.

Some common short notation is :-

Show Plain Text
Text code
  1. /8 = 255.0.0.0
  2.  
  3. /16 = 255.255.0.0
  4.  
  5. /24 = 255.255.255.0
  6.  
  7. /32 = 255.255.255.255
Filed under: Notes  Tags: Network

0 Responses to “Basic Netmask address notation for IP address ”

Sorry, comments have been closed for this post.
(default) 6 queries took 2 ms
NrQueryErrorAffectedNum. rowsTook (ms)
1SELECT `Post`.`id`, `Post`.`url`, `Post`.`title`, `Post`.`icon`, `Post`.`metadesc`, `Post`.`metakeys`, `Post`.`categories`, `Post`.`tease`, `Post`.`body`, `Post`.`private_body`, `Post`.`created`, `Post`.`modified`, `Post`.`status`, `Post`.`allow_comments`, `Post`.`tags`, `Post`.`hitcount`, `Post`.`hitcount_rss` FROM `posts` AS `Post` WHERE `Post`.`url` = 'basic-netmask-address-notation-for-ip-address' LIMIT 1111
2SELECT `Comment`.`id`, `Comment`.`post_id`, `Comment`.`body`, `Comment`.`author`, `Comment`.`url`, `Comment`.`email`, `Comment`.`ip`, `Comment`.`status`, `Comment`.`junk_score`, `Comment`.`created`, `Comment`.`modified` FROM `comments` AS `Comment` WHERE `Comment`.`status` = 2 AND `Comment`.`post_id` = (102) 000
3SELECT `Tag`.`id`, `Tag`.`tag`, `PostsTag`.`post_id`, `PostsTag`.`tag_id` FROM `tags` AS `Tag` JOIN `posts_tags` AS `PostsTag` ON (`PostsTag`.`post_id` = 102 AND `PostsTag`.`tag_id` = `Tag`.`id`) 110
4SELECT `Category`.`id`, `Category`.`category`, `CategoriesPost`.`post_id`, `CategoriesPost`.`category_id` FROM `categories` AS `Category` JOIN `categories_posts` AS `CategoriesPost` ON (`CategoriesPost`.`post_id` = 102 AND `CategoriesPost`.`category_id` = `Category`.`id`) 110
5UPDATE `posts` AS `Post` SET `Post`.`hitcount_rss` = Post.hitcount_rss + 1 WHERE `Post`.`id` = 10211
6UPDATE `posts` AS `Post` SET `Post`.`hitcount` = Post.hitcount + 1 WHERE `Post`.`id` = 10210