From owner-freebsd-questions Sat Aug 17 14:12:36 2002 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 4D55937B400 for ; Sat, 17 Aug 2002 14:12:34 -0700 (PDT) Received: from hawk.mail.pas.earthlink.net (hawk.mail.pas.earthlink.net [207.217.120.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id D035043E65 for ; Sat, 17 Aug 2002 14:12:33 -0700 (PDT) (envelope-from iwes@totalmac.net) Received: from 1cust18.tnt5.akron.oh.da.uu.net ([65.238.140.18] helo=silver.totalmac.net) by hawk.mail.pas.earthlink.net with smtp (Exim 3.33 #1) id 17gAs3-0002jg-00 for FreeBSD-questions@FreeBSD.org; Sat, 17 Aug 2002 14:12:32 -0700 Received: (qmail 24858 invoked from network); 17 Aug 2002 21:12:27 -0000 Received: from user21.dhcp0.168.192.totalmac.net (192.168.0.21) by silver.totalmac.net with SMTP; 17 Aug 2002 21:12:27 -0000 Message-ID: <006001c24632$c559c8e0$1500a8c0@dhcp0.168.192.TotalMac.net> From: "Wes Baehr" To: "Raymond" , References: <3D5EA9CD.6080201@vignettestraining.com> Subject: Re: Ifconfig Error when setting ip address Date: Sat, 17 Aug 2002 17:12:18 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Try using a netmask of 255.255.255.255 on the second card. -- wes ----- Original Message ----- From: Raymond To: Sent: Saturday, August 17, 2002 3:53 PM Subject: Ifconfig Error when setting ip address > I have a system that has two network cards in it, > whenever I try to set the network cards on the same subnet, > for example "192.168.1.1" and "192.168.1.2", it fails. > The error is: ifconfig: ioctl (SIOCAIFADDR): file exists > My configuration is two SMC network cards, of the same model. > ifconfig prints the following: > dc0: flags=8843 mtu 1500 > inet 192.168.1.150 netmask 0xffffff00 broadcast 192.168.1.255 > inet6 fe80::203:6dff:fe1a:49c8%dc0 prefixlen 64 scopeid 0x1 > ether 00:03:6d:1a:49:c8 > media: Ethernet autoselect (100baseTX ) > status: active > dc1: flags=8802 mtu 1500 > > ether 00:03:6d:1a:49:c8 > media: Ethernet autoselect (100baseTX) > status: active > lp0: flags=8810 mtu 1500 > lo0: flags=8049 mtu 16384 > inet6 ::1 prefixlen 128 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 > inet 127.0.0.1 netmask 0xff000000 > ppp0: flags=8010 mtu 1500 > sl0: flags=c010 mtu 552 > faith0: flags=8002 mtu 1500 > gif0: flags=8051 mtu 1280 > tunnel inet 209.178.116.35 --> 206.123.31.114 > inet6 fe80::203:6dff:fe1a:49c8%gif0 prefixlen 64 scopeid 0x7 > inet6 3ffe:b80:2:ae31::2 --> 3ffe:b80:2:ae31::1 prefixlen 128 > > > Any help is greatly appreciated, > - Raymond Jimenez > > > 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