I have two subnet values eg:
A: 123.23.34.45/23 B: 102.34.45.32/32
I want to check if the value B falls in the range of A or not. I tried using the library netmask, can anyone suggest any other library or any solution for fulfilling this.
I have two subnet values eg:
A: 123.23.34.45/23 B: 102.34.45.32/32
I want to check if the value B falls in the range of A or not. I tried using the library netmask, can anyone suggest any other library or any solution for fulfilling this.
Here is a quick snippet: