From owner-freebsd-net@FreeBSD.ORG Tue Dec 7 14:21:55 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 4505A16A4CE; Tue, 7 Dec 2004 14:21:55 +0000 (GMT) Received: from mail.otel.net (gw3.OTEL.net [212.36.8.151]) by mx1.FreeBSD.org (Postfix) with ESMTP id 65B9943D48; Tue, 7 Dec 2004 14:21:54 +0000 (GMT) (envelope-from tbyte@OTEL.net) Received: from dragon.otel.net ([212.36.8.135]) by mail.otel.net with esmtp (Exim 4.30; FreeBSD) id 1CbgDv-0006II-5y; Tue, 07 Dec 2004 16:21:51 +0200 Message-ID: <41B5BC98.2080408@OTEL.net> Date: Tue, 07 Dec 2004 16:22:16 +0200 From: Iasen Kostov User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.3) Gecko/20041117 X-Accept-Language: bg, en-us, en MIME-Version: 1.0 To: Iasen Kostov References: <41AB0B98.6020600@OTEL.net> In-Reply-To: <41AB0B98.6020600@OTEL.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-net@freebsd.org cc: Robert Watson 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: Tue, 07 Dec 2004 14:21:55 -0000 Iasen Kostov wrote: > Robert Watson wrote: > >> 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? >>> >>> >>> >>> >>> >> > Saddly I can just confirm that :( > > regards > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > Is there an update on this case or I should find a way to disable all hw "things" in the driver ?:) (because things are getting hot here :). regards