From owner-freebsd-questions@FreeBSD.ORG Sat Jul 7 00:42:17 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1EB4916A421 for ; Sat, 7 Jul 2007 00:42:17 +0000 (UTC) (envelope-from alive@dienub.org) Received: from pqueueb.post.tele.dk (pqueueb.post.tele.dk [193.162.153.10]) by mx1.freebsd.org (Postfix) with ESMTP id DB27D13C4AD for ; Sat, 7 Jul 2007 00:42:16 +0000 (UTC) (envelope-from alive@dienub.org) Received: from pfepa.post.tele.dk (pfepa.post.tele.dk [195.41.46.235]) by pqueueb.post.tele.dk (Postfix) with ESMTP id 3BE188782 for ; Sat, 7 Jul 2007 02:21:54 +0200 (CEST) Received: from m00h.dienub.org (dienub.org [87.48.115.212]) by pfepa.post.tele.dk (Postfix) with ESMTP id CCCD2FAC01B; Sat, 7 Jul 2007 02:21:51 +0200 (CEST) Received: from [192.168.0.2] (Radab0x.dienub.org [192.168.0.2]) by m00h.dienub.org (Postfix) with ESMTP id 9C3CC11432; Sat, 7 Jul 2007 02:21:51 +0200 (CEST) Message-ID: <468EDCA5.4050601@dienub.org> Date: Sat, 07 Jul 2007 02:21:57 +0200 From: "Daniel A. A." User-Agent: Thunderbird 2.0.0.4 (Windows/20070604) MIME-Version: 1.0 To: ray@stilltech.net References: <200707061144.17748.ray@stilltech.net> In-Reply-To: <200707061144.17748.ray@stilltech.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: one server with two ip address 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: Sat, 07 Jul 2007 00:42:17 -0000 Ray wrote: > Hello all, > I have a production server with two network interfaces. The primary interface > is up and running. (DHCP from the local Telco) The second interface is > installed, but not yet active. It will run on a local network only. Can I do > something as simple as > ifconfig nfe1 192.168.0.100 > to give myself access to the internal network? As this is a production server, > I don't want to just play with it too much. > Thanks, > Ray > > _______________________________________________ > 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" > > You'd have to ifconfig nfe1 192.168.0.100 netmask ###.###.###.### But don't worry - If you mistype, or make some other error (Like forgetting to specify the gateway for the connection), nothing happens. You'll just get an error printed to stdout and the netif will remain untouched.