From owner-freebsd-questions Fri Dec 28 18:28:51 2001 Delivered-To: freebsd-questions@freebsd.org Received: from poontang.schulte.org (poontang.schulte.org [209.134.156.197]) by hub.freebsd.org (Postfix) with ESMTP id F13AD37B41F for ; Fri, 28 Dec 2001 18:28:47 -0800 (PST) Received: from tarmap.nospam.schulte.org (tarmap.schulte.org [209.134.156.198]) by poontang.schulte.org (Postfix) with ESMTP id E60AED148C; Fri, 28 Dec 2001 20:28:46 -0600 (CST) Message-Id: <5.1.0.14.0.20011228201932.02d80da0@pop3s.schulte.org> X-Sender: (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Fri, 28 Dec 2001 20:28:42 -0600 To: Jon Gable , questions@FreeBSD.org From: Christopher Schulte Subject: Re: Changing IPs In-Reply-To: <20011229015219.33801.qmail@web21105.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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