Re: VLAN trunking and fragmentation

2008-03-21 Thread Pyun YongHyeon
On Fri, Mar 21, 2008 at 02:28:24PM +0100, Giulio Ferro wrote: > Pyun YongHyeon wrote: > > > > > > # ping -s 2000 192.168.100.2 > > > PING 192.168.100.2 (192.168.100.2): 2000 data bytes > > > 2008 bytes from 192.168.100.2: icmp_seq=0 ttl=64 time=0.264 ms > > > 2008 bytes from 192.168.100.2: i

Re: VLAN trunking and fragmentation

2008-03-21 Thread Giulio Ferro
Pyun YongHyeon wrote: > > # ping -s 2000 192.168.100.2 > PING 192.168.100.2 (192.168.100.2): 2000 data bytes > 2008 bytes from 192.168.100.2: icmp_seq=0 ttl=64 time=0.264 ms > 2008 bytes from 192.168.100.2: icmp_seq=1 ttl=64 time=1001.186 ms [...] > 2008 bytes from 192.168.100.2: icmp_se

Re: VLAN trunking and fragmentation

2008-03-20 Thread Pyun YongHyeon
On Thu, Mar 20, 2008 at 06:02:53PM +0100, Giulio Ferro wrote: > Pyun YongHyeon wrote: > >Please try latest attempt to fix re(4) issues. > > http://people.freebsd.org/~yongari/re/if_re.c > > http://people.freebsd.org/~yongari/re/if_rlreg.h > > > >This one is attempt to fix the following bug re

Re: VLAN trunking and fragmentation

2008-03-20 Thread Giulio Ferro
Pyun YongHyeon wrote: Please try latest attempt to fix re(4) issues. http://people.freebsd.org/~yongari/re/if_re.c http://people.freebsd.org/~yongari/re/if_rlreg.h This one is attempt to fix the following bug reports on re(4). - VLAN tagging does not work on multi-fragmented frames. - Non-wo

Re: VLAN trunking and fragmentation

2008-03-16 Thread Pyun YongHyeon
On Fri, Mar 14, 2008 at 04:37:36PM +0100, Giulio Ferro wrote: > Pyun YongHyeon wrote: > >This hardware really make me crazy. There had been many attempts to > >fix checksum offload related issues. But it seems that several users > >still suffer from bad checksum or VLAN issues. So I guess the r

Re: VLAN trunking and fragmentation

2008-03-14 Thread Giulio Ferro
Pyun YongHyeon wrote: This hardware really make me crazy. There had been many attempts to fix checksum offload related issues. But it seems that several users still suffer from bad checksum or VLAN issues. So I guess the root cause of hardware bug was not yet known. This means that previous patch

Re: VLAN trunking and fragmentation

2008-03-14 Thread Pyun YongHyeon
On Fri, Mar 14, 2008 at 01:14:40PM +0100, Giulio Ferro wrote: > Giulio Ferro wrote: > >That's it! > >Now seems to work properly, the problem then is with hardware tagging. > > > >My question now is: can I use vlans without htag in a complex system with > >heavy traffic without a significant p

Re: VLAN trunking and fragmentation

2008-03-14 Thread Pyun YongHyeon
On Fri, Mar 14, 2008 at 12:57:34PM +0100, Giulio Ferro wrote: > Pyun YongHyeon wrote: > > > No packet reached the other PC. > > > >Ok, then try disabling hardware VLAN tagging. > >(#ifconfig re0 -vlanhwtag) > > > > > That's it! > Now seems to work properly, the problem then is with hardw

Re: VLAN trunking and fragmentation

2008-03-14 Thread Giulio Ferro
Giulio Ferro wrote: That's it! Now seems to work properly, the problem then is with hardware tagging. My question now is: can I use vlans without htag in a complex system with heavy traffic without a significant performance loss? If not, how much will it take to fix the issue with the driver?

Re: VLAN trunking and fragmentation

2008-03-14 Thread Giulio Ferro
Pyun YongHyeon wrote: > No packet reached the other PC. Ok, then try disabling hardware VLAN tagging. (#ifconfig re0 -vlanhwtag) That's it! Now seems to work properly, the problem then is with hardware tagging. My question now is: can I use vlans without htag in a complex system with heav

Re: VLAN trunking and fragmentation

2008-03-14 Thread Pyun YongHyeon
On Fri, Mar 14, 2008 at 11:05:01AM +0100, Giulio Ferro wrote: > Pyun YongHyeon wrote: > > > The latter is if_rlreg.h, I guess... > > > >Oops, yes. > > > > > > Anyway they don't compile: > > > > > > >Maybe you don't copy if_rlreg.h to /usr/src/sys/pci directory? > > > > I didn't ;-)

Re: VLAN trunking and fragmentation

2008-03-14 Thread Giulio Ferro
Pyun YongHyeon wrote: > The latter is if_rlreg.h, I guess... Oops, yes. > > Anyway they don't compile: > Maybe you don't copy if_rlreg.h to /usr/src/sys/pci directory? I didn't ;-) Ok, I compiled and installed it. The behavior didn't change: the simple ping works all right, but wh

Re: VLAN trunking and fragmentation

2008-03-13 Thread Pyun YongHyeon
On Thu, Mar 13, 2008 at 02:43:57PM +0100, Giulio Ferro wrote: > Pyun YongHyeon wrote: > >To rule out other possible issues, would you try the following > >files on your box? > > > >http://people.freebsd.org/~yongari/re/if_re.c > >http://people.freebsd.org/~yongari/re/if_rereg.h

Re: VLAN trunking and fragmentation

2008-03-13 Thread Giulio Ferro
Eygene Ryabinkin wrote: Giulio, good day. Thu, Mar 13, 2008 at 02:43:57PM +0100, Giulio Ferro wrote: Pyun YongHyeon wrote: To rule out other possible issues, would you try the following files on your box? http://people.freebsd.org/~yongari/re/if_re.c http://people.freebsd.org/~yongari

Re: VLAN trunking and fragmentation

2008-03-13 Thread Eygene Ryabinkin
Giulio, good day. Thu, Mar 13, 2008 at 02:43:57PM +0100, Giulio Ferro wrote: > Pyun YongHyeon wrote: >> To rule out other possible issues, would you try the following >> files on your box? >> >> http://people.freebsd.org/~yongari/re/if_re.c >> http://people.freebsd.org/~yongari/re/if_rereg.h >>

Re: VLAN trunking and fragmentation

2008-03-13 Thread Giulio Ferro
Pyun YongHyeon wrote: To rule out other possible issues, would you try the following files on your box? http://people.freebsd.org/~yongari/re/if_re.c http://people.freebsd.org/~yongari/re/if_rereg.h The latter is if_rlreg.h, I guess... Anyway they don't compile: cc -c -O2 -frename-registe

Re: VLAN trunking and fragmentation

2008-03-12 Thread Pyun YongHyeon
On Wed, Mar 12, 2008 at 10:22:34PM +0100, Giulio Ferro wrote: > Sam Leffler wrote: > >You failed to provide the output of ifconfig on your running system. > >Be sure any checksum offload is disabled (should be by the bridge). > > > >Sam > My bad. > > I switched off checksum offload i

Re: VLAN trunking and fragmentation

2008-03-12 Thread Brooks Davis
On Thu, Mar 13, 2008 at 11:13:14AM +1300, Andrew Thompson wrote: > On Wed, Mar 12, 2008 at 12:38:06PM -0700, Sean Chittenden wrote: > >> interface ethernet 1/g1 > >> switchport mode trunk > >> switchport trunk allowed vlan add 10 > >> exit > > > > I think this is an issue with default VLAN membersh

Re: VLAN trunking and fragmentation

2008-03-12 Thread Sean Chittenden
interface ethernet 1/g1 switchport mode trunk switchport trunk allowed vlan add 10 exit I think this is an issue with default VLAN membership. I don't think it's where the problem lies, otherwise even a simple ping wouldn't work. The problem here explicitly arises when packets are fragmented

Re: VLAN trunking and fragmentation

2008-03-12 Thread Andrew Thompson
On Wed, Mar 12, 2008 at 12:38:06PM -0700, Sean Chittenden wrote: >> interface ethernet 1/g1 >> switchport mode trunk >> switchport trunk allowed vlan add 10 >> exit > > I think this is an issue with default VLAN membership. I have this config > running on *hundreds* of servers without issue. Sin

Re: VLAN trunking and fragmentation

2008-03-12 Thread Ingo Flaschberger
Dear Giuilio, Sean Chittenden wrote: interface ethernet 1/g1 switchport mode trunk switchport trunk allowed vlan add 10 exit I think this is an issue with default VLAN membership. I don't think it's where the problem lies, otherwise even a simple ping wouldn't work. The problem here explic

Re: VLAN trunking and fragmentation

2008-03-12 Thread Giulio Ferro
Sean Chittenden wrote: interface ethernet 1/g1 switchport mode trunk switchport trunk allowed vlan add 10 exit I think this is an issue with default VLAN membership. I don't think it's where the problem lies, otherwise even a simple ping wouldn't work. The problem here explicitly arises whe

Re: VLAN trunking and fragmentation

2008-03-12 Thread Giulio Ferro
Sam Leffler wrote: You failed to provide the output of ifconfig on your running system. Be sure any checksum offload is disabled (should be by the bridge). Sam My bad. I switched off checksum offload in /etc/rc.conf like this: ifconfig_re0="inet 192.168.60.1 netmask 255.255.255.0 -rxcsum

Re: VLAN trunking and fragmentation

2008-03-12 Thread Remko Lodder
On Wed, March 12, 2008 8:38 pm, Sean Chittenden wrote: >> interface ethernet 1/g1 >> switchport mode trunk >> switchport trunk allowed vlan add 10 >> exit > > I think this is an issue with default VLAN membership. I have this > config running on *hundreds* of servers without issue. Since Dell >

Re: VLAN trunking and fragmentation

2008-03-12 Thread Sean Chittenden
interface ethernet 1/g1 switchport mode trunk switchport trunk allowed vlan add 10 exit I think this is an issue with default VLAN membership. I have this config running on *hundreds* of servers without issue. Since Dell should be a cisco rip-off, on your switchport config, throw in (hav