Date: Fri, 15 Sep 2000 08:19:55 -0700 (PDT) From: Jin Guojun (DSD staff) <jin@iss-p1.lbl.gov> To: FreeBSD-gnats-submit@freebsd.org Subject: bin/21292: ifconfig warn but does duplicate IP address Message-ID: <200009151519.IAA36871@iss-p1.lbl.gov>
next in thread | raw e-mail | index | archive | help
>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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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 <half-duplex>) status: active supported media: autoselect 1000baseSX <full-duplex> 1000baseSX none sk1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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 <full-duplex>) status: active supported media: autoselect 1000baseSX <full-duplex> 1000baseSX none lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> 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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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 <full-duplex>) status: active supported media: autoselect 1000baseSX <full-duplex> 1000baseSX none sk1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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 <half-duplex>) 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200009151519.IAA36871>