How to judge whether the IP belong to a network segment?
For example:
Whether 192.168.1.100 belongs to 192.168.1.2 instead/24
CodePudding user response:
IP and mask on and after the operation, to see if the network number is the same
CodePudding user response: