Networking, subnet (network and host)

Posted on 2012-09-19
Medium Priority
Last Modified: 2012-09-19
I do not understand network and host descriptions of an IP and mask

I understand network is the and condition of the bits and host is the opposite, but what is the practical definitions of network in host
Question by:Los Angeles1
  • 2
  • 2
LVL 68

Expert Comment

ID: 38413968
The network part of an address is used to determine whether a packet needs to be routed (and where), the host part is used to determine the actual target machine inside a given subnet.

Perhaps it might make things a bit clearer calling the network part + mask the routing prefix.

Author Comment

by:Los Angeles1
ID: 38414030
Not sure I understand yet, Using the following   /29


Open in new window

1> Network is  How does this represent whether a packet needs to be routed

2> Hosts are  *.9 to *.15.   I assume this is the available nodes provided on the subnet.

3> Broadcast is  I assume this address is used to communicate with the nodes on the subnet

What am I missing on 1>  and am I correct on 2> and 3>
LVL 68

Accepted Solution

woolmilkporc earned 2000 total points
ID: 38414089 is the network address, which is the network part (see below) right-padded with binary zeroes to fill 32 bits (IPv4).

What I meant to describe is the network part of an IPv4 address, in your example the first 29 bits of the address, determined by the netmask or CIDR routing prefix

Packets sent to destination addresses with a network part identical to the one of the sender are not routed, because they're in the same subnet.

Packets with destination subnet parts different from the sender's subnet must be routed and are thus sent to the appropriate gateway, either to the one determined by statically configured routes or to the default gateway, which then must take care how  to choose the next hop.

"2>" is correct, "3>" should read ".. to communicate with all nodes on the subnet ..."

Author Closing Comment

by:Los Angeles1
ID: 38414139
Excellent description, thanks

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses
Course of the Month14 days, 13 hours left to enroll

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question