From owner-freebsd-questions@FreeBSD.ORG Mon Sep 8 08:16:12 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CBF7716A4BF for ; Mon, 8 Sep 2003 08:16:12 -0700 (PDT) Received: from mygirlfriday.info (adsl-65-64-145-209.dsl.stlsmo.swbell.net [65.64.145.209]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD76C43FE5 for ; Mon, 8 Sep 2003 08:16:11 -0700 (PDT) (envelope-from gv-mailed@mygirlfriday.info) Received: (qmail 31615 invoked from network); 8 Sep 2003 15:16:10 -0000 Received: from user204.net795.mo.sprint-hsd.net (HELO mygirlfriday.info) (65.41.216.204) by mongo.mygirlfriday.info with DES-CBC3-SHA encrypted SMTP; 8 Sep 2003 15:16:10 -0000 Received: (qmail 3148 invoked by uid 500); 8 Sep 2003 15:16:09 -0000 Message-ID: <20030908151609.3147.qmail@letric.mygirlfriday.info> Date: Mon, 8 Sep 2003 10:16:09 -0500 From: Gary To: freebsd-questions@freebsd.org Mail-Followup-To: freebsd-questions@freebsd.org References: <20030908143935.3053.qmail@letric.mygirlfriday.info> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i Organization: Hardly Subject: Re: aliasing ethernet cards in FBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Sep 2003 15:16:12 -0000 On Mon, Sep 08, 2003 at 03:53:15PM +0100 or thereabouts, Barry Byrne wrote: > > > How would I do this in FBSD, setting up an aliased ether to an Ip address? > > my current rc.conf file currently contains just the address of the > > machine, as such. > > ifconfig_rl0="inet 192.168.0.100 netmask 255.255.255.0" > Add something like: > > ifconfig_rl0_alias0="inet 192.168.0.200 netmask 0xffffffff" > to rc.conf Perfect solution, thank you for your geat input. > if you want to bring this up without rebooting, try > ifconfig rl0 alias 192.168.0.200 netmask 0xffffffff Right.. > Note. That the netmask is 0xffffffff if the alias is on the same subnet as > the original IP, if different, then use the appropriate submask for the new > alias. Yes, when I build these systems, I usually put them on the same subnet to keep it simple...unless I can't. Thanks very much Barry... In many ways, I find FBSD more powerful, yet more simple to use than Linux (at least so far).. -- Gary Doing a job RIGHT the first time gets the job done. Doing the job WRONG fourteen times gives you job security.