Re: Problem with VLANs

2007-08-03 Thread Stuart Henderson
On 2007/08/03 16:18, Chris Cappuccio wrote: > Stuart Henderson [EMAIL PROTECTED] wrote: > > > > case SIOCSIFMTU: > > - if (ifr->ifr_mtu > ETHERMTU || ifr->ifr_mtu < ETHERMIN) > > + if (ifr->ifr_mtu > ETHERMTU + ETHER_VLAN_ENCAP_LEN || > > + ifr->ifr_mtu < ET

Re: Problem with VLANs

2007-08-03 Thread Chris Cappuccio
Stuart Henderson [EMAIL PROTECTED] wrote: > > case SIOCSIFMTU: > - if (ifr->ifr_mtu > ETHERMTU || ifr->ifr_mtu < ETHERMIN) > + if (ifr->ifr_mtu > ETHERMTU + ETHER_VLAN_ENCAP_LEN || > + ifr->ifr_mtu < ETHERMIN) > error = EINVAL;

Re: Problem with VLANs

2007-08-03 Thread Stuart Henderson
On 2007/08/03 15:27, Hugo van Niekerk wrote: [...] pcn(4) can be persuaded to send frames large enough to hold vlan tags and a 1500-byte packet with the diff below, but on the vmware I just tried, I can't get it to receive frames that size. Then again, neither does em(4) with Ethernet0.virtualDev

Problem with VLANs

2007-08-02 Thread Hugo van Niekerk
Firstly, Thank you Tim and Stuart for the great advice. Secondly, sorry for spamming the wrong tree. I find myself at another cross road, that is that I can not find the driver files under /usr/src/sys/dev/pci. Let me just admit that I havent searched hard enough yet, thought I'd post this m

Re: Problem with VLANs

2007-08-02 Thread Stuart Henderson
On 2007/08/02 10:54, Tim Donahue wrote: > Redirected as this is a misc@ question not a tech@ question. > > On Thu, 2007-08-02 at 11:48 +0930, Hugo van Niekerk wrote: > > Im running OpenBSD 3.9. At startup during vlan initialization I get Unfortunately lacking a dmesg... > > an error that the v

Re: Problem with VLANs

2007-08-02 Thread Tim Donahue
Redirected as this is a misc@ question not a tech@ question. On Thu, 2007-08-02 at 11:48 +0930, Hugo van Niekerk wrote: > Hey Everybody > > Im running OpenBSD 3.9. At startup during vlan initialization I get > an error that the vlan initiated with a nonstandard mtu of 1946 > (parent pcn1). Of

strange bridgeing problem with vlans - asymmetric ways of packets

2007-01-08 Thread [EMAIL PROTECTED]
hi list, one machine with 4.0 some-machines - switch - trunk - openbsd 4.0 each machine is in an own vlan and will be filtered on the openbsd machine through a bridge. from machine1 i do a telnet machine2 25 >> traffic from machine2 to machine1 >>> >>> machine2 >>> openbs