From owner-freebsd-net@FreeBSD.ORG Tue Sep 7 07:10:30 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6D4A716A4CE for ; Tue, 7 Sep 2004 07:10:30 +0000 (GMT) Received: from web13007.mail.yahoo.com (web13007.mail.yahoo.com [216.136.174.17]) by mx1.FreeBSD.org (Postfix) with SMTP id 307C543D5E for ; Tue, 7 Sep 2004 07:10:30 +0000 (GMT) (envelope-from rosey_kc@yahoo.com) Message-ID: <20040907071030.53611.qmail@web13007.mail.yahoo.com> Received: from [202.51.78.5] by web13007.mail.yahoo.com via HTTP; Tue, 07 Sep 2004 00:10:30 PDT Date: Tue, 7 Sep 2004 00:10:30 -0700 (PDT) From: kamal kc To: freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: help:: configuring two network interfaces--message->>ifconfig: ioctl (SIOCAIFADDR): File exists X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Sep 2004 07:10:30 -0000 i have run into a mysterious problem. The thing is that i wanted to configure to NIC cards. I just put the card in the slot and booted FreeBSD. The card was detected. When i wanted to configure the nic card using the ifconfig command the following error message was reported. ifconfig: ioctl (SIOCAIFADDR): File exists The same message was reported when i configured the rc.conf file and rebooted the computer. Below i have copied the output of ifconfig and the rc.conf file in case it could help solve the problem. ----------------------------------------------------- kamal# ifconfig rl0: flags=8843 mtu 1500 inet 192.168.10.1 netmask 0xffffff00 broadcast 192.168.10.255 inet6 fe80::250:fcff:feb6:4e1%rl0 prefixlen 64 scopeid 0x1 ether 00:50:fc:b6:04:e1 media: Ethernet autoselect (none) status: no carrier rl1: flags=8843 mtu 1500 inet6 fe80::2e0:4cff:feb0:cc%rl1 prefixlen 64 scopeid 0x2 ether 00:e0:4c:b0:00:cc media: Ethernet autoselect (none) status: no carrier lp0: flags=8810 mtu 1500 lo0: flags=8049 mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 inet 127.0.0.1 netmask 0xff000000 ---------------------------------------------- kamal# ifconfig rl1 192.168.10.2 ifconfig: ioctl (SIOCAIFADDR): File exists kamal# ---------------------------------------------- kamal# cat rc.conf i # -- sysinstall generated deltas -- # Tue Jan 1 00:34:50 2002 # Created: Tue Jan 1 00:34:50 2002 # Enable network daemons for user convenience. # Please make all changes to this file, not to /etc/defaults/rc.conf. # This file now contains just the overrides from /etc/defaults/rc.conf. linux_enable="YES" sendmail_enable="YES" gateway_enable="YES" sshd_enable="YES" hostname="kamal.com" ifconfig_rl1="inet 192.168.10.1 netmask 255.255.255.0" ifconfig_rl0="inet 192.168.10.2 netmask 255.255.255.0" # -- sysinstall generated deltas -- # Tue Jan 1 01:29:12 2002 moused_enable="YES" kamal# ------------------------------------------------------------ The nic card is detected and configurable in WINDOWS xp and Redhat Linux 9 Another info--- one of the nic is built in with the board and another in add on. please help!! --------------------------------- Do you Yahoo!? Win 1 of 4,000 free domain names from Yahoo! Enter now.