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

Invalid IP Message in WAN config

webGUI
3
4
3.1k
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 Apr 25, 2008, 1:22 AM

    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
    • G
      GruensFroeschli
      last edited by Apr 25, 2008, 1:46 AM

      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 Apr 25, 2008, 2:02 AM

        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 Apr 25, 2008, 5:55 AM

          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
          2 out of 4
          • First post
            2/4
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.