From owner-freebsd-questions@FreeBSD.ORG Thu Aug 5 19:19:12 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0270F1065670; Thu, 5 Aug 2010 19:19:12 +0000 (UTC) (envelope-from gjin@ubicom.com) Received: from server70.appriver.com (server70b.appriver.com [74.205.4.150]) by mx1.freebsd.org (Postfix) with ESMTP id 91E578FC15; Thu, 5 Aug 2010 19:19:11 +0000 (UTC) X-Policy: GLOBAL - ubicom.com X-Policy: GLOBAL - ubicom.com X-Primary: gjin@ubicom.com X-Note: This Email was scanned by AppRiver SecureTide X-ALLOW: @ubicom.com ALLOWED X-Virus-Scan: V- X-Note: Spam Tests Failed: X-Country-Path: UNITED STATES->UNITED STATES X-Note-Sending-IP: 216.112.109.98 X-Note-Reverse-DNS: 216.112.109.98.ptr.us.xo.net X-Note-WHTLIST: gjin@ubicom.com X-Note: User Rule Hits: X-Note: Global Rule Hits: G202 G203 G204 G205 G209 G210 G221 G309 X-Note: Encrypt Rule Hits: X-Note: Mail Class: ALLOWEDSENDER X-Note: Headers Injected Received: from [216.112.109.98] (HELO stork.scenix.com) by server70.appriver.com (CommuniGate Pro SMTP 5.3.7) with ESMTP id 138164469; Thu, 05 Aug 2010 14:19:20 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Date: Thu, 5 Aug 2010 11:17:21 -0700 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Ifconfig (DHCP?) configures two IPs in one IF Thread-Index: Acs0ynInpd+/WxTZRAGPmP9LwLLFdg== From: "Guojun Jin" To: Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: questions@freebsd.org Subject: Ifconfig (DHCP?) configures two IPs in one IF X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Aug 2010 19:19:12 -0000 This problem comes in 8.1-R. I have seen it before and thought I filed = a report but cannot find it. I found one (bin/21292) for ifconfig, but it was for two NICs with a = same IP. Now is a reversed case One NIC has two IPs. Here is the description: Due to DHCP server down, I manually configured rl0 to 192.168.0.10 for = temporarily use. In the middle of working, DHCP came back and assigned another IP on the = rl0, now NIC is down due to two conflict IP addresses. rl0: flags=3D8843 metric 0 mtu = 1500 options=3D8 ether 00:40:f4:d1:23:9a inet 192.168.0.10 netmask 0xffffff00 broadcast 192.168.0.255 inet 10.10.50.126 netmask 0xffffff00 broadcast 10.10.50.255 media: Ethernet autoselect (100baseTX ) status: active plip0: flags=3D8810 metric 0 mtu 1500 I tried unplumb/delete rl0, but if does not work. Before the bug can be fixed, is any way to fix the IP without rebooting = the machine? -Jin