Subject: Re: kern/29660: vlans broken on bge(4)
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-bugs
Date: 03/12/2005 15:21:02
The following reply was made to PR kern/29660; it has been noted by GNATS.

From: Manuel Bouyer <bouyer@antioche.eu.org>
To: gnats-bugs@NetBSD.org
Cc: kern-bug-people@NetBSD.org, gnats-admin@NetBSD.org,
	netbsd-bugs@NetBSD.org
Subject: Re: kern/29660: vlans broken on bge(4)
Date: Sat, 12 Mar 2005 16:20:21 +0100

 On Fri, Mar 11, 2005 at 05:31:00PM +0000, prlw1@cam.ac.uk wrote:
 > bge0 at pci2 dev 0 function 0: Broadcom BCM5751 Gigabit Ethernet
 > bge0: interrupting at irq 11
 > bge0: ASIC BCM5750 A1 (0x4001), Ethernet address 00:11:43:7c:6c:3a
 > brgphy0 at bge0 phy 1: BCM5750 1000BASE-T media interface, rev. 0
 > brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
 > 
 > Plug it into a vlan capable switch (eg 3com 3300xm), with the port set to
 > just passing the default vlan (1), untagged.
 > 
 > ifconfig bge0 up inet a.b.c.d netmask 0xffffff00
 > 
 > (I also happened to also enable h/w checksumming, but that doesn't
 > seem to change anything)
 > and autoneg seems to work:
 > media: Ethernet autoselect (100baseTX full-duplex,flowcontrol,rxpause,txpause)
 > 
 > 
 > scp GENERIC from somewhere at 9MB/s.
 > 
 > Now change the port to send through no untagged vlan, and just tagged default.
 > 
 > ifconfig bge0 delete inet a.b.c.d
 > ifconfig vlan0 create vlan 1 vlanif bge0
 > ifconfig vlan0 inet a.b.c.d netmask 0xffffff00
 > 
 > scp GENERIC from somewhere - password prompt all rather responsive, but then
 > the transfer is so slow it stalls and finally gives up.
 
 Could be a MTU problem. What does 'ifconfig vlan0' show ?
 
 -- 
 Manuel Bouyer <bouyer@antioche.eu.org>
      NetBSD: 26 ans d'experience feront toujours la difference
 --