GIF tunnel doesnt like fragmented packets?

2012-07-10 Thread Chris Benesch
So I'm trying to set up a tunnel with Hurricane Electric. Works great on OpenBSD BTW, took only a minute or two. So heres rc.conf ipv6_gateway_enable="YES" gif_interfaces="gif0" gifconfig_gif0="198.168.0.2 64.62.134.130" ipv6_network_interfaces="rl0 em0 gif0 lo0" ifconfig_gif0_ipv6="inet6 2001:4

Anyone working on RFC 4821, TCP Packetization Layer Path MTU Discovery?

2012-07-10 Thread George Neville-Neil
Howdy, I just got an off list question about this RFC and haven't had time to dive into it, but wondered if anyone had already looked at this in the context of our TCP stack. Best, George ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.

RE: lacp lagg port flags do not show correctly resulting in poor traffic distribution/performance

2012-07-10 Thread Adarsh Joshi
Andrew, Here are the logs with LACP_DEBUG defined in ieee802.3ad_lacp.c, after typing Ifconfig lagg0 create ifconfig lagg0 laggproto lacp laggport ql0 laggport ql1 192.168.100.1 netmask 255.255.255.0 I compiled it as a standalone driver by the way. System 1: # ifconfig -v lagg0 lagg0: flags

RE: lacp lagg port flags do not show correctly resulting in poor traffic distribution/performance

2012-07-10 Thread Adarsh Joshi
Andrew, Thanks for the reply. The reason for my suspicion on the portflags is thus (extracted from the ifconfig output in my previous mail): System 1: Laggport: ql1 flags = 18 state = 7D Laggport: ql0 flags = 1c state = 3D System 2: Laggport: ql1 flags = 1c state = 7D Laggport: ql0 flags = 18

RE: lacp lagg port flags do not show correctly resulting in poor traffic distribution/performance

2012-07-10 Thread Adarsh Joshi
Jason, Thanks for the reply. Why do you say - " Given this is LAgg and LACP you will see some variation regardless " Can you please throw some more light on this? I understand if there is a slight variation in the throughput when LAGG and LACP is configured but in my case, I do not see a singl

Re: svn commit: r238277 - in head: etc/defaults etc/rc.d sbin/ipfw share/man/man5 sys/netinet/ipfw

2012-07-10 Thread Gleb Smirnoff
Hiroki, On Tue, Jul 10, 2012 at 05:30:02AM +0900, Hiroki Sato wrote: H> Given that we add a new API to H> enumerate the interfaces including bpf-only providers with fake H> ifnets, which providers/utilities should be converted to use it? IMO H> usbusN would be a reasonable target but others

Re: lacp lagg port flags do not show correctly resulting in poor traffic distribution/performance

2012-07-10 Thread Andrew Boyer
On Jul 9, 2012, at 8:38 PM, Adarsh Joshi wrote: > Hi, > > I am trying to configure lacp lagg interfaces with 2 systems connected back > to back as follows: > > Ifconfig lagg0 create > Ifconfig lagg0 laggproto lacp laggport ql0 laggport ql1 192.168.100.1 netmask > 255.255.255.0 > > Sometimes,

Re: ip_reass() fails to reassemble fragmented out-of-order traffic

2012-07-10 Thread Eugene Grosbein
10.07.2012 15:22, Daniel Hartmeier пишет: > Are you running any pfil consumers (ipfilter, ipfw, pf), maybe > unintentionally (with empty ruleset)? If so, can you try disabling them? No problems with netstat -s, but you were right about pfil - I direct all incoming traffic to ipfw nat. I passed ip

Re: lacp lagg port flags do not show correctly resulting in poor traffic distribution/performance

2012-07-10 Thread Damien Fleuriot
On 7/10/12 9:10 AM, Jason Hellenthal wrote: > > > On Mon, Jul 09, 2012 at 05:38:24PM -0700, Adarsh Joshi wrote: >> Hi, >> >> I am trying to configure lacp lagg interfaces with 2 systems connected back >> to back as follows: >> >> Ifconfig lagg0 create >> Ifconfig lagg0 laggproto lacp laggport q

Re: ip_reass() fails to reassemble fragmented out-of-order traffic

2012-07-10 Thread Daniel Hartmeier
On Mon, Jul 09, 2012 at 06:13:53PM +0700, Eugene Grosbein wrote: > tcpdump shows no errors in fragment's checksums. > Still, they were not reassembled. I fed your two fragments (with libdnet) to ip_input.c ip_reass() with debug printfs added, it reassembles them fine, even when in reversed order:

Re: lacp lagg port flags do not show correctly resulting in poor traffic distribution/performance

2012-07-10 Thread Jason Hellenthal
On Mon, Jul 09, 2012 at 05:38:24PM -0700, Adarsh Joshi wrote: > Hi, > > I am trying to configure lacp lagg interfaces with 2 systems connected back > to back as follows: > > Ifconfig lagg0 create > Ifconfig lagg0 laggproto lacp laggport ql0 laggport ql1 192.168.100.1 netmask > 255.255.255.0 >