[H-GEN] dotless ip notation
Michael Anthon
mca at tams.com.au
Wed Jan 19 23:42:33 EST 2000
[ Humbug *General* list - semi-serious discussions about Humbug and ]
[ Unix-related topics. Please observe the list's charter. ]
Or to put it a simpler way, an IP address is a 32 bit number, the dotted
quad is a simplish way for the human brain to remember these numbers, the
other number is simply the decimal version of this number
> -----Original Message-----
> From: Everist, Geoff [mailto:everistg at switch.aust.com]
> Sent: Thursday, 20 January 2000 2:35 PM
> To: general at lists.humbug.org.au
> Subject: RE: [H-GEN] dotless ip notation
>
>
> [ Humbug *General* list - semi-serious discussions about Humbug and ]
> [ Unix-related topics. Please observe the list's charter. ]
>
> [snip]
>
> >
> > There is a formula on how to produce this IP address but I
> > can't find the site now :( Maybe someone else on this list
> > know where to find it
> >
> >
>
> To convert to the dotted notation, first convert the dotless
> decimal number
> to hex. This will give an 8 digit number. Convert the 2 digit
> pairs back to
> decimal and put dots between them. Sorry for the clumsy
> description, but
> here's and example:
>
> Say we have the address 3327036934 (as in Michael's example).
> Converting to
> Hex, this gives C64E8E06, or C6.4E.8E.06. Converting this
> back to decimal
> gives 198.78.142.6.
>
>
> >
> > > hi,
> > > I just got asked by my boss why Squid won't resolve 'dotless
> > > notation ip
> > > addresses'
> > >
> > > apparenty Micro$oft will. I've never seen this before
> > and can't grasp
> > > why you'd want to use a single decimal number to represent an
> > > ip address.
> > >
>
> This is merely a another decimal representation of the binary
> IP address,
> meant for machine rather that human consumption
>
> [snip]
>
> Cheers
> Geoff Everist
>
> --
> * This is list (humbug) general handled by
> majordomo at lists.humbug.org.au .
> * Postings to this list are only accepted from subscribed addresses of
> * lists 'general' or 'general-post'.
>
--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'.
More information about the General
mailing list