From owner-freebsd-questions Fri Nov 12 14:30:27 1999 Delivered-To: freebsd-questions@freebsd.org Received: from akira.lanfear.com (akira.lanfear.com [208.12.10.34]) by hub.freebsd.org (Postfix) with ESMTP id 403B514C2F for ; Fri, 12 Nov 1999 14:30:23 -0800 (PST) (envelope-from MarcW@Lanfear.com) Received: by akira.lanfear.com with Internet Mail Service (5.5.1960.3) id ; Fri, 12 Nov 1999 14:32:36 -0800 Message-ID: <13D5F9EDFD72D211BC3100105A1C22330549D9@akira.lanfear.com> From: Marc Wandschneider To: 'root' , freebsd-questions@FreeBSD.ORG Subject: RE: Changing IPs Date: Fri, 12 Nov 1999 14:32:29 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.1960.3) Content-Type: text/plain Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I asked this question but yesterday. There are a tonne of good answers on it. The low-down: 1. change /etc/rc.conf 2. change /etc/hosts 3. run "ifconfig eth0 inet 192.168.1.1 netmask 255.255.255.0" with all your info in there instead. you're good to go. no reboot required. [eth0 is network card] Thassit. Search the archives for this list at: http://www.freebsd.org/search/search.html (Don't forget to enter in the Mailing List Serach entry, not the web pages search entry. marc. > -----Original Message----- > From: root [mailto:root@blane.interland.net] > Sent: Fri, November 12, 1999 2:10 PM > To: freebsd-questions@FreeBSD.ORG > Subject: Changing IPs > > > Hello, > > Sorry for such an elementary question, but it has been 2 years since I > ever looked at freebsd. I need to take a machine say - > server1. server1 > currently has one class C mapped to it - 208.3.3. Say I > needed to mass > change the ips of the interface and the alias to 209.2.2. I know that > IP's are assisgned in /etc/rc.conf and /etc/hosts is the same > in all unix > but I have a feeling that I am missing something. Is rc.conf the only > file I need to edit to change the IP's. Also I found > /stand/sysinstall > but I really DO NOT want to use any type of GUI. One last > one: Is there > a seachable archive for this list? I am sure this has been > asked before > but I could not find one. > > > Andrew Hall > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message