Forum     

Go Back   Digit Technology Discussion Forum > Portables, Peripherals and Electronics > QnA (read only)
Register FAQ Calendar Mark Forums Read

QnA (read only) Mods please help transfer the contents of this forum to proper sections. :)


 
 
LinkBack Thread Tools Search this Thread Display Modes
Old 17-07-2005, 11:59 AM   #1 (permalink)
mekalodu
 
iinfi's Avatar
 
Join Date: Oct 2004
Location: Navi Mumbai
Posts: 1,518
Default what is the difference between net ID and host ID??


what is the difference between net ID and host ID??
in a class C IP address say, 192.52.56.8 the first 3 octets denote the net ID while the last octet shows the host ID. what are the 2 used for ?

again in a class B IP address say, 172.52.36.5 the first 2 octets show the net ID while the last 2 denote the host ID.... what is the significance of the netID and hostID???

i got this definition for host ID frm google search, but i still didn't understand ...
Quote:
An identifier for a host. A host ID uniquely identifies a host within an address family on a network but does not identify the network. A host ID is not necessarily sufficient to establish communications with a host.
plz HELP ....
thanks ....
iinfi is online now  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 17-07-2005, 05:42 PM   #2 (permalink)
Alpha Geek
 
Join Date: Feb 2004
Location: Belgaum
Posts: 745
Default

Its very simple mate.The network id is the id of the network & resembles the network.The host id is the identification of the host in the network.

Class A:Network.Node.Node.Node
Class B:Network.Network.Node.Node
Class C:Network.Network.Network.Node

The above is the way upon which its classified depending upon which Class the IP address belongs to.

If there is a network with a number of subnetted networks.How will a packet arriving at the default gateway/router determine where it should go?
It all comes down to the "network id"[net id] portion which makes it possible to locate the network.The packet would then traverse its way through a switch/hub to the appropriate host with the help of the host id.
Always remember routers dont care about hosts,all they care about is segmented networks.
I hope this helps.
__________________
The protection of a machine is a process & not a given -Duane Arnold.
www.Oobertech.net
Look ma my blog http://techhub.blogspot.com/
digen is offline  
Old 17-07-2005, 06:29 PM   #3 (permalink)
mekalodu
 
iinfi's Avatar
 
Join Date: Oct 2004
Location: Navi Mumbai
Posts: 1,518
Default

thanks for your reply ...
Quote:
Class A:Network.Node.Node.Node
Class B:Network.Network.Node.Node
Class C:Network.Network.Network.Node
i had seen this in my book also .....
class A supports 16,777,216 hosts per network ..
class B supports 16,384 hosts per network .
class C 256 ....

now how do u arrive at these figures (in bold .)...?
__________________
mekalodu
iinfi is online now  
Old 17-07-2005, 07:56 PM   #4 (permalink)
Alpha Geek
 
Join Date: Feb 2004
Location: Belgaum
Posts: 745
Default

Hmm although I suck when it comes to math I will try my level best here

As i've already explained Class A is Network.Node.Node.Node

Now what is a IP address? Its a 32 it[4 byte] long address.
What does this mean?Each byte is equal to 8 bits.
Thus how many node addresses can the Class A address have?
2^24 [i.e 2 raise to the power 24]Why because the first byte makes the network id,the rest three bytes make the host id which equals to 24bits.So you want to find the hosts aint it?
2^24=16,777,216
You may ask why 2 raise to n? Simple because a bit is either a 1 or a 0.

Similarly just follow the network classes classification for Class B & Class C & you will finally end at those numbers without any confusion.
__________________
The protection of a machine is a process & not a given -Duane Arnold.
www.Oobertech.net
Look ma my blog http://techhub.blogspot.com/
digen is offline  
Old 17-07-2005, 08:37 PM   #5 (permalink)
mekalodu
 
iinfi's Avatar
 
Join Date: Oct 2004
Location: Navi Mumbai
Posts: 1,518
Default

hi network guru
thanks for your help ..... will trouble u if i have any further confusion...
iinfi is online now  
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by Charan
- by Sarath
- by clmlbx

Advertisement




All times are GMT +5.5. The time now is 01:08 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2