From owner-freebsd-questions@FreeBSD.ORG Thu Aug 5 20:34:29 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 4A3BE106567A for ; Thu, 5 Aug 2010 20:34:29 +0000 (UTC) (envelope-from wahjava@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id E88888FC17 for ; Thu, 5 Aug 2010 20:34:28 +0000 (UTC) Received: by pzk7 with SMTP id 7so2972656pzk.13 for ; Thu, 05 Aug 2010 13:34:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:received:from:to:cc :subject:organization:references:x-face:x-uptime:x-url :x-operating-system:x-openpgp-id:x-openpgp-fingerprint:x-mailer :x-mail-morse:x-attribution:organisation:date:in-reply-to:message-id :user-agent:face:mime-version:content-type; bh=uIfqnmtoX5h0Kj9knVZ5Gi5yjnh2EzzKgZ30EWf9FlI=; b=npdkt+XOfS+Gr/Uh/+MDG5y0F5Iu9AiDOTcjWSZa2Vtdhfmeg0B+zVIadX1qAJ90EN u9kBX5LJ3NOkk7T0FoxZKCmQ0Z6slIeYVUbKROkwvr0+GkbHbkO5j+9XTgiigLEQb9rN dl6kO9fZNf4loODXC/v7rey7BLWAD/do92U0g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:organization:references:x-face:x-uptime :x-url:x-operating-system:x-openpgp-id:x-openpgp-fingerprint :x-mailer:x-mail-morse:x-attribution:organisation:date:in-reply-to :message-id:user-agent:face:mime-version:content-type; b=DrSxvyFaJzo0YphEM8M6LLM7F/XH+lZbBTp9Bt7GPlxfUiCf1hyng3lkSKKyXDtYM4 7WpxzNV1BCXkBwnEU77uslOoONOU0h75CM0H91D0SxVmJrQK/02AwCbC8KD71uykLu+4 V3eHwtcZtNwtNgFdScPfN0o61XUib7kdZQ6d0= Received: by 10.142.199.20 with SMTP id w20mr9498762wff.290.1281038815442; Thu, 05 Aug 2010 13:06:55 -0700 (PDT) Received: from chateau.d.if ([122.161.169.116]) by mx.google.com with ESMTPS id t11sm538610wfc.4.2010.08.05.13.06.52 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 05 Aug 2010 13:06:54 -0700 (PDT) Sender: Ashish SHUKLA Received: from chateau.d.if (chateau.d.if [127.0.0.1]) by chateau.d.if (Postfix) with ESMTP id 257C92D8028; Fri, 6 Aug 2010 01:36:47 +0530 (IST) From: ashish@FreeBSD.org (Ashish SHUKLA) To: "Guojun Jin" Organization: The FreeBSD Project References: X-Face: )vGQ9yK7Y$Flebu1C>(B\gYBm)[$zfKM+p&TT[[JWl6:]S>cc$%-z7-`46Zf0B*syL.C]oCq[upTG~zuS0.$"_%)|Q@$hA=9{3l{%u^h3jJ^Zl; t7 X-Uptime: 01:36:26 up 5:02, 1 user, load average: 0.00, 0.03, 0.01 X-URL: http://762e5e74.wordpress.com/ X-Operating-System: GNU/Linux/Linux 2.6.34-ARCH/x86_64 X-OpenPGP-ID: E74FA4B0 X-OpenPGP-Fingerprint: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0 X-Mailer: Gnus v5.13 X-Mail-Morse: .-- .- .... .--- .- ...- .- .--.-. --. -- .- .. .-.. .-.-.- -.-. --- -- X-Attribution: =?utf-8?B?4KSG4KS24KWA4KS3?= Organisation: The FreeBSD Project Date: Fri, 06 Aug 2010 01:36:42 +0530 In-Reply-To: (Guojun Jin's message of "Thu, 5 Aug 2010 11:17:21 -0700") Message-ID: <86y6ckhlil.fsf@chateau.d.if> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-unknown-linux-gnu) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJ1BMVEWpqal/f39tbW1jY2Md HR2goKCenp6UlJROTk7////9/f35+fnT09ORJdieAAACVklEQVQ4jXXUP2vbQBQA8AvUTkgz5OzY Z0iGWhpS6BSrkECn0mvx0MEJ6AjtYrfoBCVDlD8naJYmNlRfwZq8+mkKlIZaGpJSYmP7Q/XkJDrJ Td8i/H68u3vHPaPufwLdf32AMA4A6GcAgvAamY1pOJiDIFqicTwLswDhfr3uxfFtkAY/GFHPMwzD 8zpnACmIOnE6js7rQb+v4NJrG9od0C+QgpHMy5jBewV+UDSMWiw1Y4fWfyV7+NGFzDsYa3pth9LJ Q4XvXxFHcJRvHOmygn5NAEabnDcQQguarnfoiwSCJ99jmKKcphsZONmWsDK9Ro7cvZOCtQdg8nje egLhc2LNlkLmsezzTFUUy5w18ocox/f0LaLgJy0zO75zk+9pp85GAj36xjqhdI0y3tq2m4dqqcWX zQWBTz8L1irvolXV4J+3q7eCDgVnttjNq6X8H+9KOZsuNk1uCzx8pSp+E9HImfJOTLdcGqo+YKnG EIovizkEn48V7BO+ch2DXcD4ENSpWiU+q8hjjbgTBZCXnZtyj0Ws4Q1Q0B2WXFtYZo65Bbyeeldw RS6qFueM80LlLA29YlVwGRYvFD+kwI/0O+A2PlpOP9GwslUVciHuYGechuBTp922YiDZCrghTknm XSyOM+D3aoRZlo0Jb42zY7DN4p2x4AeZ+QAYutx1sHwTHzMT5cMNduQ9yW3GczN4KZ86kb0c9O8T yXDeFqpl2fryPEAYGXIlezAPXYh2NgVr/gvdoHIuDwuPwOhcWE8f8mmICq41eATkn8x0kuRTIKcB wE9+/QUtiiAnYcaN7wAAAABJRU5ErkJggg== MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Cc: questions@freebsd.org, bug-followup@FreeBSD.org Subject: Re: 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 20:34:30 -0000 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Guojun Jin writes: > 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 te= mporarily 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 15= 00 > 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 t= he machine? # ifconfig rl0 -alias 192.168.0.10 Above will cause 192.168.0.10 to be removed from the interface. For details, see ifconfig(1). HTH =2D-=20 Ashish SHUKLA | GPG: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0 freebsd.org!ashish | http://people.freebsd.org/~ashish/ =E2=80=9CFew false ideas have more firmly gripped the minds of so many intelligent men than the one that, if they just tried, they could invent a cipher that no one could break.=E2=80=9D (David Kahn, "The Codebreakers", 1967) --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) iQIcBAEBCgAGBQJMWxnWAAoJEMdGz6nnT6SwctsP/0RQxO2ZKFBkRwSGk/u1VuEn SGr5Yl+7PpnZSzgGa9iowBkig9bSEtOXkERilUASW/nLH2DUd1w9rag3aZJxLIzg ZmFI1AFL2Wr+CmjkCnivkV8pBKow1nJGDlqxLFGBf9uZk+BhAZ5GTTlBS1WM+aSx K5ZYbySxhgb9sgxWUNcoavO5Nx2u4Y98q/AWgNvpochuiwNuEXqPyy/NoR1C9aZA gvzp2v8d9eVzza6u88BemLErCtY71RdKJX1xzgqxnDJBjjBJH/xcgW2ohyeMSSrq paO3olqkc4XoRMJP/cy1C3pT7bpZMzZ54zt4VbPRGaNVFn/uGfpOxsyoFtL76zvA 90JhbqD1cv2uzGqAKvBo8mJ45/LwgQxtS+SfW9R6WHunK4n+sVt3AMqzQCDgOQj2 dIgNLa2NAoBUeVOhdztLt2bMuJC02HDEPmK+tUy6UoexHQ9bwfFuct0BaErHgPqs ch6MJNl3F2a5ok00naTLOh7SM//RN1jTS4FcItggnVZWNv48L0hrR5T+q5GW7Lee 5TDtO2T6owoTmI87oYksnCFsPCsMCrYkpthuL2piOZsZ28eearmpqdPRUQdBdl5r t1I3FRPn4ZXlxy74meIbeJWvYr0B6095oed93ysQRM2nl9yUkKhSVEZ+8vOOacV3 kpbgUvkFzXi6DkVaHKWz =WYIO -----END PGP SIGNATURE----- --=-=-=--