You are to write a command line Python program that calculates subnet ranges and IP addresses after receiving user input. For this assignment, we will standardize on Python 3.5 Evidence that you used...


You are to write a command line Python program that calculates subnet ranges and IP addresses after receiving user input. For this assignment, we will standardize on Python 3.5


Evidence that you used code found online will result in a 0. This is an individual assignment and is due Saturday12-1-18 by 11:59pm.



Your program must:


· Ask the user about the network.



· Automatically calculate the size of the default address space and provide the default mask.


Ex. User: 192.168.100.0 à Ans: Class C, 24 bits of address space, 255.255.255.0


· Ask the user for the number of subnets required.



· Provide the subnet ranges (subnet ID and subnet broadcast)



· Print the new mask.



· Print the binary change for the network.



· Provide the number of possible addresses in the subnet



· Provide the number of useable addresses in the subnet



· Provide a potential router (we will standardize on high in the range addresses)



· Perform a reasonable amount of input checking.



· Have comments in the code.



Note: Tests will be run against class C networks. So, your class C implementation must be perfect. But, if you complete class B and/or class A, you may receive bonus points.







Name __________________________________________________



1. Ask the user about the network. _____/7.5



2. Automatically calculates the size of the default address space _____/7.5



3. Automatically calculates provide the default mask. _____/7.5



4. Ask the user for the number of subnets required. _____/7.5



5. Provide the subnet ranges (subnet ID and subnet broadcast) _____/10



6. Print the new mask. _____/7.5



7. Print the binary change for the network. _____/10



8. Provide the number of possible addresses in the subnet _____/7.5



9. Provide the number of useable addresses in the subnet _____/7.5



10. Provide a potential router. _____/7.5



11. Perform a reasonable amount of input checking. _____/10



12. Have your name and comments in the code. _____/10



13. Class B completed (bonus) _____/10



14. Class A completed (bonus) _____/10



Total _____/100

Nov 28, 2020
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here