LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] lvs tun and ipip fragments

To: Kelsey Cummings <kgc@xxxxxxxxxxxxxx>
Subject: Re: [lvs-users] lvs tun and ipip fragments
Cc: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
From: Julian Anastasov <ja@xxxxxx>
Date: Thu, 28 Jun 2012 01:19:39 +0300 (EEST)
        Hello,

On Wed, 27 Jun 2012, Kelsey Cummings wrote:

> On Mon, May 21, 2012 at 05:24:33PM -0700, Kelsey Cummings wrote:
> > On Fri, May 18, 2012 at 01:14:35AM +0300, Julian Anastasov wrote:
> > >   ipip_tunnel_xmit() uses such logic to disable
> > > the PMTUD with nopmtudisc flag in the ip tool. May be we
> > 
> > Exactly!
> > 
> > > can do the same, the question is how to provide this flag,
> > > may be with IPVS_DEST_ATTR_NO_PMTUD attribute in
> > > include/linux/ip_vs.h
> > > 
> > >   May be it should come as some new field in
> > > struct ip_vs_dest, eg. unsigned int mode_flags; and
> > > #define IP_VS_DEST_MODE_NO_PMTUD 0x0001
> > 
> > The other way would be do define a new packet forwarding method like
> > 'ipip with frags' perhaps with -I to ipvsadm.  I think it really 
> > comes down to what you guys think is most consistent with the reset 
> > of the system and configuration options and how easy it is to add.
> 
> Any thought's on this Julian?  I think this would be a good enhancement
> for LVS.

        I prefer the solution with dest mode flag. The
forwarding method is restricted to 3 bits (IP_VS_CONN_F_FWD_MASK)
and I don't want to allocate new value there. IIRC, these bits
are already used in packet capturing programs, so better
not to add many changes in the format used for sync.

        May be I'll not have enough time in the following
2-3 weeks, so if someone wants to code this idea, please
let me know.

> -- 
> Kelsey Cummings - kgc@xxxxxxxxxxxxxx      sonic.net, inc.
> System Architect                          2260 Apollo Way
> 707.522.1000                              Santa Rosa, CA 95407

Regards

--
Julian Anastasov <ja@xxxxxx>

_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

<Prev in Thread] Current Thread [Next in Thread>