Date: Tue, 7 Sep 2004 00:10:30 -0700 (PDT) From: kamal kc <rosey_kc@yahoo.com> To: freebsd-net@freebsd.org Subject: help:: configuring two network interfaces--message->>ifconfig: ioctl (SIOCAIFADDR): File exists Message-ID: <20040907071030.53611.qmail@web13007.mail.yahoo.com>
next in thread | raw e-mail | index | archive | help
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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040907071030.53611.qmail>