MYSQL check if ip is in subnet
SELECT (-1 << (33 - INSTR(BIN(INET_ATON("255.255.254.0")), "0"))) & INET_ATON("193.87.98.1") = INET_ATON("193.87.90.0")
Nieje v rosahu
Je v rozsahu
SELECT (-1 << (33 - INSTR(BIN(INET_ATON("255.255.254.0")), "0"))) & INET_ATON("193.87.98.1") = INET_ATON("193.87.90.0")
Nieje v rosahu
Je v rozsahu