• We should now be fully online following an overnight outage. Apologies for any inconvenience, we do not expect there to be any further issues.

Address Mask in ICMP

life24

Senior member
Mar 25, 2014
283
0
76
Hello,
What means Address mask in ICMP ?
Address mask is the same subet mask? for example:255.255.255.0 ?
 

Gryz

Golden Member
Aug 28, 2010
1,551
204
106
Hello,
What means Address mask in ICMP ?
Address mask is the same subet mask? for example:255.255.255.0 ?

Yes.
Note that this is all old stuff.

1) The way to get your own IP-address via ICMP is depricated (meaning: old, should not be used anymore). The modern way is to use DHCP. I didn't even know that ICMP used to have this option.

2) Subnet-masks themselves are old and depricated. We talk about "prefix-length" now. Ever since CIDR (which happened more than 20 years ago) we only talk about prefix-length. 255.255.255.0 in your example is actually in binary 24 ones followed by 8 zeros. And therefor we speak about /24. 255.0.0.0 = /8, 255.255.0.0 = /16, etc. See the table here at the end for a full list of subnet-mask to prefix-length conversions: http://www.gadgetwiz.com/network/netmask.html