开发者

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

开发者 https://www.devze.com 2022-12-21 19:27 出处:网络
How to determin开发者_运维知识库e the subnet mask of a network using the minimum number of ICMP echo requests?If you know how to generate a ICMP Mask Request, you should receive a ICMP Mask Reply.It s

How to determin开发者_运维知识库e the subnet mask of a network using the minimum number of ICMP echo requests?


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


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.


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)

0

精彩评论

暂无评论...
验证码 换一张
取 消