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

  Developing channels of communication and collaboration

Developing Channels of Communication and Collaboration

  Write characteristics of smtp-pop3-tcpprotocols

There is an alphabet soup of protocols in TCP/IP - HTTP,FTP,SMTP,POP3,TCP,UDP,IP,ARP,ICMP, and others. What are the characteristics of these protocols? What are they used for?

  Sketch network diagram to insert it in word document

Write and draw network diagram which will be inserted into the Word document to be presented to the manager - who has technical background - that details your plan.

  Network infrastructure for youi new headquarters

ICT120 Introduction to Telecommunications and Networks Assignment. You are a member of the network planning team, and need to write a formal business management report to explain your solutions and recommendations about the future network infrastru..

  Web server with one cpu that serves web requests

Suppose a web server with one CPU that serves web requests; each web request requires three (time) units of CPU processing and 9 (time) units to read data from disk.

  What factors might an organization consider when selecting

what factors might an organization consider when choosing to implement an ad-integrated dns zone versus a traditional

  Query and response for a complete dns query

Compare the time for a query and response for a complete DNS query and response (to all required nameservers) if M=1, M=2, and M=3.

  Describe the fundamental components of a distributed system

Describe the fundamental components of a distributed system

  Question about tcp networking

A TCP entity in Host 1 receives a section from a corresponding TCP entity in Host 3. The received section has the following header field values se

  Explain connecting selected pcs to a network

While working at a customer's site, you realize that the customer could increase productivity by connecting selected PCs to a network. Mentioning this fact to the customer shows your

  What routing protocol is suitable for retail customer

What routing protocol would you suggest for this network? Describe the reasons for your selection; refer to specific features of protocols that influenced your selection.

  Advantages of using extranet instead of private phone lines

Write down the benefits of using extranet instead of dedicated/private phone lines in this situation? How do you expect your customers restaurants to react to change to extranets?

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