From nobody@FreeBSD.org  Mon Mar  6 07:25:24 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 5646916A420
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  6 Mar 2006 07:25:24 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 4026543D67
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  6 Mar 2006 07:25:19 +0000 (GMT)
	(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 k267PI0j015877
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 6 Mar 2006 07:25:18 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k267PILZ015876;
	Mon, 6 Mar 2006 07:25:18 GMT
	(envelope-from nobody)
Message-Id: <200603060725.k267PILZ015876@www.freebsd.org>
Date: Mon, 6 Mar 2006 07:25:18 GMT
From: Alex Zimnitsky <avz@telix.ru>
To: freebsd-gnats-submit@FreeBSD.org
Subject: if_bridge arp problem
X-Send-Pr-Version: www-2.3

>Number:         94127
>Category:       bin
>Synopsis:       if_bridge arp problem
>Confidential:   no
>Severity:       critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 06 07:30:11 GMT 2006
>Closed-Date:    Mon Mar 06 08:53:29 GMT 2006
>Last-Modified:  Mon Mar 06 08:53:29 GMT 2006
>Originator:     Alex Zimnitsky
>Release:        6.0
>Organization:
Telix
>Environment:
FreeBSD srv-5.telix.ru 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Sat Dec 31 14:43:59 MSK 2005     avz@srv-5.telix.ru:/usr/src/sys/i386/compile/SRV-5  i386
>Description:
It's impossible to delete or substitute an arp entry related to if_bridge interface. 
>How-To-Repeat:
kldload if_bridge
ifconfig bridge0 create
ifconfig bridge0 addm em0 stp em0 addm em1 stp em1
ifconfig bridge0 ether 00:11:22:33:44:55
ifconfig bridge0 inet 192.168.0.1 netmask 255.255.255.0
arp -s 192.168.12.2 00:11:22:33:44:55:66 pub only



arp -d 192.168.12.2

    or

arp -S 192.168.12.2 55:44:33:22:11:00 pub only

    produces 

delete: cannot locate 192.168.12.2

    arp table entry not changed
>Fix:
add IFT_BRIDGE to the IFT_ list in valid_type() which lives in /usr/src/usr.sbin/arp/arp.c
>Release-Note:
>Audit-Trail:

From: Alex Zimnitsky <avz@telix.ru>
To: avz@telix.ru, bug-followup@FreeBSD.org
Cc:  
Subject: Re: bin/94127: if_bridge arp problem
Date: Mon, 06 Mar 2006 11:11:27 +0300

 sorry for 192.168.12, it should be read as 192.168.0
 
State-Changed-From-To: open->closed 
State-Changed-By: thompsa 
State-Changed-When: Mon Mar 6 08:50:51 UTC 2006 
State-Changed-Why:  
This has already been fixed and will work in the upcoming 6.1 release. 

You can use cvsweb to see if a problem is already delt with, for example 
http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.sbin/arp/arp.c (see r1.59). 

Thanks for looking into the problem. 

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