Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Oct 2001 19:18:25 -0400 (EDT)
From:      Dru <genisis@istar.ca>
To:        David Loszewski <stealth215@mediaone.net>
Cc:        <freebsd-questions@FreeBSD.ORG>
Subject:   RE: subnetmask-need to add something
Message-ID:  <20011027191705.Q47895-100000@x1-6-00-50-ba-de-36-33.kico1.on.home.com>
In-Reply-To: <003c01c15f3c$44f35a00$3000b1d8@sickness>

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


On Sat, 27 Oct 2001, David Loszewski wrote:

> For example in my rc.conf file my netmask is set to 255.255.0.0 but when
> I do ifconfig it says that it's 192.168.0.255.255
<snip>

Hi Dave,

Are you sure you're not reading the broadcast address instead? The mask
should be written in hex, so if your mask is 255.255.0.0 it'll look like
0xffff0000

Dru


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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