Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

13
  • This is true. The dotted decimal format, as it is known, is really only for humans. Devices on the network do not use this representation of an IP address. Commented Dec 28, 2014 at 2:52
  • 1
    @Brock Vond: Yes, except I think you transposed the 186 and 168 accidentally. Commented Dec 28, 2014 at 2:57
  • 6
    Using ping with 3-digit numbers may not work. It may treat them as octal. Commented Dec 28, 2014 at 4:09
  • 1
    @LightnessRacesinOrbit Actually, the given example will work even if you zero-pad them, at least in Windows and Debian (I don't have a Mac). The bug/feature only occurs if the number is zero padded, and the zero padded number is greater than 7 (as octal and decimal would be identical). If you attempt to enter a valid decimal address zero-padded (eg 012.034.056.078), it will still attempt to parse this as octal, resulting in failure of the ping function.
    – March Ho
    Commented Dec 29, 2014 at 13:29
  • 1
    @MarchHo: Yes, that's what we are all saying. Commented Dec 29, 2014 at 13:35