Question: Write a Python program to discover the IP addresses of all the active devices in your subnet. The program must automatically find out your IP
Write a Python program to discover the IP addresses of all the active devices in your subnet. The program must automatically find out your IP address, and subnet mask and size. The program should display the number of active hosts and their IP addresses. Hints: 1. (Optional) You may use the Python module called "subprocess" to call system commands using the method subprocess.call() 2. You may need to run python program with administrator privileges
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
