Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Dec 2001 15:31:26 -0800 (PST)
From:      Jon Gable <ismile4jazz@yahoo.com>
To:        John Kozubik <john@kozubik.com>
Cc:        Christopher Schulte <schulte+freebsd@nospam.schulte.org>, questions@FreeBSD.ORG
Subject:   Re: Changing IPs
Message-ID:  <20011229233126.28319.qmail@web21105.mail.yahoo.com>
In-Reply-To: <Pine.BSF.4.21.0112282229440.66183-100000@www>

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

Thanks for the help!!!

Jon
--- John Kozubik <john@kozubik.com> wrote:
> 
> I suspect that in your system you only need to edit:
> 
> /etc/rc.conf
> 
> and
> 
> /etc/hosts
> 
> Speaking of ftp specifically, I suspect you do not
> need to change _any_
> settings for ftp.  There certainly are
> configurations where this would be
> required, but I doubt yours is one.
> 
> A quick way to see if there are any dependencies on
> the IP address in the
> standard configuration files would be to:
> 
> `grep [your_IP] /etc/*`
> 
> which checks to see if your current IP address is
> contained in any of the
> files in /etc.  If after you change /etc/hosts and
> /etc/rc.conf you still
> see your current IP address in other files in /etc,
> you should check those
> too.  If you need the IP now, you will probably need
> it to be correct when
> you change as well...
> 
> 
> -----
> John Kozubik - john@kozubik.com -
> http://www.kozubik.com
> 
> 
> 
> 
> On Fri, 28 Dec 2001, Jon Gable wrote:
> 
> > Thanks - This machine is using (Sendmail) Email
> and
> > and an FTP service. Where in world would I look
> for
> > the FTP section?
> > 
> > Thanks Again - 
> > 
> > Jon
> > 
> > 
> > --- Christopher Schulte
> > <schulte+freebsd@nospam.schulte.org> wrote:
> > > At 05:52 PM 12/28/2001 -0800, Jon Gable wrote:
> > > >Just confirming:
> > > >
> > > >We are changing ISPs so I'll need to change my
> > > FreeBSD
> > > >machine running Sendmail's IP address.
> > > >
> > > >Is the only place I make the ip change located
> in
> > > the
> > > >hosts file?
> > > 
> > > No.  There will be more places to make changes,
> but
> > > the exact details 
> > > depend on what services you have running.
> > > 
> > > On one of my machines, I would have to edit:
> > > 
> > > /etc/hosts - you got this one
> > > /etc/rc.conf - where ip configuration is usually
> > > stored
> > > /etc/rc.firewall - my ipfw configuration
> > > /etc/named/named.conf - don't forget bind
> > > /usr/local/etc/dhcpd.conf - I run a dhcp server
> here
> > > /usr/local/apache/conf/httpd.conf - I run apache
> > > /usr/local/ncftpd/conf/domain.cf - ncftpd conf
> > > and so on
> > > 
> > > Most basic systems will need to edit at least
> > > /etc/hosts and 
> > > /etc/rc.conf.  The rest really depend on your
> > > machine.  Any service that 
> > > has a static IP address in its configuration
> will
> > > need to be modified.
> > > 
> > > One idea is to grep your /etc files for the IP
> > > address currently 
> > > assigned.  Most (but not necessarily all)
> changes
> > > are in there.
> > > 
> > > >Thanks
> > > >
> > > >Jon
> > > 
> > > --c
> > > 
> > > 
> > 
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > Send your FREE holiday greetings online!
> > http://greetings.yahoo.com
> > 
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-questions" in the body
> of the message
> > 
> 


__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com

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?20011229233126.28319.qmail>