From owner-freebsd-sparc64@FreeBSD.ORG Fri Dec 19 16:55:24 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 6E71316A4CF for ; Fri, 19 Dec 2003 16:55:24 -0800 (PST) Received: from s31xe3.systems.smu.edu (s31xe3.systems.smu.edu [129.119.70.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E3F443D39 for ; Fri, 19 Dec 2003 16:55:23 -0800 (PST) (envelope-from paulp@mail.smu.edu) X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Date: Fri, 19 Dec 2003 18:55:22 -0600 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Netra T1 105 and two ethernet ports Thread-Index: AcPGjvs+X0u9cI0TQM2fMwdPT9YYtAABJG1W From: "Phillips, Paul" To: "Will Andrews" 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:55:24 -0000 I tried: ifconfig hme1 ether 0a:00:20:c2:1c:c2 inet 192.168.1.95 netmask = 255.255.255.0 broadcast 192.168.1.255 up doing it all in one statement as Will suggested, and got back: ifconfig: can't set link-level netmask or broadcast Hmm, Paul -----Original Message----- >=20 > I want to have each ethernet port with its own IP address, but both = addresses will be on the same subnet. >=20 > I can't make it work, so I have been reading various archives, trying = to figure out what was going on. >=20 > 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: >=20 > ifconfig hme1 ether aa:1:2:3:4:6 >=20 > I can confirm that this change in MAC address has taken place by = ifconfig with no arguments. >=20 > However, when I next type: > ifconfig hme1 inet 192.168.0.100 netmask 255.255.255.0 up >=20 > then I get this message: > ifconfig: ioctl (SIOCAIFADDR): File exists >=20 > I don't know what this means, or how to change it. Yes, you have to change the MAC in the same statement. regards, --=20 wca