From owner-freebsd-questions@FreeBSD.ORG Sat Jul 7 13:04:22 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 6C49316A421 for ; Sat, 7 Jul 2007 13:04:22 +0000 (UTC) (envelope-from mnslinky@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.179]) by mx1.freebsd.org (Postfix) with ESMTP id 24F9513C455 for ; Sat, 7 Jul 2007 13:04:22 +0000 (UTC) (envelope-from mnslinky@gmail.com) Received: by py-out-1112.google.com with SMTP id a73so797089pye for ; Sat, 07 Jul 2007 06:04:21 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:in-reply-to:references:mime-version:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer; b=S1ZuD1QvertTS+XPlPev7Hm+HuuY+b1HcE8/F1cstgt3xQ+W8LSklz0KPe7jErgloH1WMSyUjbZljcuBdCx4s2gROIIrLnfWlIPx09tDxCTv3WHEeeQtAf0JADj30aYd+k+eml9CpB+yb1Gc0/gk9ox84b/xVQSdFkw/XjqduPE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:in-reply-to:references:mime-version:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer; b=BinId+xS2A+7I8uPA/pCNTGwLqo1ir23Y8SeQWUiVrxja/KZXP2bGwAtpyDnr82t9GWXOfc888q1N9Vx/v5F8/xJr6dUmIrf71hF5NMLa6Jaijmjy5Zm6bGt1V0AgYjjag4yFj3SKIlg832G+i1QalVJu6XT5C1mBGtVv+3GDbw= Received: by 10.35.26.14 with SMTP id d14mr3130202pyj.1183813461411; Sat, 07 Jul 2007 06:04:21 -0700 (PDT) Received: from ?192.168.1.2? ( [209.240.66.157]) by mx.google.com with ESMTP id f78sm28985199pyh.2007.07.07.06.04.20 (version=SSLv3 cipher=OTHER); Sat, 07 Jul 2007 06:04:20 -0700 (PDT) In-Reply-To: <468EDCA5.4050601@dienub.org> References: <200707061144.17748.ray@stilltech.net> <468EDCA5.4050601@dienub.org> Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <9DF80946-8AC5-469E-B870-2046411DB930@gmail.com> Content-Transfer-Encoding: 7bit From: Eric Crist Date: Sat, 7 Jul 2007 08:04:17 -0500 To: Daniel A. A. X-Mailer: Apple Mail (2.752.3) Cc: ray@stilltech.net, 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 13:04:22 -0000 On Jul 6, 2007, at 7:21 PMJul 6, 2007, Daniel A. A. wrote: > 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 > 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. > You can shorten that command using CIDR notation as well: ifconfig nfe1 192.168.0.100/24 Eric Crist