From owner-freebsd-net Tue Dec 18 11:28:29 2001 Delivered-To: freebsd-net@freebsd.org Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by hub.freebsd.org (Postfix) with ESMTP id 3831237B405 for ; Tue, 18 Dec 2001 11:28:23 -0800 (PST) Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.11.0/8.11.0) id fBIJM5s05089; Tue, 18 Dec 2001 11:22:05 -0800 Date: Tue, 18 Dec 2001 11:22:04 -0800 From: Brooks Davis To: Attila Nagy Cc: net@FreeBSD.ORG Subject: Re: FEC and VLAN trunking Message-ID: <20011218112204.A21166@Odin.AC.HMC.Edu> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="qDbXVdCdHGoSgWSk" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from bra@fsn.hu on Tue, Dec 18, 2001 at 11:14:26AM +0100 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --qDbXVdCdHGoSgWSk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Dec 18, 2001 at 11:14:26AM +0100, Attila Nagy wrote: > Hello, >=20 > I tried the FEC patch from http://people.freebsd.org/~wpaul/FEC/ on a > 4-STABLE machine with two fxp cards connecting to a HP 4000M switch. > The switch supports .1q tagging and FEC. >=20 > I did the following: >=20 > ifconfig fec0 up (the fec0 interface stands from fxp0 and fxp1) > ifconfig vlan0 192.168.5.2 vlan 5 vlandev fec0 up >=20 > Now I can't ping the machine 192.168.5.1 which is in the same VLAN (VLAN > ID 5). If I do this without VLANs everything works correctly, so I can use > fec0 as intended. >=20 > tcpdump on fec0 (tcpdump -i fec0) shows that the machine gets the VLANs > and tcpdump can identify each one with their ID. So on fec0 I get the > correct traffic of several VLANs but I can not do anything besides that. >=20 > If I ping 192.168.5.2 (the machine with FEC) from 192.168.5.1 I can see > the ICMP echo requests coming in on the correct VLAN on fec0, but the > machine does not respond to them. >=20 > Is it possible to do VLAN trunking on a FEC interface? I was expecting to find that it didn't work, but I downloaded the code and I can't see any reason why it shouldn't work at this point. I'm not 100% sure I read the code right but it looks like it should work (at least if your interface doesn't support hardware vlan decapsulation, which is the case with fxp). What happens if you put a bpf tap on vlan0? I'll put this on my todo list, but I'm not sure when I'll get to it. I will need this working at some point, but initialy I'll be able to work around it so I don't know when I'll get to it. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --qDbXVdCdHGoSgWSk Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8H5dcXY6L6fI4GtQRAkZ2AJ9kZ+imt3KSM/PcKf2FJTqUQCYUhgCfWgjO P31/xGis0PuXbrB5ssDwpuw= =VF// -----END PGP SIGNATURE----- --qDbXVdCdHGoSgWSk-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message