Date: Mon, 26 Feb 2001 16:20:01 +1100 From: Peter Jeremy <peter.jeremy@alcatel.com.au> To: "Pedro J. Lobo" <pjlobo@euitt.upm.es> Cc: freebsd-net@FreeBSD.ORG Subject: Re: 802.1q vlans and STABLE Message-ID: <20010226162001.E84807@gsmx07.alcatel.com.au> In-Reply-To: <Pine.BSF.4.33.0102231043130.44042-100000@odin.euitt.upm.es>; from pjlobo@euitt.upm.es on Fri, Feb 23, 2001 at 10:52:17AM %2B0100 References: <20010223152257.K36182@gsmx07.alcatel.com.au> <Pine.BSF.4.33.0102231043130.44042-100000@odin.euitt.upm.es>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2001-Feb-23 10:52:17 +0100, "Pedro J. Lobo" <pjlobo@euitt.upm.es> wrote: >On Fri, 23 Feb 2001, Peter Jeremy wrote: >> - VLAN support in driver modules for the above drivers > >Including fxp? My code only supports vlan in modules for the 558 and 559 >controllers, not for the old 557. I suspect not. I only have 559's to test on. >> - fix VLAN handling in arp(8) > >Can you ellaborate a bit more on this one? arp(8) needs to know that VLANs are an `ethernet-like' device so it can add and delete ARP entries. My code is based on kern/19436 and I've attached my changed to that PR. For Wes's benefit, this doesn't change the kernel's ARP handling at all. >> - support VLANs in tcpdump(8) [this may be in the generic tree by now] > >It's been for quite some time. I used it when doing my first version of >the patches on a 3.2-stable system. I added patches to allow matching on the VLAN id and made the BPF compiler generate code to look inside VLAN packets and allow matching on the packet contents. I sent these both to FreeBSD (bin/21880) and the tcpdump maintainers. This lets me do things like: aalp02# tcpdump -i fxp0 -c 5 vlan and host aald09-tu0 tcpdump: listening on fxp0 16:16:12.474266 802.1Q vlan#158 P0 aald11-tu0.1160 > aald09-tu0.pdap-np: P 429682654:429682683(29) ack 359725302 win 33580 (DF) 16:16:12.474708 802.1Q vlan#158 P0 aald09-tu0.pdap-np > aald11-tu0.1160: P 1:17(16) ack 29 win 33580 (DF) 16:16:12.525298 802.1Q vlan#156 P0 aald09-tu0.pdap-np > aald11-tu0.1160: P 1:17(16) ack 29 win 33580 (DF) 16:16:12.525755 802.1Q vlan#156 P0 aald11-tu0.1160 > aald09-tu0.pdap-np: P 29:249(220) ack 17 win 33580 (DF) 16:16:12.576825 802.1Q vlan#158 P0 aald11-tu0.1160 > aald09-tu0.pdap-np: P 29:249(220) ack 17 win 33580 (DF) aalp02# Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010226162001.E84807>