Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Dec 2001 20:28:42 -0600
From:      Christopher Schulte <schulte+freebsd@nospam.schulte.org>
To:        Jon Gable <ismile4jazz@yahoo.com>, questions@FreeBSD.org
Subject:   Re: Changing IPs
Message-ID:  <5.1.0.14.0.20011228201932.02d80da0@pop3s.schulte.org>
In-Reply-To: <20011229015219.33801.qmail@web21105.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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?5.1.0.14.0.20011228201932.02d80da0>