From owner-freebsd-questions@FreeBSD.ORG Mon Sep 8 07:53:20 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 217DB16A4EF for ; Mon, 8 Sep 2003 07:53:20 -0700 (PDT) Received: from mail.wbtsystems.com (onyx.dublin.wbtsystems.com [193.120.231.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E9BB43FCB for ; Mon, 8 Sep 2003 07:53:18 -0700 (PDT) (envelope-from barry.byrne@wbtsystems.com) Received: from spiral ([193.120.231.190]) (authenticated bits=0) by mail.wbtsystems.com (8.12.9/8.12.9) with ESMTP id h88ErEj9035357; Mon, 8 Sep 2003 15:53:14 +0100 (IST) From: "Barry Byrne" To: "Gary" , Date: Mon, 8 Sep 2003 15:53:15 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: <20030908143935.3053.qmail@letric.mygirlfriday.info> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal X-WBT-Authenticated-User: bb X-Scanned-By: MIMEDefang 2.33 (www . roaringpenguin . com / mimedefang) 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 14:53:20 -0000 > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Gary > Sent: 08 September 2003 15:40 > 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" Gary: Add something like: ifconfig_rl0_alias0="inet 192.168.0.200 netmask 0xffffffff" to rc.conf if you want to bring this up without rebooting, try ifconfig rl0 alias 192.168.0.200 netmask 0xffffffff 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. - Barry