From owner-freebsd-current@FreeBSD.ORG Tue Aug 30 17:23:57 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B969816A41F for ; Tue, 30 Aug 2005 17:23:57 +0000 (GMT) (envelope-from gavin.atkinson@ury.york.ac.uk) Received: from mail-gw0.york.ac.uk (mail-gw0.york.ac.uk [144.32.128.245]) by mx1.FreeBSD.org (Postfix) with ESMTP id 160F743D46 for ; Tue, 30 Aug 2005 17:23:55 +0000 (GMT) (envelope-from gavin.atkinson@ury.york.ac.uk) Received: from buffy.york.ac.uk (buffy-128.york.ac.uk [144.32.128.160]) by mail-gw0.york.ac.uk (8.12.10/8.12.10) with ESMTP id j7UHNoba003275 for ; Tue, 30 Aug 2005 18:23:50 +0100 (BST) Received: from buffy.york.ac.uk (localhost [127.0.0.1]) by buffy.york.ac.uk (8.13.3/8.13.4) with ESMTP id j7UHNoOw032035 for ; Tue, 30 Aug 2005 18:23:50 +0100 (BST) (envelope-from gavin.atkinson@ury.york.ac.uk) Received: (from ga9@localhost) by buffy.york.ac.uk (8.13.3/8.13.4/Submit) id j7UHNnHG032034 for freebsd-current@freebsd.org; Tue, 30 Aug 2005 18:23:49 +0100 (BST) (envelope-from gavin.atkinson@ury.york.ac.uk) X-Authentication-Warning: buffy.york.ac.uk: ga9 set sender to gavin.atkinson@ury.york.ac.uk using -f From: Gavin Atkinson To: freebsd-current@freebsd.org Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Tue, 30 Aug 2005 18:23:49 +0100 Message-Id: <1125422629.30555.27.camel@buffy.york.ac.uk> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 FreeBSD GNOME Team Port X-York-MailScanner: Found to be clean X-York-MailScanner-From: gavin.atkinson@ury.york.ac.uk Subject: 6.0-BETA3 bge0 and vlans X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Aug 2005 17:23:58 -0000 Hi, I'm having no success setting vlans up on a bge interface. Can anyone confirm they work? I've got no problems using them on fxp interfaces, so I'm pretty sure it's not user error... Everything looks good: bge0: flags=8843 mtu 1500 options=1a inet6 fe80::209:3dff:fe12:6c06%bge0 prefixlen 64 scopeid 0x1 inet x.y.12.120 netmask 0xfffffe00 broadcast x.y.13.255 ether 00:09:3d:12:6c:06 media: Ethernet autoselect (100baseTX ) status: active [bge1/lo0 snipped] vlan76: flags=8843 mtu 1500 inet x.y.76.59 netmask 0xfffffe00 broadcast x.y.77.255 inet6 fe80::209:3dff:fe12:6c06%vlan0 prefixlen 64 scopeid 0x4 ether 00:09:3d:12:6c:06 media: Ethernet autoselect (100baseTX ) status: active vlan: 76 parent interface: bge0 ... but I can get no packets through the vlan interface (the parent interface works as expected). Can anyone actually confirm that vlans work with bge cards? My card is a BCM5704 (vend=0x14e4, prod=0x1648, rev=0x03) I've also just discovered that ifconfig is sensitive to the order that the options "vlandev" and "vlan" are passed to it. wiggum# ifconfig vlan76 vlandev bge0 vlan 76 ifconfig: must specify both vlan tag and device wiggum# ifconfig vlan76 vlan 76 vlandev bge0 wiggum# This to me seems counter-intuitive. Due to the design of ifconfig this doesn't seem to be easy to change, so maybe it should be documented? Thanks, Gavin