help converting HEX netmask...
Jason Hellenthal
jhellenthal at dataix.net
Thu May 3 16:50:42 UTC 2012
On Tue, May 01, 2012 at 07:44:31PM -0700, c.hutchinson0 at yahoo.com wrote:
> Greetings...
> On Wed, 2 May 2012 07:01:05 +0700
> Erich Dollansky <erichfreebsdlist at ovitrap.com> wrote:
>
> > Hi,
> >
> > On Wednesday 02 May 2012 05:48:44 c.hutchinson0 at yahoo.com wrote:
> > > Greetings,
> > > This may seem dim to some of you, but I have a question regarding
> > > (determining) the netmask, from the output of ifconfig(8).
> > > Mine is returned as:
> > > 0xffffe000
> >
> > you take a calculator which is able to convert hex to dec but you
> > have to break the number up into fields like:
> >
> > ff
> > ff
> > e0
> > 00
> Right you are! Which brings us:
> 255.255.224.0
range: 192.168.0.0 > 192.168.31.255
range b10: 3232235520 > 3232243711
range b16: 0xc0a80000 > 0xc0a81fff
hosts: 8192
prefixlen: 19
mask: 255.255.224.0
>
> Thanks for the response -- and answer. :-)
>
> >
> > Erich
> > >
> > > Any help greatly appreciated.
> > > Apologies should this be stupid.
> > > _______________________________________________
> > > freebsd-wireless at freebsd.org mailing list
> > > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
> > > To unsubscribe, send any mail to
> > > "freebsd-wireless-unsubscribe at freebsd.org"
> > >
> > >
>
> _______________________________________________
> freebsd-wireless at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
> To unsubscribe, send any mail to "freebsd-wireless-unsubscribe at freebsd.org"
--
- (2^(N-1))
More information about the freebsd-wireless
mailing list