From owner-freebsd-questions Sun Aug 2 05:34:05 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA07052 for freebsd-questions-outgoing; Sun, 2 Aug 1998 05:34:05 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from cyclone.degnet.baynet.de (cyclone.degnet.baynet.de [194.95.214.129]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id FAA07038 for ; Sun, 2 Aug 1998 05:34:00 -0700 (PDT) (envelope-from malte.lance@gmx.net) Received: from neuron.webmore.de (unverified [194.95.214.188]) by cyclone.degnet.baynet.de (EMWAC SMTPRS 0.83) with SMTP id ; Sun, 02 Aug 1998 14:35:46 +0200 Received: (from malte.lance@gmx.net) by neuron.webmore.de (8.8.8/8.8.8) id OAA01051; Sun, 2 Aug 1998 14:32:27 +0200 (CEST) From: Malte Lance MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Sun, 2 Aug 1998 14:32:26 +0200 (CEST) To: "Daniel Lee" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: question about two NICs In-Reply-To: <19980801222039.8724.qmail@hotmail.com> References: <19980801222039.8724.qmail@hotmail.com> X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs Lucid Message-ID: <13764.20565.844946.217582@neuron.webmore.de> Reply-To: malte.lance@gmx.net Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Daniel Lee writes: > Hi, > > I have a problem regarding of configurating two network cards > on my FreeBSD 2.2.7. The network cards are NE2000, and 3c509 > and i have recompiled the Kernel and successfully detect both > NIC's as ed0 and ep0 respectively. > > I have no problem ifconfig ed0 to 10.10.10.3, but when i tried > to ifconfig ep0 to 10.10.10.5, there is an error which says > > >> ifconfig: ioctrl(SIOCAIFADDR): File exist > > it doesn't matter whether I ifconfig ed0 first or ep0 first, the > first configured network card always can ifconfig, and there is > always a problem configuring the second one. You ifconfig'ed without specifying a netmask, correct ? Then a netmask of 0xffffff00 is assumed in your case (depends on the nature of the IP-address IIRC; have a look at "man route") Applying a netmask of 0xffffff00 to the IP-addresses 10.10.10.3 and 10.10.10.5 gives the same network. Now ifconfig complains that you want to assign the same network to different devices. Try to give an explicit "netmask" argument to ifconfig. Malte. > > i have no clues how to configure it so that both network cards > can be used at the same time... > > thanks in advance! > > > daniel. > > > > > > > > > ______________________________________________________ > Get Your Private, Free Email at http://www.hotmail.com > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message