*BSD News Article 92938


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!news.ececs.uc.edu!newsfeeds.sol.net!news.maxwell.syr.edu!news.idt.net!nntp.farm.idt.net!hq.idt.net!not-for-mail
From: Parthiv Shah <parthiv@hq.idt.net>
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: Re: Changing Server IP Addresses/DNS Addresses on BSDI Servers
Date: 6 Apr 1997 14:41:33 GMT
Organization: IDT 
Lines: 31
Message-ID: <5i8cmt$ijb@nnrp2.farm.idt.net>
References: <3342B112.26FF@pps.pgh.pa.us>
NNTP-Posting-Host: hq.idt.net
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
X-Newsreader: TIN [UNIX 1.3 unoff BETA release 961025]
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.bsdi.misc:6598

edit /etc/netstart
change the field "ipaddr=" with proper ip. e.g. ipaddr=172.16.5.1
change the field "defroute=" with proper ip e.g. defroute=172.16.5.254 etc..
hoping you don't have to change netmask, else change netmask= field also..

than either reboot or
ifconfig <interface> down; ifconfig <interface> <ipaddr> netmask <netmask>;
ifconfig <interface> up

where <interface> = your interface type look at field "iface=" in /etc/netstat
or type "netstat -in" and look at the first field.
<ipaddr> is your new ip address and <netmask> is again same as /etc/netstat
"netmask=" field.

Also change /etc/hosts with proper name and ip.

Parthiv

Tarek Z. El Mohamad <elmohama@pps.pgh.pa.us> wrote:
> Hi, I was wondering if anyone could help me out with a fairly simple
> problem I'm having with a BSDI server..  The server is currently
> configured with a certain IP address and DNS address.  How would I go
> about changing these?  Someone showed me once and I thought it was an
> easy thing to do, but have forgotten since then.  Any help would be
> GREATLY appreciated!!  Please e-mail me any help/suggestions to
> elmohama@pps.pgh.pa.us
<snip>
--
 Parthiv Shah	
 Work:	   parthiv@corp.idt.net			http://www.idt.net
 Personal: parthiv@netadmin.net			http://www.netadmin.net