Subnet/address mask, Computer Networking

To use a subnet or classless address, table under routers and hosts that have address must keep two pieces of information with every address: the 32-bit address itself and another 32-bit number that specifies the boundary that is called as the Subnet Mask or Address Mask.


D = Destination Address

(A, M)= (32-bit IP Address, 32-bit Address Mask)


 A = = (D & M)

Now as an example take a 32-bit mask:

11111111 11111111 00000000 00000000

Which can be denoted in dotted decimal number as

Consider a network prefix:

 10000000 00010010 00000000 00000000


Which can be shown in dotted decimal number as

Consider a destination address:

That has Binary equivalent as:

 10000000 00010010 00000010 00000011


A logical 'and' between M and D gives the binary result as:

 10000000 00100010 00000000 00000000


Which is similar to prefix

Posted Date: 7/31/2012 8:44:21 AM | Location : United States

Related Discussions:- Subnet/address mask, Assignment Help, Ask Question on Subnet/address mask, Get Answer, Expert's Help, Subnet/address mask Discussions

Write discussion on Subnet/address mask
Your posts are moderated
Related Questions
Explain multipoint connection. A multipoint connection is a link among three or more devices. Historically, multipoint connections were used to attach central CPs to distribute

What is a Java package and how is it used? A Java package is a naming context for classes and interfaces. A package is used to make a separate name space for groups of classes

What is Groupware Groupware are a collection of software tools that encompass a broad range of applications. Even though groupware broadly consists of applications like calend

What are the five major technologies that can be used to create Client/Server applications? Database Servers Groupware TP Monitors Distributed Objects Intranets.

Persistent and No persistent Connections HTTP can use  both  persistent  and non persistent connection. By defaults  uses persistent  connections. Persistent Connections

What is the difference between TFTP and FTP application layer protocols? Ans) TFTP - Trivial File Transfer Protocol A stripped down version of FTP, easy to use and fast. TFTP

What is Framing? Framing in the data link layer divides a message from one source to a destination, or from other messages to other destinations, by adding a sender address and

Discuss the interdependence of networking hardware and software. Is it possible to have one without the other?

Merits of MPI Runs on any shared or distributed memory architectures; Can be used on a wider range of troubles than OpenMP; Every process has its own local variabl