Date: Tue, 7 Sep 2004 11:33:35 +0400 From: "Nickolay A. Kritsky" <nkritsky@star-sw.com> To: kamal kc <rosey_kc@yahoo.com> Cc: freebsd-net@freebsd.org Subject: Re: help:: configuring two network interfaces--message->>ifconfig: ioctl (SIOCAIFADDR): File exists Message-ID: <15766907203.20040907113335@star-sw.com> In-Reply-To: <20040907071030.53611.qmail@web13007.mail.yahoo.com> References: <20040907071030.53611.qmail@web13007.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello kamal, I am not sure but this may be the result of the attempt to assign inet address from the subnet that is already used on the rl0 iface. If you are sure that that you need this behaviour, use netmask of -1 on the rl1 iface. Tuesday, September 07, 2004, 11:10:30 AM, kamal kc wrote: kk> i have run into a mysterious problem. kk> The thing is that i wanted to configure to NIC cards. kk> I just put the card in the slot and booted FreeBSD. The kk> card was detected. When i wanted to configure the nic card using the kk> ifconfig command the following error message was reported. kk> ifconfig: ioctl (SIOCAIFADDR): File exists kk> The same message was reported when i configured the rc.conf file and kk> rebooted the computer. kk> Below i have copied the output of ifconfig and the rc.conf file kk> in case it could help solve the problem. kk> ----------------------------------------------------- kk> kamal# ifconfig kk> rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 kk> inet 192.168.10.1 netmask 0xffffff00 broadcast 192.168.10.255 kk> inet6 fe80::250:fcff:feb6:4e1%rl0 prefixlen 64 scopeid 0x1 kk> ether 00:50:fc:b6:04:e1 kk> media: Ethernet autoselect (none) kk> status: no carrier kk> rl1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 kk> inet6 fe80::2e0:4cff:feb0:cc%rl1 prefixlen 64 scopeid 0x2 kk> ether 00:e0:4c:b0:00:cc kk> media: Ethernet autoselect (none) kk> status: no carrier kk> lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500 kk> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 kk> inet6 ::1 prefixlen 128 kk> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 kk> inet 127.0.0.1 netmask 0xff000000 kk> ---------------------------------------------- kk> kamal# ifconfig rl1 192.168.10.2 kk> ifconfig: ioctl (SIOCAIFADDR): File exists kk> kamal# kk> ---------------------------------------------- kk> kamal# cat rc.conf kk> i kk> # -- sysinstall generated deltas -- # Tue Jan 1 00:34:50 2002 kk> # Created: Tue Jan 1 00:34:50 2002 kk> # Enable network daemons for user convenience. kk> # Please make all changes to this file, not to /etc/defaults/rc.conf. kk> # This file now contains just the overrides from /etc/defaults/rc.conf. kk> linux_enable="YES" kk> sendmail_enable="YES" kk> gateway_enable="YES" kk> sshd_enable="YES" kk> hostname="kamal.com" kk> ifconfig_rl1="inet 192.168.10.1 netmask 255.255.255.0" kk> ifconfig_rl0="inet 192.168.10.2 netmask 255.255.255.0" kk> # -- sysinstall generated deltas -- # Tue Jan 1 01:29:12 2002 kk> moused_enable="YES" kk> kamal# kk> ------------------------------------------------------------ kk> The nic card is detected and configurable in WINDOWS xp and kk> Redhat Linux 9 kk> Another info--- kk> one of the nic is built in with the board and another in add on. kk> please help!! kk> --------------------------------- kk> Do you Yahoo!? kk> Win 1 of 4,000 free domain names from Yahoo! Enter now. kk> _______________________________________________ kk> freebsd-net@freebsd.org mailing list kk> http://lists.freebsd.org/mailman/listinfo/freebsd-net kk> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" -- Best regards, ; Nickolay A. Kritsky ; SysAdmin STAR Software LLC ; mailto:nkritsky@star-sw.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15766907203.20040907113335>