From owner-freebsd-stable Mon Feb 10 16:15:14 2003 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B085D37B41E for ; Mon, 10 Feb 2003 16:15:11 -0800 (PST) Received: from quarter.csl.sri.com (quarter.csl.sri.com [130.107.1.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id A119F43FBD for ; Mon, 10 Feb 2003 16:15:09 -0800 (PST) (envelope-from hogsett@csl.sri.com) Received: from beast.csl.sri.com (beast.csl.sri.com [130.107.2.57]) by quarter.csl.sri.com (8.12.4/8.12.4) with ESMTP id h1B0F92x007133 for ; Mon, 10 Feb 2003 16:15:09 -0800 Message-Id: <200302110015.h1B0F92x007133@quarter.csl.sri.com> To: freebsd-stable@freebsd.org Subject: ng_fec && pseudo-device vlan Mime-Version: 1.0 (generated by tm-edit 8.8 (Time Passed Me By)) Content-Type: text/plain; charset=US-ASCII Date: Mon, 10 Feb 2003 16:15:09 -0800 From: Mike Hogsett Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Why don't ng_fec (Cisco FastEtherChannel netgraph module) and `pseudo-device vlan' (802.1q trunking) work together? I can get each of them to work independently. If it makes any difference I cvsup'd to (and built/installed) RELENG_4 this morning The following is my goal : Cisco Switch FreeBSD /Port 4/1--------------fxp0\ /vlan0 dot1q Trunk - EtherChannel< >--fec0---< \Port 4/2--------------fxp1/ \vlan1 \vlan2 \vlanN I set this up as follows : kldload ng_fec /usr/sbin/ngctl mkpeer fec dummy fec /usr/sbin/ngctl msg fec0: add_iface '"fxp0"' /usr/sbin/ngctl msg fec0: add_iface '"fxp1"' ifconfig fxp0 up ifconfig fxp1 up ifconfig fec0 up ifconfig vlan0 inet 10.107.1.83 netmask 255.255.255.0 vlan 1 vlandev fec0 up If I `tcpdump' fxp0 I see dot1q tagged packets If I `tcpdump' fxp1 I see dot1q tagged packets If I `tcpdump' fec0 I see dot1q tagged packets If I `tcpdump' vlan0 I see nothing... I am not skilled enough to diagnose the kernel internals to discern why this doesn't work. I am willing to test any patches that may turn up. Thanks - Mike Hogsett To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message