Networking, subnet (network and host)

Posted on 2012-09-19
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
    LVL 68

    Expert Comment

    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
    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

    by: 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
    Excellent description, thanks

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Highfive + Dolby Voice = No More Audio Complaints!

    Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

    Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
    Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
    Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
    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.

    759 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

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now