bin/94127: if_bridge arp problem

Alex Zimnitsky avz at telix.ru
Sun Mar 5 23:30:13 PST 2006


>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 at 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:


More information about the freebsd-bugs mailing list