Navigation

    Netgate Discussion Forum
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    Invalid IP Message in WAN config

    webGUI
    3
    4
    2799
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      acarli last edited by

      In WAN IP Configuration, when you put an IP with numbers starting with zero you will receive a "Invalid IP" message even if IP is valid.

      I.E: If you put the address: 201.031.161.136 (note the zero before 31) you get the error.
      but if you put 201.31.161.136 it will work.

      BTW: I'm using Version 1.2 RELEASE

      Cheers,

      1 Reply Last reply Reply Quote 0
      • GruensFroeschli
        GruensFroeschli last edited by

        I dont see a problem ^^"

        We do what we must, because we can.

        Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

        1 Reply Last reply Reply Quote 0
        • A
          acarli last edited by

          That's not a big problem, but I've lost a half hour just to figure that the problem is that padding zero (perfect valid in the address BTW).

          1 Reply Last reply Reply Quote 0
          • W
            wallabybob last edited by

            IIRC some Unix systems would parse an IP address such that an initial 0 meant the following number was octal (base 8) thus 031 (octal) was 25 (decimal) and so 201.031.161.136 meant 201.25.161.136 which is confusing until you discover whats going on. I'm not sure the convention was universally adopted, in which case there would be an ambiguity in 031.

            No idea if 031 is rejected because of this possible ambiguity.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post