From owner-freebsd-net@FreeBSD.ORG Sun Nov 28 17:04:40 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0A1A616A4CE for ; Sun, 28 Nov 2004 17:04:40 +0000 (GMT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6B3BD43D70 for ; Sun, 28 Nov 2004 17:04:39 +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 iASH2c10000415; Sun, 28 Nov 2004 12:02:38 -0500 (EST) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)iASH2cfV000412; Sun, 28 Nov 2004 17:02:38 GMT (envelope-from robert@fledge.watson.org) Date: Sun, 28 Nov 2004 17:02:37 +0000 (GMT) From: Robert Watson X-Sender: robert@fledge.watson.org To: Kevin Day In-Reply-To: <35FC873E-40BF-11D9-8850-000A95A8A1F2@dragondata.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-net@freebsd.org Subject: Re: em(4) VLAN + PROMISC still doesn't work with latest CVS version X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Nov 2004 17:04:40 -0000 On Sat, 27 Nov 2004, Kevin Day wrote: > I recently upgraded to 5.3 on a system, and manually upgraded > src/sys/dev/em/* to the latest RELENG_5 versions. (1.44.2.4 of if_em.c) I'm able to reproduce problems using the below configuration is 6.x also, and am investigating. Thanks for the report, hope to get back to you shortly with something concrete. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Principal Research Scientist, McAfee Research > > While the VLAN side of things works better than the stock 5.3 version, > there still is this problem: > > > ifconfig vlan1 create > ifconfig vlan1 vlan 1 vlandev em1 link0 > ifconfig vlan2 create > ifconfig vlan2 vlan 2 vlandev em1 link0 > ifconfig vlan3 create > ifconfig vlan3 vlan 3 vlandev em1 link0 > > ifconfig vlan1 inet 192.aaa.bbb.129 netmask 255.255.255.0 > ifconfig vlan2 inet 64.ccc.ddd.61 netmask 255.255.255.192 > ifconfig vlan3 inet 64.eee.fff.61 netmask 255.255.255.192 > > ifconfig em1 up > ifconfig em1 promisc > > If I do this, vlan1 and vlan3 work fine. Vlan2 can receive packets, but > anything sent out vlan2 doesn't seem to be heard by any foreign hosts. > Setting "ifconfig em1 -promisc" makes all vlans work properly. > > This is better than the stock 5.3 version of em(4) where none of the > vlans worked, but something still isn't right. > > Is this a known problem still or am I just doing something wrong? > > > >