Welcome to Sydney Windows Infrastructure User Group Sign in | Join | Help
in Search

Can someone explain why ping does this

Last post 11-08-2006, 3:25 PM by William. 3 replies.
Sort Posts: Previous Next
  •  08-24-2006, 3:35 PM 81

    Can someone explain why ping does this

    C:\>ping 10.10.020.001

    Pinging 10.10.16.1 with 32 bytes of data:

    Isn't 10.10.020.001 the same as 10.10.20.1? So why does it change it to 10.10.16.1?
  •  08-25-2006, 12:57 PM 82 in reply to 81

    Re: Can someone explain why ping does this

    If you use the leading Zero (020), it means octal (base-8).

    Cheers

    Derrick

  •  11-06-2006, 11:15 AM 120 in reply to 82

    Re: Can someone explain why ping does this

    but how-come a ping 10.010.20.1 pings 10.10.20.1
    I was always taught leading zeros where ignored in ip?
  •  11-08-2006, 3:25 PM 130 in reply to 120

    Re: Can someone explain why ping does this

    morgan:
    but how-come a ping 10.010.20.1 pings 10.10.20.1


    On both a Win XP and Linux system I tried just now, pinging 10.010.20.1 pings 10.8.20.1 as expected.

    What platform are you running pings on?
View as RSS news feed in XML
Powered by Community Server, by Telligent Systems