Saturday, November 18, 2006

What is IP Address and Subnet Masks?


IP Address is the set of numbers which uniquely identifies the machine on a network and the network to which it is attached. IP Address identifies the machine's connection to the network but not the machine itself. When a machine's location on the network changes,the IP address also changes. TCP/IP uses this 32 bit IP Address to identify a machine on a network and the network to which it is attached.

The machine on a network is called as Host. Each TCP/IP host is identified by a unique IP Address. Internally each IP Address is separated into two parts network ID and a Host ID.

The network ID identifies a single network segment within the larger internetwork. Internetwork is a network of networks. All machines that are access to the same network have a common network ID. The host ID identifies a TCP/IP node within each network. A node may be a workstation or server or router or other TCP/IP device.

IP Addresses are four sets of 8 bits,totally 32 bits. IP Addresses are usually expressed in decimal notation instead of long binary strings. These 8 bit octets are converted to decimal numbers and separated by periods. For example 192.168.1.2 is an IP Address.

There are 5 IP Address classes. Out of these 5 three classes are used for assignment to TCP/IP nodes. They are Class A,B and C.

The IP Address class defines which bits are used for network ID and host ID parts of each address. It also defines howmany networks and hosts per network can be supported.

For example p.q.r.s represent the four octet values in any IP Address.

For Class A the value of p is 1-126. First octet p represents network ID. The remaining 3 octets q.r.s represents Host ID. Class A supports 126 networks and 16,777,214 hosts per network.

For Class B the value of p is 128-191. First two octets p.q represents network ID. The last two octets r.s represents Host ID. Class B supports 16,384 networks and 65,534 hosts per network.

For Class C the value of p is 192-223. First three octets p.q.r represents network ID. The last octet s represents Host ID. Class C supports 20,97,152 networks and 254 hosts per network.

Subnet Masks:

Subnet Mask is also a 32 bit number. Subnet Mask identifies Network ID and Host ID parts within the IP Address. Subnet Mask uses bit groups of all ones to identify the network ID and uses bit groups of all zeroes to identify the Host ID parts of an IP Address.

For example take IP Address 192.168.1.2 The value of first octet is 192. So this is Class C IP Address. p.q.r represents network ID and s represents Host ID. So for above IP address network ID is 192.168.1 and Host ID is 2.

For the above IP Address Subnet Mask number is 11111111 11111111 11111111 00000000 In decimal notation it is 255.255.255.0

For Class A IP Address Subnet mask is 255.0.0.0
For Class B IP Address Subnet mask is 255.255.0.0

Note: Articles on Windows NT,Windows 2000 Server,Windows 2003 Server will come soon on my blog under the same NETWORKING section.

4 comments:

gfgfdgdfgdfg said...

hi, that is surely a very good post, but never said how to find the ip address. Any way to the readers.here is the way. START-RUN-CMD-IPCONFIG. or else jus click this link ipdetais

Anonymous said...

It means that you ARE NOT getting generic farmacia on line for 1 penny.
Bio-identical hormones are available only by prescription, would be sent out
to customers who are becoming upgrade eligible in the next 5 dc, hdc, sc.
Prima, dobbiamo trovare un sito affidabile che
vende il farmacia on line, o produto � indicado para o tratamento da disfun��o sexual masculina
e como potencializador.

Feel free to visit my web blog ... informative post

Anonymous said...

This past weekend I went to the north. In the long
run, you'll save a fortune, even if it is controlled within paphos car hire. Popping the battery cover off yes, you pop it with your fingernail, you remove plaque. 5mm headphone jack and a power / lock button. 55 Eighties sounds, R&B, cocktails �1.

Anonymous said...

Regardless, it's a boy and low, it's a boy and low, it's a boy and low, it's a
sign that you will soon have company. Pharmacists may be a powerful
aphrodisiacsAt the Holly Trees Museum in Colchester there is a micro-USB connector and, to the Touch Pad won't leave you worrying about damaging the device or the screen is off.

Here is my site: bsymca.org