Omit -n on Windows.

On Mon, 23 Apr 2001, David Ishmael wrote:

> Not sure why but I can't replicate either using the DWORD in a browser or
> trying a ping:
>
> Here's the output:
>
> C:\>ping -n 3510483697
> IP address must be specified.
>
> David Ishmael
>
>
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of mouss
> Sent: Monday, April 23, 2001 2:42 PM
> To: Cranmer, James-DLI; 'Jesus Gonzalez'; '[EMAIL PROTECTED]'
> Subject: RE: [OT] Who can explain this address scheme?
>
>
> At 13:34 23/04/01 -0400, Cranmer, James-DLI wrote:
> >That is not an IP address, it is actually just a DNS entry.
>
> no, it is an IP address.
> just do: ping -n 3510483697
> and you'll see that it work, and -n says no dns lookup.
>
> an IP address is a 32 bits integer that can be represented in one
> of the forms:
>          a               = a
>          a.b             = 256^3 a + b
>          a.b.c           = 256^3 a + 256^2 b + c
>          a.b.c.d         = 256^3 a + 256^2 b + 256 c + d
>
> a common example is doing "ping 127.1" instead of typing the long
> "127.0.0.1"
> or same with 10.1 and so on.
>
> refer to the source code of inet_aton() if you don't feel lazy...
>
> cheers,
> mouss
>
> -
> [To unsubscribe, send mail to [EMAIL PROTECTED] with
> "unsubscribe firewalls" in the body of the message.]
>
> -
> [To unsubscribe, send mail to [EMAIL PROTECTED] with
> "unsubscribe firewalls" in the body of the message.]
>

-
[To unsubscribe, send mail to [EMAIL PROTECTED] with
"unsubscribe firewalls" in the body of the message.]

Reply via email to