Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Mar 2006 07:25:18 GMT
From:      Alex Zimnitsky <avz@telix.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   bin/94127: if_bridge arp problem
Message-ID:  <200603060725.k267PILZ015876@www.freebsd.org>
Resent-Message-ID: <200603060730.k267UCEj071337@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         94127
>Category:       bin
>Synopsis:       if_bridge arp problem
>Confidential:   no
>Severity:       critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 06 07:30:11 GMT 2006
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603060725.k267PILZ015876>