From owner-freebsd-current@FreeBSD.ORG Mon Nov 8 16:17:38 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B96E716A4CE for ; Mon, 8 Nov 2004 16:17:38 +0000 (GMT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 576EE43D31 for ; Mon, 8 Nov 2004 16:17:38 +0000 (GMT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.13.1/8.13.1) with ESMTP id iA8GGXWO076761; Mon, 8 Nov 2004 11:16:33 -0500 (EST) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)iA8GGXIR076758; Mon, 8 Nov 2004 16:16:33 GMT (envelope-from robert@fledge.watson.org) Date: Mon, 8 Nov 2004 16:16:33 +0000 (GMT) From: Robert Watson X-Sender: robert@fledge.watson.org To: astesin@ukrtelecom.net In-Reply-To: <1152675CA9EDD71187130002B3CE5ADA10660EB1@hoexc010.ukrtelecom.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-current@freebsd.org Subject: Re: em0, VLAN and bpf(?) trouble w/RELENG_5 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Nov 2004 16:17:38 -0000 On Mon, 8 Nov 2004 astesin@ukrtelecom.net wrote: > The problem. From time to time, vlan0 stops passing packets at all. At > this moments, Catalyst stops seeing MAC of vlan0 (it's the same MAC as > em0) in the mantione VLAN (untagged VLAN is also configured at em0 and > works fine!). This means that `show mac-address-table vlan XX' command > on Catalyst don't show the MAC. > > The problem can be easily repeated manually. It's enough just to issue a > command like `trafshow -I vlan0' of `tcpdump -I vlan0' and voila! vlan0 > is out of business, no packets are going through. Hmm. Could I get you to try/investigate a few things: (1) If you run tcpdump on the em0 interface itself, does the same thing happen? (2) When vlan0 wedges, do you still see traffic on em0, and can you generate traffic on em0 that's picked up by the switch? (3) Do other vlan pseudo-interfaces wedge under similar circumstances? (4) Could you try running with "debug.mpsafenet=0" in loader.conf (reboot for it to take effect) and see if that makes a difference? (5) Does it matter whether you enter promiscuous mode using BPF -- i.e., "tcpdump -p -i vlan0" vs w/o the -p flag? (6) When vlan0 is in the wedged condition, how "no packets" is it? Can you send packets but not receieve, or receive packets and not send? Thanks! Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Principal Research Scientist, McAfee Research