NetBSD Problem Report #51881

From www@NetBSD.org  Sun Jan 15 11:17:35 2017
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id DE2D87A2A1
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 15 Jan 2017 11:17:35 +0000 (UTC)
Message-Id: <20170115111734.7877F7A2BD@mollari.NetBSD.org>
Date: Sun, 15 Jan 2017 11:17:34 +0000 (UTC)
From: amonk@backwatcher.com
Reply-To: amonk@backwatcher.com
To: gnats-bugs@NetBSD.org
Subject: tcpdump fails on bridge interface
X-Send-Pr-Version: www-1.0

>Number:         51881
>Category:       bin
>Synopsis:       tcpdump fails on bridge interface
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jan 15 11:20:00 +0000 2017
>Originator:     Kyle Amon
>Release:        7.0.2
>Organization:
BackWatcher, Inc.
>Environment:
NetBSD nbsd.backwatcher.com 7.0.2 NetBSD 7.0.2 (XEN3_DOM0.201610210724Z) amd64
>Description:
The tcpdump tool fails to function on a bridge interface, at least
under Xen with a NetBSD 7.0.2 dom0.

As you can see, the bridge exists...

root@nbsd ~ # ifconfig bridge0
bridge0: flags=41<UP,RUNNING> mtu 1500

As you can see the bridge has members...

root@nbsd ~ # brconfig -a
bridge0: flags=41<UP,RUNNING>
        Configuration:
                priority 32768 hellotime 2 fwddelay 15 maxage 20
                ipfilter disabled flags 0x0
        Interfaces:
                tap2 flags=3<LEARNING,DISCOVER>
                        port 8 priority 128
                xvif1i0 flags=3<LEARNING,DISCOVER>
                        port 9 priority 128
                wm0 flags=3<LEARNING,DISCOVER>
                        port 1 priority 128
        Address cache (max cache: 100, timeout: 1200):
                04:73:35:f1:d5:7d wm0 982 flags=0<>
                04:8d:0a:ac:38:2e wm0 979 flags=0<>
                aa:00:00:d1:00:09 xvif1i0 972 flags=0<>
                00:22:83:0e:07:c0 wm0 941 flags=0<>
                04:34:a5:e2:f6:6a wm0 682 flags=0<>
                04:ad:49:7d:a4:9a wm0 563 flags=0<>
                04:d6:62:ba:01:c1 wm0 215 flags=0<>
                04:83:9a:11:4d:c8 wm0 -163 flags=0<>

Everything with respect bridging itself is working, but tcpdump
does not work with the bridge interface, as you can see...

root@nbsd ~ # tcpdump -n -i bridge0 icmp
tcpdump: bridge0: No such device exists
(BIOCSETIF failed: Device not configured)
>How-To-Repeat:
Try to use tcpdump on a bridge interface in dom0.
>Fix:
Unknown.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.