Two IPs - subnet check?
Hi all,
How can I check whether two IP addresses typed by a user falls under the same subnet mask?
Thanks in advance!!!
[132 byte] By [
nbz24] at [2007-11-20 9:18:36]

# 1 Re: Two IPs - subnet check?
First of all, you need to also have the Mask in question.
Once you have both IPs, and the mask, the math is fairly simple.
http://www.akadia.com/services/ip_routing_on_subnets.html