what is the difference between net ID and host ID??

Results 1 to 5 of 5

Thread: what is the difference between net ID and host ID??

  1. #1
    mekalodu iinfi's Avatar
    Join Date
    Oct 2004
    Location
    Navi Mumbai
    Posts
    1,530

    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 ...
    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 ....
    Popular Gadget Deals

  2. #2
    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.
    [color=#3333FF]www.[/color][color=#6666CC]O[/color][color=#CC33CC]obertech.net[/color]
    Look ma my blog [color=#3333FF]http://techhub.blogspot.com/[/color]

  3. #3
    mekalodu iinfi's Avatar
    Join Date
    Oct 2004
    Location
    Navi Mumbai
    Posts
    1,530

    Default

    thanks for your reply ...
    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

  4. #4
    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.
    [color=#3333FF]www.[/color][color=#6666CC]O[/color][color=#CC33CC]obertech.net[/color]
    Look ma my blog [color=#3333FF]http://techhub.blogspot.com/[/color]

  5. #5
    mekalodu iinfi's Avatar
    Join Date
    Oct 2004
    Location
    Navi Mumbai
    Posts
    1,530

    Default

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

Similar Threads

  1. CS 1.6 name of host
    By pramodv1988 in forum Gamerz
    Replies: 1
    Last Post: 18-03-2008, 12:29 PM
  2. host pdf on web
    By ankushkool in forum Software Q&A
    Replies: 1
    Last Post: 26-07-2007, 11:31 PM
  3. which web host?
    By webgenius in forum Internet & WWW
    Replies: 7
    Last Post: 03-03-2007, 04:16 PM
  4. Do you know a DB host?
    By nileshgr in forum QnA (read only)
    Replies: 5
    Last Post: 08-02-2007, 07:01 PM
  5. Best HOST!!!
    By gursimran_2006 in forum QnA (read only)
    Replies: 8
    Last Post: 14-10-2006, 09:59 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Close