From owner-freebsd-net@FreeBSD.ORG Sat Nov 27 21:55:48 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 11F0116A4CE; Sat, 27 Nov 2004 21:55:48 +0000 (GMT) Received: from mail.dragondata.com (server3-a.your.org [64.202.112.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id ABE1443D60; Sat, 27 Nov 2004 21:55:47 +0000 (GMT) (envelope-from toasty@dragondata.com) Received: from localhost (localhost.your.org [127.0.0.1]) by mail.dragondata.com (Postfix) with ESMTP id 3BDF33D1C59; Sat, 27 Nov 2004 15:55:47 -0600 (CST) Received: from mail.dragondata.com ([127.0.0.1]) by localhost (server3.dragondata.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 41405-01-69; Sat, 27 Nov 2004 15:55:47 -0600 (CST) Received: by mail.dragondata.com (Postfix, from userid 1000) id 13EEC3D1C4A; Sat, 27 Nov 2004 15:55:47 -0600 (CST) Received: from [69.31.99.45] (pool045.dhcp.your.org [69.31.99.45]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by mail.dragondata.com (Postfix) with ESMTP id AF3843D1C1D; Sat, 27 Nov 2004 15:55:45 -0600 (CST) Mime-Version: 1.0 (Apple Message framework v619) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <35FC873E-40BF-11D9-8850-000A95A8A1F2@dragondata.com> Content-Transfer-Encoding: 7bit From: Kevin Day Date: Sat, 27 Nov 2004 15:56:37 -0600 To: freebsd-net@freebsd.org X-Mailer: Apple Mail (2.619) X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on server3.dragondata.com X-Spam-Level: X-Spam-Status: No, hits=0.1 required=5.0 tests=AWL autolearn=no version=2.63 languages=en bayes=0.5 X-Virus-Scanned: by amavisd-new at dragondata.com cc: rwatson@freebsd.org Subject: 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: Sat, 27 Nov 2004 21:55:48 -0000 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) 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?