Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Oct 2001 18:23:33 -0400
From:      ravi pina <ravi@cow.org>
To:        David Loszewski <stealth215@mediaone.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: subnetmask
Message-ID:  <20011027182333.K3456@happy.cow.org>
In-Reply-To: <003a01c15f35$379e4830$3000b1d8@sickness>; from stealth215@mediaone.net on Sat, Oct 27, 2001 at 06:17:50PM -0400
References:  <003a01c15f35$379e4830$3000b1d8@sickness>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Oct 27, 2001 at 06:17:50PM -0400, David Loszewski said at one point in time:
> I know by doing netstat -r I can find out a lot of useful info, but how
> would I find out what my subnet is for my external Ethernet?

ravi@happy:[ttypg][6:22pm](2):103:~> ifconfig
xl0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
        inet 198.88.20.7 netmask 0xffffff00 broadcast 198.88.20.255
[...]

the netmask will tell you that.

-r

-- 
echo "send pgp key" | mail ravi@cow.org
"i need to go watch a shitloaf of movies i rented today."
                -- Kris Wehner


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?20011027182333.K3456>