tags:

views:

72

answers:

3

How to determine the subnet mask of a network using the minimum number of ICMP echo requests?

A: 

ICMP is used for error checking to see if a host exists...I am not 100% sure if you can do a lookup to check the subnet mask...unless you got the protocol usage mixed up.... I think it's the ARP protocol that you are mixing up with...

Hope this helps, Best regards, Tom.

tommieb75
A: 

Sorry to ruin, but you can not determine the subnet mask using ICMP... I don't know if there is a real way to find out beside asking the LAN router (probably using SNMP)

Uri Keidar
A: 

If you know how to generate a ICMP Mask Request, you should receive a ICMP Mask Reply. It should take only 1 request.

dbasnett