*BSD News Article 28409


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!hookup!news.kei.com!eff!usenet.ins.cwru.edu!howland.reston.ans.net!vixen.cso.uiuc.edu!uwm.edu!msuinfo!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!arundel.vthrc.uq.oz.au!D.Thomas
From: Danny Thomas <D.Thomas@vthrc.uq.edu.au>
Newsgroups: comp.os.386bsd.questions
Subject: Re: Network configuration
Date: 12 Mar 1994 03:15:27 GMT
Organization: Vision, Touch & Hearing Research Centre
Lines: 32
Distribution: world
Message-ID: <2lrc4f$9p2@dingo.cc.uq.oz.au>
References: <speed.763348531@kaiwan>
NNTP-Posting-Host: arundel.vthrc.uq.oz.au
X-UserAgent: Version 1.1.3
X-XXMessage-ID: <A9A7730715010415@arundel.vthrc.uq.oz.au>
X-XXDate: Sat, 12 Mar 94 21:24:23 GMT

In article <speed.763348531@kaiwan> Kevin R. Bailey, speed@kaiwan.com
writes:
> I can put things back they way they were right after installation.
> Can someone please tell me what to put in these files so that
> the name is netvan.com and the IP address is 1.1.1.1 and the network
> mask is 255.255.255.0 ? I suppose I'll also need to add an ifconfig
> somewhere. This machine will not be linked to any other machines,
> only client PCs running telnet so I don't need any equivalent hosts
> or routes, etc.
well for a start 1.x.x.x is an A class IP address which has a network
mask of 255.0.0.0. Well to be honest I'm not sure that is the case, but
why do you particularly want an IP address of 1.1.1.1 with a netmask of
255.255.255.0? You might be able to configure your unix in an
unconventional way, but maybe you DOS client TCP/IP won't be as malleable.

As a starting point:

/etc/myname
netvan.com.

/etc/hosts
127.0.0.1     localhost
a.a.a.a       netvan.com.    netvan

/etc/hostname.ed0
inet   netvan.com.  m.m.m.0


where a.a.a. = whatever IP address you want for the machine, and m.m.m.0
is the corresponding mask

Danny Thomas