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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!