Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 May 2012 12:50:36 -0400
From:      Jason Hellenthal <jhellenthal@dataix.net>
To:        c.hutchinson0@yahoo.com
Cc:        freebsd-wireless@freebsd.org
Subject:   Re: help converting HEX netmask...
Message-ID:  <20120503165036.GA80690@DataIX.net>
In-Reply-To: <20120501194431.7d9c91c7@virus.local>
References:  <20120501154844.45cc2f37@virus.local> <201205020701.05991.erichfreebsdlist@ovitrap.com> <20120501194431.7d9c91c7@virus.local>

next in thread | previous in thread | raw e-mail | index | archive | help


On Tue, May 01, 2012 at 07:44:31PM -0700, c.hutchinson0@yahoo.com wrote:
> Greetings...
> On Wed, 2 May 2012 07:01:05 +0700
> Erich Dollansky <erichfreebsdlist@ovitrap.com> wrote:
> 
> > Hi,
> > 
> > On Wednesday 02 May 2012 05:48:44 c.hutchinson0@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@freebsd.org mailing list
> > > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
> > > To unsubscribe, send any mail to
> > > "freebsd-wireless-unsubscribe@freebsd.org"
> > > 
> > > 
> 
> _______________________________________________
> freebsd-wireless@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
> To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org"

-- 

 - (2^(N-1))



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120503165036.GA80690>