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.

    Good Question?
    0
     

    ?

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

    Accepted Solution 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.

    Top Expert Contributor

    Essential articles and videos from the Experts

    More valuable questions with Expert answers

    201601-LO-Qu-076

    Extend your technology team with the Experts Exchange community.

    — trusted by —

    Who answers my questions?Our community has technology experts around the world.

    Matt Minor

    2

    Articles

    236

    Solutions

    Expert in:

    • Exchange

    oBdA

    9,425

    Solutions

    Expert in:

    • Windows 2003 Server
    • Active Directory
    • MS Server OS
    • Windows 2000
    • Windows Batch

    Mohammed Khawaja

    1,019

    Solutions

    Expert in:

    • Exchange
    • Windows Server 2008
    • Windows Server 2012
    • Active Directory
    • Email Servers

    Dirk Mare

    2

    Articles

    317

    Solutions

    Expert in:

    • Networking
    • Windows Server 2008

    yo_bee

    1

    Articles

    542

    Solutions

    Expert in:

    • Active Directory
    • Windows Server 2008
    • Exchange
    • MS Server OS
    • Outlook

    DeBlackman

    25

    Solutions

    Mahesh Sharma

    78

    Solutions

    Expert in:

    • Exchange

    Vasil Michev (MVP)

    1,230

    Solutions

    Expert in:

    • Office 365
    • Exchange
    • Outlook
    • Active Directory
    • MS Office

    Guy Lidbetter

    204

    Solutions

    Expert in:

    • Exchange
    • Active Directory
    • Powershell

    RELATED TOPICS view all topics

    1. Windows 2003 Server
      (129,255)
    2. Windows Server 2008
      (79,907)
    3. Exchange
      (195,917)
    4. MS Server OS
      (55,742)
    5. DNS
      (24,528)
    6. SBS
      (58,348)
    7. Windows XP
      (118,085)
    8. Microsoft OS
      (56,469)
    9. Powershell
      (12,520)
    10. Windows 7
      (42,752)