Understanding IP Addressing

sakuraguy

5,000 RPM
Senior Member
Joined
Nov 4, 2004
Messages
5,848
Points
3,148
Location
Sendai, JAPAN.
Understanding IP Addressing


Every computer that communicates over the Internet is assigned an IP address that uniquely identifies the device and distinguishes it from other computers on the Internet. An IP address consists of 32 bits, often shown as 4 octets of numbers from 0-255 represented in decimal form instead of binary form. For example, the IP address
168.212.226.204

in binary form is

10101000.11010100.11100010.11001100.

But it is easier for us to remember decimals than it is to remember binary numbers, so we use decimals to represent the IP addresses when describing them. However, the binary number is important because that will determine which class of network the IP address belongs to. An IP address consists of two parts, one identifying the network and one identifying the node, or host. The Class of the address determines which part belongs to the network address and which part belongs to the node address. All nodes on a given network share the same network prefix but must have a unique host number.

Class A Network -- binary address start with 0, therefore the decimal number can be anywhere from 1 to 126. The first 8 bits (the first octet) identify the network and the remaining 24 bits indicate the host within the network. An example of a Class A IP address is 102.168.212.226, where "102" identifies the network and "168.212.226" identifies the host on that network.

Class B Network -- binary addresses start with 10, therefore the decimal number can be anywhere from 128 to 191. (The number 127 is reserved for loopback and is used for internal testing on the local machine.) The first 16 bits (the first two octets) identify the network and the remaining 16 bits indicate the host within the network. An example of a Class B IP address is 168.212.226.204 where "168.212" identifies the network and "226.204" identifies the host on that network.

Class C Network -- binary addresses start with 110, therefore the decimal number can be anywhere from 192 to 223. The first 24 bits (the first three octets) identify the network and the remaining 8 bits indicate the host within the network. An example of a Class C IP address is 200.168.212.226 where "200.168.212" identifies the network and "226" identifies the host on that network.

Class D Network -- binary addresses start with 1110, therefore the decimal number can be anywhere from 224 to 239. Class D networks are used to support multicasting.

Class E Network -- binary addresses start with 1111, therefore the decimal number can be anywhere from 240 to 255. Class E networks are used for experimentation. They have never been documented or utilized in a standard way.
 
ermm...I'm still not understand about the IP....hehe
U looks very expert about networking...
 
me noobie in Network+ haha...

but basic stuff like gateway and DHCP i know a little lo..

sakura guy...u r familiar with IPV6?version 6?

currently we are using v4 right
 
what ever stated in SG's first post is IPv4.
IPv6 runninng on top of IPv4, but old hardware and software not compliant.
 
yea lo...

BS, u right...we dun have the platform yet...

but u give it about 3-5 years more...PC users are building up and the powerful IPv6 will be implemented..

but as wat i know, this protocol service is available for our XP now actually...
 
IPv6 doesn't really run on top of v4.. maybe eventually, legacy IPv4 devices will run on an end-to-end IPv6 network, and in the near term, migration would involve gateway devices to translate between IPv4 and IPv6. It's pretty hard to map IPv6 devices to IPv4, I'd imagine.. it's so limited. Maybe use good ol' NAT for that. But to map IPv4 to IPv6, that would be easier. The first few bytes can probably be taken from the switch address, similar to ATM, while the last 4 bytes are the original IPv4 address, and we can pad the stuff in between with zeroes, probably.
 

Similar threads

Posts refresh every 5 minutes




Search

Online now

Enjoying Zerotohundred?

Log-in for an ad-less experience