From owner-freebsd-questions@FreeBSD.ORG Wed May 6 08:44:06 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 8DFA81065672 for ; Wed, 6 May 2009 08:44:06 +0000 (UTC) (envelope-from jcigar@ulb.ac.be) Received: from mxin.vub.ac.be (mxin.vub.ac.be [134.184.129.112]) by mx1.freebsd.org (Postfix) with ESMTP id 2D45D8FC13 for ; Wed, 6 May 2009 08:44:05 +0000 (UTC) (envelope-from jcigar@ulb.ac.be) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjICAM/oAEqkD30E/2dsb2JhbAAI0CSEAQWICg Received: from bebif01.ulb.ac.be (HELO [10.0.0.194]) ([164.15.125.4]) by smtp.vub.ac.be with ESMTP; 06 May 2009 10:43:58 +0200 From: Julien Cigar To: Pieter Donche In-Reply-To: References: Content-Type: text/plain; charset=utf-8 Date: Wed, 06 May 2009 10:46:19 +0200 Message-Id: <1241599579.2656.5.camel@frodon.be-bif.ulb.ac.be> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 8bit 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:44:06 -0000 On Wed, 2009-05-06 at 10:18 +0200, Pieter Donche wrote: > Just want to check: > > If a freebsd7 system is to move to a different subnet > (from ip XXX.YYY.AAA.BBB to XXX.YYY.CCC.DDD) > same netmask 255.255.255.0 > same hostname myhost.mydomain.mycountry > same DNS servers > > then /etc/rc.conf is the only file that needs changes? > yes (maybe /etc/hosts too) > defaultrouter="XXX.YYY.CCC.254" <--- > hostname="myhost.mydomain.mycountry" > ifconfig_em0="inet XXX.YYY.CCC.DDD netmask 255.255.255.0" <--- > > and reboot ? no need to reboot, just #> /etc/rc.d/netif restart > or is there any other file(s) to change? > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Julien Cigar Belgian Biodiversity Platform http://www.biodiversity.be Université Libre de Bruxelles (ULB) Campus de la Plaine CP 257 Bâtiment NO, Bureau 4 N4 115C (Niveau 4) Boulevard du Triomphe, entrée ULB 2 B-1050 Bruxelles Mail: jcigar@ulb.ac.be @biobel: http://biobel.biodiversity.be/person/show/471 Tel : 02 650 57 52