[lvs-users] lvs tun and ipip fragments

Julian Anastasov ja at ssi.bg
Wed Jun 27 23:19:39 BST 2012


	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 at corp.sonic.net      sonic.net, inc.
> System Architect                          2260 Apollo Way
> 707.522.1000                              Santa Rosa, CA 95407

Regards

--
Julian Anastasov <ja at ssi.bg>




More information about the lvs-users mailing list