From owner-freebsd-current@FreeBSD.ORG Tue Aug 30 18:22:52 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 472CC16A41F for ; Tue, 30 Aug 2005 18:22:52 +0000 (GMT) (envelope-from jkim@FreeBSD.org) Received: from anuket.mj.niksun.com (gwnew.niksun.com [65.115.46.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 20ADB43FA6 for ; Tue, 30 Aug 2005 18:14:30 +0000 (GMT) (envelope-from jkim@FreeBSD.org) Received: from niksun.com (anuket [10.70.0.5]) by anuket.mj.niksun.com (8.13.1/8.13.1) with ESMTP id j7UIJ7FZ085213; Tue, 30 Aug 2005 14:19:07 -0400 (EDT) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-current@FreeBSD.org Date: Tue, 30 Aug 2005 14:14:10 -0400 User-Agent: KMail/1.6.2 References: <1125422629.30555.27.camel@buffy.york.ac.uk> In-Reply-To: <1125422629.30555.27.camel@buffy.york.ac.uk> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="euc-kr" Content-Transfer-Encoding: 7bit Message-Id: <200508301414.15449.jkim@FreeBSD.org> X-Virus-Scanned: ClamAV 0.85.1/1048/Tue Aug 30 03:03:53 2005 on anuket.mj.niksun.com X-Virus-Status: Clean Cc: Subject: Re: 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 18:22:52 -0000 On Tuesday 30 August 2005 01:23 pm, Gavin Atkinson wrote: > 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) It was discussed here but I don't think any actions were taken actually. Follow the thread: http://docs.freebsd.org/cgi/mid.cgi?9256D57F598E6C41B288AA7DB94F29C902DFB963 Jung-uk Kim > 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 > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to > "freebsd-current-unsubscribe@freebsd.org"