Posts Subscribe to (PUT YOUR BLOG NAME HERE)Comments

Tuesday, November 24, 2009

How to Compute an IP Subnet Mask

IP address is a code that has host and network parts. The host bits describe a particular PC. The network prefix shows a network; its measurement lengthwise depends on the class of network. Sub-netting helps to arrange a network by splitting it to several subnets. To describe such subnets, you should take bits from the portion of host of the IP address. That also expands the network prefix. The subnet mask openly describes network and host bits as 1/0, respectively.

In this instance, we will compute a subnet mask for a PC with IP address “193.35.127.93 that goes to network with 6 subnets.

1. Step 1

Verify the network class A/B/C based on IP addresses:

* If the IP addresses start with 1 - 126, it is Class A.
* If the IP addresses start with 128 - 191, it is Class B.
* If the IP addresses start with 192 - 223, it is Class C.



In our illustration, the network is class C because the IP address 193.35.127.93 begin with 192.

1. Step 2

Know the number of bits required to define subnets:

* Number of subnets = (2^ # of bits) - 2. Therefore,
* Number of bits = Log2(# of subnets + 2).

In our illustration, there are 6 subnets:

* Number of bits = Log2(6 + 2) = Log2(8) = 3. 3 bits in the IP address are utilized as a subnet portion.

1. Step 3

Create the subnet mask in a binary form by expanding the original subnet mask w/ subnet bits. Original subnet mask for class A - C are:

* 11111111.00000000.00000000.00000000 (Class A, network part = 8 bits)
* 11111111.11111111.00000000.00000000 (Class B, network part = 16 bits)
* 11111111.11111111.11111111.00000000 (Class C, network part = 24 bits)

In our illustration, an addition of the default “class C” subnet mask with three bits (Step 2) outcomes in the subnet mask
11111111.11111111.11111111.11100000.

1. Step 4

Change the subnet mask binary to the decimal form. The binary form has 4 octets. Utilize the following rules:

* Write 255 for "1111111" octet.
* Write 0 for "00000000" octet.
* If octet has 1 and 0 utilize the formula:

Integer # is equals to (128 x n) + (64 x n) + (32 x n) + (16 x n) + (8 x n) + (4 x n) + (2 x n) + (1 x n)
Where N is “1” or “0” in the corresponding place in the sequence of octet.

In our illustration, for 11111111.11111111.11111111.11100000
11111111 = 255
11111111 = 255
11111111 = 255
11100000 = (128 x 1) + (64 x 1) + (32 x 1) + (16 x 0) + (8 x 0) + (4 x 0) + (2 x 0) + (1 x 0) = 224

The Subnet mask is “255.255.255.224”.[www.articlesbase.com]

Categories



Widget by Scrapur

51 comments:

muchlisin said...

Thank's for your posting. Keep posting

Lina Gustina said...

It's a new knowledge for me, thanks!
Happy Tuesday...

Anak kost said...

Nice info....
Technology Update

aLamathuR said...

Thx dah berbagi info boss... Usefull...

Sismadi said...

very nice blog and excellent posting for networking...
leave ur comment when u visit to my blog.

Interest programming C++, PHP or Java(later)? just visit All About Programming, read and leave comment...
Wannabe learn about blog, blogger visit me in Let Go Blogging

waroengdollar said...

input about technology here
Kerja Keras Adalah Energi Kita

John said...

thanks for visiting

heru said...

hi friend thanks for ur visit today, nice blog

Dhemz said...

glad to be here..thanks for the visit....:)

suryadewa said...

nice info gan http://suryadewa.kiluweb.com

kumagcow said...

I just celebrated my birthday! Please come by my site and say a few words! Thanks! http://www.kumagcow.com

methodtrading said...

are you students cisco academy?

setiya said...

waoo ngitung biner nya itu yang ruwet, tapi dah ada yang bih enak tuh Ip calculator .. :)

suryadewa said...

walking here friend

Lina Gustina said...

It's a new knowledge for me; thanks!

接觸 said...

要保持更新呦,加油!!!期待你的新文章!!!..................................................

日本 said...

目標是什麼不重要,目標能產生什麼樣的效果才重要..............................

開會討論 said...

thank u........................................

touch said...

成功招引朋友,挫敗可考驗朋友 ..................................................

曉豪 said...

免費視訊聊天室美女貼圖518人力銀行性感美女視訊交友loveliness正妹做愛正妹強正妹報時成人 影片明星色情文學明星色情寫真明星色情貼圖真真明星色情照片明倫高中正妹明道中學口交日本漫畫卡通排行榜日本漫畫卡通 h 線上觀看日本漫畫色情日本人妖影片 bt視訊 辣妹視訊甜心寶貝av貼片區視訊交友av1688視訊情人後宮電影主入口a圖打飛機專用網情色cu成人bt入口77p2p影片網性愛貼圖sogo論壇xvideos日本線上免費a片免費a片卡通一夜成人聊天室免費影片線上直播ut同志聊天室台灣kiss色網高雄視訊淫美論壇免費18影片85st免費影片觀看成人交友qk176

1hose韻如ak09r_cruickshan said...

Nice Post~!!!. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

509DevonG_Carreras0 said...

很高興見到你哦!!. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

思穎思穎 said...

Well done!........................................

elv0620isr_cadena said...

Well done!........................................

EdwardG_Burrell1016 said...

沒有友情,人生何樂?.............................................

奎峰 said...

免費日本成人 聊天視訊網 聊天室 免費線上影片觀賞 熟女交友網 台灣a片女優 性感制服美女 免費卡通影片線上看 自拍偷拍貼圖區 ut彰化人聊天室 可愛 情趣用品店 s18x美女 美少女 383 影城 收看免費a片 情色影片試看 台灣色情影片 屏東一夜情聊天室 live視訊 完美女人 電玩美少女瑤瑤走光 美女寫真網 a片辣妹貼 溫泉人妻凌辱 歐美熟女色情影片 護士 巨乳空姐bbs 9012103免費a圖庫 性感美女寫真集 85cc免費影片觀看8 微風色論壇 嘟嘟^成人網 www.xo77777.com/ 色性貼圖 援交桃園 免費成人影片 鋼管辣妹 免費看av做愛 洪爺 台灣大奶正妹 mmsex.info 下載成人電影 巨乳人妻卡通 同性戀性愛情小說 後宮a片區 限制級圖文 0204成人自拍貼圖 性愛片下載 本土走光照片

熙辰 said...

加油!充實內函最重要!Beauty is but skin- deep...................................................

batesda said...

Time and tide wait for no man. ............................................................

reeselane said...

說「吃虧就是便宜的人」,多半不是吃虧的人。 ............................................................

明文吳 said...

回應是最大的支持^^y~~~甘吧嗲 .................................................................

怡伶 said...

新手上路哦~請大家多支持^_^......................................................................

邦雄 said...

生存乃是不斷地在內心與靈魂交戰;寫作是坐著審判自己。......................................................................

佩春 said...

良言一句三冬暖,惡語傷人六月寒。.................................................................

青卉青卉 said...

人不能像動物一樣活著,而應該追求知識和美德............................................................

向霖向霖 said...

人有兩眼一舌,是為了觀察倍於說話的緣故。............................................................

童雅 said...

困難的不在於新概念,而在於逃避舊有的概念。............................................................

云依恩HFH謝鄭JTR安 said...

單純喜歡你的部落格 留個言跟您問聲好~~............................................................

瑤德 said...

光這幾句話就價值連城了,讀著讀著小弟的眼眶就濕了...............................................................

陳湖 said...

雖然不能常常來看~但還是跟你說聲加油~!!..................................................................

琬安琬安 said...

愛情是一位偉大的導師,教我們重新作人.................................................................

蔡舜娟蔡舜娟 said...

謝謝你的分享,真的太用心了≧﹏≦............................................................

曾法幸 said...

真是太猛了,請受小弟一拜Orz(>O<)............................................................

黃錢靜怡慧婷 said...

我是天山,等待一輪明月。............................................................

馬志榮惠玲成 said...

相見亦無事,不來常思君..................................................................

群育航學 said...

Necessity is the mother of invention..................................................................

凱許倫 said...

人類的聰明,並非以經驗為依歸,而是以接受經驗的行程為依歸。..................................................

文王廷 said...

Each to his own. 人各有志,加油!............................................................

por said...

好久沒有這樣輕鬆享受閱讀的樂趣了~~留個言邀您分享我的快樂~~..................................................................

璇陳陳陳竹 said...

看了你的日誌 覺得今天好充實 晚安瞜.................................[/url]...............

陳欣陳玟珮陳玟珮琦 said...

世間事沒有一樣沒有困難,只要有信心去做,至少可以做出一些成績。..................................................

孫邦柔 said...

我來湊熱鬧的~~^^ 要平安快樂哦............................................................

Post a Comment

 

Recent Post





Recent comments

Dark Side Blogger Template Copyright 2009 - Things about Computer Networking is proudly powered by Blogger.com Edited By Belajar SEO