Convert Binary Numbers and IP Addresses

Posted on August 10, 2009. Filed under: CCNA, ICND1 break down | Tags: , , , |


The best way to understood how to convert binary numbers is to take a look at an example.

For example convert decibel 172 to binary
step 1, write the binary chart
128 64 32 16 8 4 2 1

Then we keep asking the questions,
Can we subtract 128 from the 172?
If yes, put 1 under 128, if no, put 0. Here we put 1.
The reminder is now 172-128=44.
We keep asking.
Can we subtract 64 rom 44? no, put 0 under 64.
Can we subtract 32 from 44? yes, put 1 under 32.
The reminder is now 44-32=12.
Can we subtract 16 from 12? no, put 0 under 16.
Can we subtract 8 fom 12? yes, put 1 under 8.
The reminder is now 12-8=4.
Can we subtract 4 from 4? yes, put 1 under 4.
The reminder is now 4-4=0.
Can we subtract 2 from 0? no, put 0 under 2.
Can we subtract 1 from 0? no, put 0 under 1.

Finally, we get 10101100

                  128 64 32 16 8 4 2 1
172              1     0  1   0 1 1 0 0        

172-128=44-32=12-8=4-4=0

172=10101100

ICND1 and ICND2 break down

Advertisements

Make a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

3 Responses to “Convert Binary Numbers and IP Addresses”

RSS Feed for IT Certifications Comments RSS Feed

[…] IP Addressing and Binary Conversions * IP Address Classes * Private IP Address Ranges * CIDR network address * Intro to the Routing […]

[…] https://kl2217.wordpress.com/2009/08/10/decimal-binary-binary-decimal/ xxxxx http//xyznetwork.blogspot.com/2009/08/convert-binary-numbers-and-ip-addresses_92.html […]


Where's The Comment Form?

Liked it here?
Why not try sites on the blogroll...

%d bloggers like this: