*BSD News Article 3533


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!manuel!munnari.oz.au!network.ucsd.edu!usc!wupost!uunet!spooky!witr
From: witr@rwwa.COM (Robert Withrow)
Subject: Re: Possible bug in ifconfig's /etc/networks lookup
Message-ID: <1992Aug9.155013.23788@rwwa.COM>
Sender: news@rwwa.COM (News Administrator)
Nntp-Posting-Host: spooky
Reply-To: witr@rwwa.com
Organization: R.W. Withrow Associates
References:  <1992Aug09.025301.13940@NeoSoft.com>
Distribution: usa
Date: Sun, 9 Aug 1992 15:50:13 GMT
Lines: 22

In article <1992Aug09.025301.13940@NeoSoft.com>, karl@NeoSoft.com (Karl Lehenbauer) writes:
| Specifically, if we use one of the ifconfig lines in /etc/netstart,
| which use symbolic names for netmasks, and it's supposed to get them
| from /etc/networks, we can't get out to our network, but explicitly
| specifying 255.255.255.0... it works.

This is because /etc/networks is ill formatted.  The correct
format in in the online manual pages, but for reference

  official-name network-id aliases...

for example

  my-netmask 255.255.255.0 rwwa-netmask
  rwwa-net 192.124.97.0 rwwa.com

(this bug has been sent to Jolitz)

-- 
---
 Robert Withrow, R.W. Withrow Associates, Swampscott MA 01907 USA
 Tel: +1 617 598 4480, Fax: +1 617 598 4430, Net: witr@rwwa.COM