From nobody@FreeBSD.org  Sun Feb  4 16:23:17 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id EAA5B16A405
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  4 Feb 2007 16:23:17 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [69.147.83.33])
	by mx1.freebsd.org (Postfix) with ESMTP id DCABF13C4AC
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  4 Feb 2007 16:23:17 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l14GNHQ6083379
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 4 Feb 2007 16:23:17 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id l14GNHke083378;
	Sun, 4 Feb 2007 16:23:17 GMT
	(envelope-from nobody)
Message-Id: <200702041623.l14GNHke083378@www.freebsd.org>
Date: Sun, 4 Feb 2007 16:23:17 GMT
From: Joo<joao@matik.com.br>
To: freebsd-gnats-submit@FreeBSD.org
Subject: ifconfig $nic mac associates wrong IP/mask address
X-Send-Pr-Version: www-3.0

>Number:         108758
>Category:       bin
>Synopsis:       ifconfig(8): ifconfig $nic mac associates wrong IP/mask address
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 04 16:30:17 GMT 2007
>Closed-Date:    Mon Mar 12 08:00:26 GMT 2007
>Last-Modified:  Mon Mar 12 08:00:26 GMT 2007
>Originator:     Joo
>Release:        6.2-R
>Organization:
Infomatik
>Environment:
FreeBSD ap-h.matik.com.br 6.2-STABLE FreeBSD 6.2-STABLE #2: Tue Jan 16 00:03:14 BRST 2007     root@ap-h.matik.com.br:/usr/obj/c/amd64/src/sys/wipcentral.kernel  amd64

>Description:
erroneously I executed remotely ifconfig ath0 mac instead of list mac
and lost access, I could repeat it locally with any interface name
available on the machine as:

ifconfig rl0 mac 

rl0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
        options=48<VLAN_MTU,POLLING>
        inet 200.234.196.85 netmask 0xffffff00 broadcast 200.234.196.255

mac is not a hostname nor configured in host file
# nslookup mac
Server:         127.0.0.1
Address:        127.0.0.1#53

** server can't find mac: NXDOMAIN


>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:

From: Remko Lodder <remko@FreeBSD.org>
To: =?ISO-8859-1?Q?Jo=E3o?= <joao@matik.com.br>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: bin/108758: ifconfig $nic mac associates wrong IP/mask address
Date: Sun, 04 Feb 2007 18:41:18 +0100

 Hello, first if all thank you for the willingness to help!
 
 So what is the exact problem? that you forgot a word and the
 interface got something assigned which was not intended?
 
 If you would do a ifconfig rl0 www.freebsd.org, you would
 get www.freebsd.org assigned to rl0, if i'd use something
 like ifconfig em1 bleah and bleah does not exist it will
 let the current information say alive. If it did exist
 it would have assigned me that adress instead.
 
 Perhaps you can consider mailing the freebsd-net mailinglist
 the next time that you encounter such an issue since this
 feels like a user question instead of a problem.
 
 If i missed the point you tried to make, please elaborate
 so that I can try to figure who can help you etc.
 
 Thanks again!
 
 Cheers,
 Remko
 -- 
 Kind regards,
 
       Remko Lodder               ** remko@elvandar.org
       FreeBSD                    ** remko@FreeBSD.org
 
       /* Quis custodiet ipsos custodes */

From: JoaoBR <joao@matik.com.br>
To: bug-followup@freebsd.org, joao@matik.com.br
Cc:  
Subject: Re: bin/108758: ifconfig $nic mac associates wrong IP/mask address
Date: Sun, 4 Feb 2007 16:53:36 -0200

 as you say,  so long as www.freebsd.org exists or is in the host file
 
 "mac" do *NOT*  exist so where does the IP and MASK come from, ifconfig sho=
 uld=20
 return an error here but does not.
 
 =2D-=20
 
 Jo=E3o
 
 
 
 
 
 
 
 A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada segura.
 Service fornecido pelo Datacenter Matik  https://datacenter.matik.com.br
State-Changed-From-To: open->closed 
State-Changed-By: remko 
State-Changed-When: Mon Mar 12 08:00:19 UTC 2007 
State-Changed-Why:  
Explaination given, no more feedback closing the ticket. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=108758 
>Unformatted:
