Home » Questions » Computers [ Ask a new question ]

How common is fancy IP math accepted by tools?

How common is fancy IP math accepted by tools?

If we specify an IPv4 address we all usually do the pattern of 1.2.3.4 Now essentially this is only 'a' way of writing a 32 bit number in a more human readable form.

Asked by: Guest | Views: 261
Total answers/comments: 2
bert [Entry]

"It works because of the way the inet_addr function works. Practically every network application's code uses this to convert IP strings to their integer form, and it supports a, a.b, a.b.c, and a.b.c.d notation.

So yes, it should be pretty safe to assume that it's possible to use all four of these notations for an IP address."
bert [Entry]

Chrome's location bar will auto complete dotted IPs pretty well, and show you the result while you're typing. I.e., http://10.1 -> http://10.0.0.1, http://10.2.4 -> http://10.2.0.4, etc.