Display how many hosts per subnet

Assignment Help Computer Networking
Reference no: EM131666138

Question:

For any IP address entered, display the Network class, the default (classfull) subnet mask, and the CIDR notation.

Also display how many hosts per subnet, the network address and broadcast address.

For instance, if you enter 199.212.55.7

The result should be:

Network Class: C
Subnet Mask: 255.255.255.0
CIDR: /24
Hosts per subnet: 254
Network Address: 199.212.55.0
Broadcast Address: 199.212.55.255
Bits in Host: 8
Bits in Network: 24

You also need to be able to specify an IP address with a VLSM (variable length subnet mask) or an IP address with a dotted decimal notation subnet mask.

For instance if you enter:

199.212.55.7/16 or 199.212.55.7 255.255.0.0 the result should be

Subnet Mask: 255.255.0.0
CIDR: /16
Hosts per subnet: 65534
Network Address: 199.212.0.0
Broadcast Address: 199.212.255.255
Bits in Host: 16
Bits in Network: 16

Verified Expert

This assignment contains the java class which display display the Network class ,the default (classfull) subnet mask, and the CIDR notation and Also display how many hosts per subnet, the network address and broadcast address.

Reference no: EM131666138

Questions Cloud

Compute the sales-quantity and sales-mix variances : Compute the sales-quantity and sales-mix variances for each type of ticket and in total in 2017.
Analyzing and resolving deficiencies : What support system has the purpose of systematically identifying and assessing logistics alternatives, analyzing and resolving deficiencies
Define the neighboring landowners : What ethical duties does the corporation have to the workers in Mexico, the neighboring landowners, and the USA consumers
Research a case where an individual claimed discrimination : Using the internet, research a case where an individual claimed discrimination, either in his or her hiring or firing
Display how many hosts per subnet : For any IP address entered, display the Network class, the default (classfull) subnet mask, and the CIDR notation - network address and broadcast address
Employee morale and business performance : How does the ethical code of conduct and behavior at your organization influence employee morale and business performance? Provide specific examples.
Find an example of conflict : Find an example of conflict (Oprah Winfrey) this Leader dealt with and use the course concepts to judge its results.
Define what is law and economics : What is Law and Economics, Why do we study it, How is it different than either law or economics
What is aristophanes doing during eryximachus speech : What is Aristophanes' doing during Eryximachus' speech. According to Aristophanes' myth, what do humans look like at first?

Reviews

Write a Review

Computer Networking Questions & Answers

  Networking and types of networking

This assignment explains the networking features, different kinds of networks and also how they are arranged.

  National and Global economic environment and ICICI Bank

While working in an economy, it has a separate identity but cannot operate insolently.

  Ssh or openssh server services

Write about SSH or OpenSSH server services discussion questions

  Network simulation

Network simulation on Hierarchical Network Rerouting against wormhole attacks

  Small internet works

Prepare a network simulation

  Solidify the concepts of client/server computing

One-way to solidify the concepts of client/server computing and interprocess communication is to develop the requirements for a computer game which plays "Rock, Paper, Scissors" using these techniques.

  Identify the various costs associated with the deployment

Identify the various costs associated with the deployment, operation and maintenance of a mobile-access system. Identify the benefits to the various categories of user, arising from the addition of a mobile-access facility.

  Describe how the modern view of customer service

Describe how the greater reach of telecommunication networks today affects the security of resources which an organisation provides for its employees and customers.

  Technology in improving the relationship building process

Discuss the role of Technology in improving the relationship building process Do you think that the setting of a PR department may be helpful for the ISP provider? Why?

  Remote access networks and vpns

safekeeping posture of enterprise (venture) wired and wireless LANs (WLANs), steps listed in OWASP, Securing User Services, IPV4 ip address, IPV6 address format, V4 address, VPN, Deploying Voice over IP, Remote Management of Applications and Ser..

  Dns

problems of IPV, DNS server software, TCP SYN attack, Ping of Death, Land attack, Teardrop attack, Smurf attack, Fraggle attack

  Outline the difference between an intranet and an extranet

Outline the difference between an intranet and an extranet A programmer is trying to produce an applet with the display shown in Figure 1 below such that whenever one of the checkboxes is selected the label changes to indicate correctly what has..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd