Sinisterly
IP address basics - Printable Version

+- Sinisterly (https://sinister.ly)
+-- Forum: Computers (https://sinister.ly/Forum-Computers)
+--- Forum: Networking (https://sinister.ly/Forum-Networking)
+--- Thread: IP address basics (/Thread-IP-address-basics)

Pages: 1 2


RE: IP address basics - roger_smith - 01-07-2017

(01-07-2017, 09:24 AM)God Wrote:
(01-07-2017, 09:20 AM)roger_smith Wrote:
(01-07-2017, 09:10 AM)God Wrote: One isn't required to understand the other. In fact, it would probably be better if off to do away with classifying anything with a class. Firstly, most people in the industry will laugh. Secondly, working backwards from a CIDR won't always correlate with the correct class (A, B, C) and just serves to confuse people.  You're saying it still exists, but that's just an unneeded correlation between an explicitly stated subnet mask to a particular class, and in no way gives any kind of importance to the classes in the current architecture.

Well I guess all I can say is that you may be more well versed in networking than I am. I intended this to be a post about some basic IP stuff, and it's still that, and still accurate.

This page seems to more or less reaffirm what I've said and how I understand it as of this point in time.

https://ciscoskills.net/2011/06/01/classful-vs-classless-routing/


I guess I don't understand why they would dedicate an entire chapter to understanding the information I outlined in the original post if it wasn't somehow relevant or important foundational information. Perhaps the author was paid by the word and needed a little more money for a down payment on something Wink :p

No worries. I thought just a disclaimer would be nice in the OP for newcomers. I still think it's important to know things from a historical perspective regardless if we can agree if it helps currently  Evil

And Cisco has always been known to test (probably a little to much) on classful addressing and they like to overplay it's importance. I don't know much about Cisco, but they could have tons of old equipment and expect you to be working with older protocols. Or they wanted to add more questions to their exam. Who knows.

There is still a LOT of older equipment out there running the internet. That may well be part of it.


RE: IP address basics - Blink - 01-08-2017

Good read, thanks!

I've been thinking about learning networking, I guess this would be a start...


RE: IP address basics - roger_smith - 01-08-2017

(01-08-2017, 05:15 AM)Ender Wrote: Good read, thanks!

I've been thinking about learning networking, I guess this would be a start...

Glad to hear you liked it. Networking is definitely interesting stuff, I'd encourage anyone to learn even just the basics Smile


RE: IP address basics - davedazer - 08-29-2017

Thanks, a nice read actually


RE: IP address basics - Cjone1700 - 03-06-2018

Good tutorial bro but u should have mentioned that IPv4 uses 32 Bit addressing in your opening and that the 32 Comes from the 4 octets which each have 8 bits. 4 x 8 = 32 or 16 + 16 = 32Cant jump to converting decimal to binary if you they dont understand why u have 32 bits out of 4 bytes.

1101 1111 . 1100 1111 . 1010 1111 . 1111 1111.


RE: IP address basics - roger_smith - 06-02-2018

(03-06-2018, 07:48 AM)Cjone1700 Wrote: Good tutorial bro but u should have mentioned that IPv4 uses 32 Bit addressing in your opening and that the 32 Comes from the 4 octets which each have 8 bits. 4 x 8 = 32 or 16 + 16 = 32Cant jump to converting decimal to binary if you they dont understand why u have 32 bits out of 4 bytes.

1101 1111 . 1100 1111 . 1010 1111 . 1111 1111.

You're welcome to build upon what I created. You should do that since you seem to know lots of sooper kool things. I look forward to your tutorial expanding on the base I laid here.


RE: IP address basics - mothered - 06-03-2018

Nice to see you're back roger.

Hope you can contribute further tutorials In the not too distant future.


RE: IP address basics - r0biba - 06-24-2018

I remember learning this a long time ago... basics stuff but good tutorial


RE: IP address basics - gigapower - 07-08-2018

(01-07-2017, 06:50 AM)roger_smith Wrote: I had a good time learning this today during my CCNA self-study, and I thought I"d share it.

So everyone understands what an IP address is, I assume. In case you don't, an IP address (IPv4 specifically) is a set of 4 numbers divided by a decimal, and usually looks like

192.168.10.1

Familiar, right?

An IP address is a logical address used to identify a computer on a network. This is different from a physical address in that the physical address of a computer (aka MAC address) is burned into the ROM of the network adapter.

Anyway, IP addresses identify 2 things in them, the network address and the host address. Using the example above we have the network 192.168.10 and the host address is 1.

IP addresses have 3 main classes they use, A, B, and C. The class of the IP address dictates which part of the address is the network ID and which part identifies the host. Let's look at another example.

10.10.142.183

In this case, the 10.x.x.x IP is a Class A IP address. The first octet identifies the network, and the remaining 3 octets specify the individual hosts on the network.

172.16.223.86

This is a Class B address, the first 2 octets identify the network, the remaining 2 identify the host.

IP Class Ranges first octet
A 1-126
B 128-191
C 192-223

So, using the table above, which class IP is the following?

14.28.72.183

Did you say Class A? Then you're right.

How about this one?

183.82.173.69

Class B.

You get the idea  here, right?


Can you count binary? If not, you're about to learn, because that's how IP addresses exist.

Quick and dirty binary Math:

A single Byte of information is made up of 8 bits. A bit is a 1 or a 0, a yes or no, a electrical charge, or a lack of electrical. So, a Byte might be something like:

00101010

Now, what if I told that that binary string I wrote represented as a decimal number would be 42? What if I also told you I can figure that out in my head fairly quickly?

I'll show you how.

Above each bit (one or zero), imagine a table that looks like this:

128|64|32|16|8|4|2|1

In the case of binary, a 1 is true, and a 0 is false. Let's plug some numbers into the table we made:

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

Now, we add up each number that has a 1 under it, so

128+16+8+4+2 = 158

Do that 3 more times and you have an IP address!

That's enough for now, this is a bit of a ramble. If you want to know how the Class A, B and C are dictated, let me know. That was the whole point I wanted to make in this thread, but I feel like it's gotten too long.

good explanation


RE: IP address basics - Vultra - 07-08-2018

I love binary and calculating the digits. Had a test at school about it.