From owner-freebsd-net@FreeBSD.ORG Tue Sep 16 11:31:30 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9F9DD1065681 for ; Tue, 16 Sep 2008 11:31:30 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-gx0-f17.google.com (mail-gx0-f17.google.com [209.85.217.17]) by mx1.freebsd.org (Postfix) with ESMTP id 5CCBF8FC40 for ; Tue, 16 Sep 2008 11:31:30 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: by gxk10 with SMTP id 10so25075422gxk.19 for ; Tue, 16 Sep 2008 04:31:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=TQrCOhfWXOFSo20u7f1OY7hxuPg5JiziRGgOSQa/kKI=; b=aoUDTdm6YDCymPlgAGQmhsQWFFoAOaiN8t5a7uX6PjLGWgnfDvRuBHB4DqITpcMeUM zIY2FHvH660tPIGNXT0kwgqdIFrAjr4slEz68Mv5PuM/1yVQB0+4PCijZ4sFV14k5E0Y lTqNycoEllo0mJK5LFpDSa4yF6zSIus9tcvLc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=tXiT+niJSFZktNHANSXI8/7tZkcbCaOI1z2y5dYDoOcOa+CPM1jG9K1f+Bdq/OY1Cw R3C5e0fr87SPpQ2zJ/VHD2RzRpHhUOT+UTClDzcPEikRk83q0bbvZ+kHvdEj5obe29rQ N0NAFDZuZtkXwDSVEh0dF7AaSXbve//H4q51Q= Received: by 10.150.137.8 with SMTP id k8mr1310649ybd.202.1221564689678; Tue, 16 Sep 2008 04:31:29 -0700 (PDT) Received: by 10.151.8.8 with HTTP; Tue, 16 Sep 2008 04:31:29 -0700 (PDT) Message-ID: <4ad871310809160431j4adfc578g71afc242e8ead3b3@mail.gmail.com> Date: Tue, 16 Sep 2008 07:31:29 -0400 From: "Glen Barber" To: "Jordi Espasa Clofent" In-Reply-To: <48CF930B.4020704@minibofh.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48CF930B.4020704@minibofh.org> Cc: freebsd-net@freebsd.org Subject: Re: Change netmask with /etc/rc.d/network restart or reboot the machine? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Sep 2008 11:31:30 -0000 You could change the interface settings in rc.conf, and /etc/rc.d/netif restart. I've added/removed aliased interfaces in a similar fashion, and haven't experienced hiccups. You should, however, double check your service applications that listen on particular IP addresses to make sure they are going to behave after netif restarts, as well as after a reboot. Certain changes, for example apache, require the service to be restarted as well. Regards. -- Glen Barber