From owner-freebsd-bugs Fri Sep 15 8:20: 6 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 5457D37B424 for ; Fri, 15 Sep 2000 08:20:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id IAA82670; Fri, 15 Sep 2000 08:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from iss-p1.lbl.gov (iss-p1.lbl.gov [131.243.2.47]) by hub.freebsd.org (Postfix) with ESMTP id 2953A37B424 for ; Fri, 15 Sep 2000 08:19:56 -0700 (PDT) Received: (from jin@localhost) by iss-p1.lbl.gov (8.9.3/8.9.3) id IAA36871; Fri, 15 Sep 2000 08:19:55 -0700 (PDT) (envelope-from jin) Message-Id: <200009151519.IAA36871@iss-p1.lbl.gov> Date: Fri, 15 Sep 2000 08:19:55 -0700 (PDT) From: Jin Guojun (DSD staff) Reply-To: j_guojun@lbl.gov To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/21292: ifconfig warn but does duplicate IP address Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 21292 >Category: bin >Synopsis: ifconfig warn but does duplicate IP address >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Sep 15 08:20:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Jin Guojun (DSD staff) >Release: FreeBSD 4.1-RELEASE i386 >Organization: >Environment: Seen this issue in 4.1-RELEASE, but may in all releases. When ifconfig two NIC to have the same address, ifconfig warns ifconfig: ioctl (SIOCAIFADDR): File exists but still assign the same IP to the second NIC. See Description. >Description: cal2 1 # ifconfig sk0: flags=8843 mtu 1500 inet 10.0.0.2 netmask 0xffffff00 broadcast 10.0.0.255 inet6 fe80::200:5aff:fe98:4b68%sk0 prefixlen 64 scopeid 0x2 ether 00:00:5a:98:4b:68 media: autoselect (1000baseSX ) status: active supported media: autoselect 1000baseSX 1000baseSX none sk1: flags=8843 mtu 1500 inet 204.62.155.22 netmask 0xffffff00 broadcast 204.62.155.255 inet6 fe80::200:5aff:fe98:e448%sk1 prefixlen 64 scopeid 0x3 ether 00:00:5a:98:e4:48 media: autoselect (1000baseSX ) status: active supported media: autoselect 1000baseSX 1000baseSX none lo0: flags=8049 mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 cal2 2 # ifconfig sk0 204.62.155.22 netmask 0xffffff00 up ifconfig: ioctl (SIOCAIFADDR): File exists cal2 3 # ifconfig sk0: flags=8843 mtu 1500 inet6 fe80::200:5aff:fe98:4b68%sk0 prefixlen 64 scopeid 0x2 inet 204.62.155.22 netmask 0xffffff00 broadcast 204.62.155.255 ether 00:00:5a:98:4b:68 media: autoselect (1000baseSX ) status: active supported media: autoselect 1000baseSX 1000baseSX none sk1: flags=8843 mtu 1500 inet 204.62.155.22 netmask 0xffffff00 broadcast 204.62.155.255 inet6 fe80::200:5aff:fe98:e448%sk1 prefixlen 64 scopeid 0x3 ether 00:00:5a:98:e4:48 media: autoselect (1000baseSX ) status: active >How-To-Repeat: See Description. >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message