I have 2 files that contain subnets in cidr format (212.234.96.0/24, 80.10.0.0/24, ...) liny by line. I will like you to create a python script that will tell me overlapping subnets. Input are file1 (list of subnets, more than 4000) and file2 (list that I want to check with file1). I want the output in file3 with the file2 subnets without overlapping.
For the other hand, I did this work in a shell script but the processing time is too long (for the +4000 subnets processing). Some people recommended that I should do this work in python. The problem is I'm new in python.
Thank you.