From owner-freebsd-net@FreeBSD.ORG Wed Jan 19 21:22:52 2005 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 135AA16A4E6 for ; Wed, 19 Jan 2005 21:22:52 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7E84743D45 for ; Wed, 19 Jan 2005 21:22:51 +0000 (GMT) (envelope-from jsimola@gmail.com) Received: by wproxy.gmail.com with SMTP id 58so8561wri for ; Wed, 19 Jan 2005 13:22:49 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=LCv7rcmBpd/sMup5l4SS0djasyac/FxM4FDF9y3sz4MX+nFitixHX8vTtsg0ADvqT2WhXq622vN5us74MTgbUA/4DgceKARCpBuXQAl1aqNC/4zZIqcZU+wPZAyz5bFmuZWY1h41Ufr7SF1UMi9iN9HTDijXebcDFEDLiptgs8A= Received: by 10.54.6.31 with SMTP id 31mr155555wrf; Wed, 19 Jan 2005 13:22:48 -0800 (PST) Received: by 10.54.39.34 with HTTP; Wed, 19 Jan 2005 13:22:48 -0800 (PST) Message-ID: <8eea0408050119132242cd8464@mail.gmail.com> Date: Wed, 19 Jan 2005 13:22:48 -0800 From: Jon Simola To: Charlie Schluting , "freebsd-net@freebsd.org" In-Reply-To: <41EECAC0.3000801@schluting.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <41EECAC0.3000801@schluting.com> Subject: Re: vlans changed? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: jon@abccomm.com List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jan 2005 21:22:52 -0000 On Wed, 19 Jan 2005 13:01:52 -0800, Charlie Schluting wrote: > Now, in 5.3, the only thing I can get working is to configure the em0 int with > the IP, and set the trunk to have the native vlan corresponding to that IP. Weird. Sounds like you're not getting the module loaded. By your description above, you're no longer sending tagged frames over the trunk. My rc.conf bits: ifconfig_em1="up media auto" cloned_interfaces="vlan100" ifconfig_vlan100="inet xx.xx.xx.254 netmask 0xffffff00 vlan 100 vlandev em1" > Also, is there a way to stop em(4) from stripping dot1q tags in hardware? I'd > like to see them with tcpdump. What kind of a performance hit does this involve? # tcpdump -c4 -nvvvei em1 14:24:52.445480 00:30:48:72:f3:0b > 00:09:5b:fc:e4:5f, ethertype 802.1Q (0x8100), length 1532: vlan 100, p 0, ethertype IPv4, IP0 bad-hlen 0 14:24:52.445500 00:30:48:72:f3:0b > 00:09:5b:fc:e4:5f, ethertype 802.1Q (0x8100), length 279: vlan 100, p 0, ethertype IPv4, IP0 bad-hlen 0 14:24:52.445518 00:30:48:72:f3:0b > 00:c0:05:04:00:f0, ethertype 802.1Q (0x8100), length 144: vlan 100, p 0, ethertype IPv4, IP0 bad-hlen 0 14:24:52.445539 00:30:48:72:f3:0b > 00:0f:3d:64:f4:23, ethertype 802.1Q (0x8100), length 72: vlan 100, p 0, ethertype IPv4, IP0 bad-hlen 0 Seems to work fine (it's the -e switch that does it). Hope that helps.