Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Mar 2006 16:35:24 +0100
From:      "Pietro Cerutti" <pietro.cerutti@gmail.com>
To:        "Huy Ton That" <huyslogic@gmail.com>,  freebsd <freebsd-questions@freebsd.org>
Subject:   Re: 192.168.0.1/24
Message-ID:  <e572718c0603070735qbee4481o12eff7d3fd932591@mail.gmail.com>
In-Reply-To: <1cac28080603070729h255c7ee8gfaefd0743814454@mail.gmail.com>
References:  <1cac28080603070729h255c7ee8gfaefd0743814454@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 3/7/06, Huy Ton That <huyslogic@gmail.com> wrote:
> Reading the handbook and I've seen /24 appended to an IP address often.  =
I'm
> curious what this exactly means - I don't have strong networking skills;
> does this define what ip it goes up to?
>
> 192.168.0.1 through to 192.168.0.24?

No,

It's a short notation for the subnet mask.
It means "most 24 significant bits set to 1"

so, 192.168.0.1/24 means:
192.168.0.1 netmask 255.255.255.0

Oftern it's used to explicitely tell that we're talking about a single
IP address:
192.168.0.1/32

Just matter of notation...

--
Pietro Cerutti
<pietro.cerutti@gmail.com>

   Non lasciar calpestare i TUOI diritti!
   Don't let 'em take YOUR rights!

   NO al Trusted Computing!
   Say NO to Trusted Computing!

   www.no1984.org
   www.againsttcpa.com



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