Write a subnet calculator

Assignment Help Computer Networking
Reference no: EM131656559

Question:

In Java, write a subnet calculator. Please read over the general assignment requirements before starting this assignment.

Assignment Description:

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

Deliverables:
Source code
Test plan with report
instructions on how to compile and use your program

If your program does not compile or run, you may receive a mark of "0" for the assignment.

If you use components and/or images from the work of others, you must have their permission to do so, and include proper citations in the program''s headers. You also need to get the original author''s agreement in writing, and put it in your program.

If you copy the work of others with only a small revision, you may receive a mark of "0" for the assignment.

If plagiarism is discovered, or reported and confirmed, you will receive a mark of "0" for the assignment.

Reference no: EM131656559

Questions Cloud

Issues surrounding conflict and strategies : The content of this paper will address the issues surrounding conflict and strategies for dealing with conflict.
What are the most useful strategic approaches : What are the most useful strategic approaches to use in economic development? What are the opportunities for economic development within your chosen community?
Significant role played by intuition in strategic planning : What do you feel is the most significant role played by intuition in the strategic planning process?
Mission and vision statement : Research a company that has posted its mission and vision statement online. Include the following in your initial post:
Write a subnet calculator : how many hosts per subnet, the network address and broadcast address - write a subnet calculator - the network address and broadcast address
Discuss the advantages and disadvantages of headhunting : Discuss the advantages and disadvantages of "headhunting" (use of an outside agency to recruit employees, particularly for high-level or hard-to-fill positions)
What is the value of qualitative inquiry in validating : How are you currently formulating your research approach using what you know about qualitative, quantitative and mixed-methodologies?
Contact your local police chief or sheriff : Contact your local police chief or sheriff and discuss with them the issues related to motivation in their organization.
Calculate the seasonal index : Calculate the seasonal index for July. b. If the total-year forecast for next year is 1800. What is the July forecast?

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