IP address questions

    Question by:
    On

    Topics:

    Noticed something strange today on our network.  If I ping and IP address of 192.168.200.50, I get a destination unreachable message.  If I ping address 192.168.200.050, it pings without a problem.  See Screen Shot below:

    Pinging 192.168.200.50 with 32 bytes of data:
    Reply from 192.168.200.40: Destination host unreachable.
    Reply from 192.168.200.40: Destination host unreachable.
    Reply from 192.168.200.40: Destination host unreachable.
    Reply from 192.168.200.40: Destination host unreachable.

    Ping statistics for 192.168.200.50:
        Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),

    C:\>ping 192.168.200.050

    Pinging 192.168.200.40 with 32 bytes of data:
    Reply from 192.168.200.40: bytes=32 time<1ms TTL=128
    Reply from 192.168.200.40: bytes=32 time<1ms TTL=128
    Reply from 192.168.200.40: bytes=32 time<1ms TTL=128
    Reply from 192.168.200.40: bytes=32 time<1ms TTL=128

    Ping statistics for 192.168.200.40:
        Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
    Approximate round trip times in milli-seconds:
        Minimum = 0ms, Maximum = 0ms, Average = 0ms

    Another thing that is odd is that any IP address with the number 8 or 9 in the address gives a message to please check name and try again.  I have tried all combinations of numbers like 8, 18, 9, 19, 88, 99, etc...
    See some examples below:

    C:\>ping 192.168.200.080
    Ping request could not find host 192.168.200.080. Please check the name and try
    again.

    C:\>ping 192.168.200.018
    Ping request could not find host 192.168.200.018. Please check the name and try
    again.

    C:\>ping 192.168.200.019
    Ping request could not find host 192.168.200.019. Please check the name and try
    again.

     

    Verified Answer?

    The member who asked this question verified this comment provided the solution that solved their problem.

    by:Posted on 2011-11-11 at 11:27:08ID: 37121882

    That is a cmd prompt issue. Any number starting with a zero is octal, so 050 = 40. 0x50 would be 80 (5x16, hexadecimal interpretation). You can see that with

    set /a 0x50
    set /a 050

    That also explains why you can't use 08 or 09 - they are invalid as octal digits.
    This content is available to Experts Exchange members

    See the answer now
    with your Free 30 Day Trial

    Get unlimited access to solutions & experts

    • 4,169,477 solved questions
    • 3,805 articles & videos
    • 15,413 tech experts

    Get Access Now

    Ask Your Tech Question. Get Expert Solutions.We will email you when an expert has commented on your question.

    We will never share this with anyone. Privacy Policy Terms of Use

    Select topics

    You may select up to five topics.

    Top Expert Contributor

    Essential articles and videos from the Experts

    More valuable questions with Expert answers

    201507-LO-Qu-065