From owner-freebsd-sparc64@FreeBSD.ORG Fri Dec 19 16:19:50 2003 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 605BA16A4CE for ; Fri, 19 Dec 2003 16:19:50 -0800 (PST) Received: from sirius.firepipe.net (sirius.firepipe.net [69.13.116.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A5D643D2D for ; Fri, 19 Dec 2003 16:19:49 -0800 (PST) (envelope-from will@csociety.org) Received: by sirius.firepipe.net (Postfix, from userid 1000) id E706117D2C; Fri, 19 Dec 2003 19:19:48 -0500 (EST) Date: Fri, 19 Dec 2003 19:19:48 -0500 From: Will Andrews To: "Phillips, Paul" Message-ID: <20031220001948.GS91270@sirius.firepipe.net> Mail-Followup-To: "Phillips, Paul" , freebsd-sparc64@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i cc: freebsd-sparc64@freebsd.org Subject: Re: Netra T1 105 and two ethernet ports X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Dec 2003 00:19:50 -0000 On Fri, Dec 19, 2003 at 05:36:50PM -0600, Phillips, Paul wrote: > I am quite new to FreeBSD, but not a complete newbie to the unix world. > > I have a Netra T1 105 with two ethernet ports. It is running FreeBSD 5.2 beta. > > I want to have each ethernet port with its own IP address, but both addresses will be on the same subnet. > > I can't make it work, so I have been reading various archives, trying to figure out what was going on. > > After noticing that both ports had the same MAC address, and doing some archive reading, I found that I can easily change the second port to another Mac address by doing this: > > ifconfig hme1 ether aa:1:2:3:4:6 > > I can confirm that this change in MAC address has taken place by ifconfig with no arguments. > > However, when I next type: > ifconfig hme1 inet 192.168.0.100 netmask 255.255.255.0 up > > then I get this message: > ifconfig: ioctl (SIOCAIFADDR): File exists > > I don't know what this means, or how to change it. Yes, you have to change the MAC in the same statement. regards, -- wca