From owner-freebsd-questions@FreeBSD.ORG Wed May 6 08:42:52 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D1E6B106564A for ; Wed, 6 May 2009 08:42:52 +0000 (UTC) (envelope-from on@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) by mx1.freebsd.org (Postfix) with ESMTP id 504238FC15 for ; Wed, 6 May 2009 08:42:52 +0000 (UTC) (envelope-from on@cs.ait.ac.th) Received: from cs.ait.ac.th (ufo.cs.ait.ac.th [192.41.170.14]) by mail.cs.ait.ac.th (8.13.1/8.13.1) with ESMTP id n468d8M0046083; Wed, 6 May 2009 15:39:08 +0700 (ICT) (envelope-from on@cs.ait.ac.th) Received: from 203.159.17.104 ([203.159.17.104]) by wwws.cs.ait.ac.th (Horde MIME library) with HTTP; Wed, 06 May 2009 15:42:51 +0700 Message-ID: <20090506154251.o6zz76tws0sogwso@wwws.cs.ait.ac.th> Date: Wed, 06 May 2009 15:42:51 +0700 From: on@cs.ait.ac.th To: Pieter Donche References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.0.4) X-Virus-Scanned: on CSIM by amavisd-milter (http://www.amavis.org/) Cc: "mail.list freebsd-questions" Subject: Re: move to other subnet X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 May 2009 08:42:53 -0000 Hi, > then /etc/rc.conf is the only file that needs changes? > > defaultrouter="XXX.YYY.CCC.254" <--- > hostname="myhost.mydomain.mycountry" > ifconfig_em0="inet XXX.YYY.CCC.DDD netmask 255.255.255.0" <--- > > and reboot ? > or is there any other file(s) to change? In theory, yes, that changes the IP address of the machine. But then you may have some services configured to listen to a specific IP address, these services will have to be reconfigured too. Olivier ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.