LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: round robin and NOT!! persistent

To: Julian Anastasov <uli@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: round robin and NOT!! persistent
Cc: "Thomas A. Morris" <morrist@xxxxxxxxxxxx>, linuxvirtualserver <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
From: Wensong Zhang <wensong@xxxxxxxxxxxx>
Date: Mon, 26 Jun 2000 23:44:11 +0800 (CST)

On Sat, 24 Jun 2000, Julian Anastasov wrote:

> 
>       Hello,
> 
> On Fri, 23 Jun 2000, Wensong Zhang wrote:
> 
> > > > service can be combiled together as persistent service. The template for
> > > > fwmark-based service can be as follows:
> > > >         IPPROTO_IP, <cip, 0, vip, 0, rip, 0>
> > >   ^^^^^^^^^^
> > > 
> > >   Just one warning about /proc/net/ip_masquerade and
> > > masq_proto_name. If it will be only a wildcard it can be any
> > > proto const (TCP/UDP/ICMP). For IP we have to patch masq_proto_name.
> > > 
> > 
> > Currently, masq_proto_name(IPPROTO_IP) returns "IP_0", it looks OK to
> > me. :) Or, you come up with a good name? "IP" for short?
> 
>       IP_0 if netstat -Mn is happy else TCP. I don't remember
> what shows netstat for these entries.
> 

The "netstat -Mn" reports error message of unknown type, because the
"netstat -Mn" only accept these types, TCP, UDP, ICMP, GRE and ESP.

Maybe we need patch netstat program and change that
masq_proto_name(IPPROTO_IP) returns "IP".

Thanks,

Wensong

> 
> Regards
> 
> --
> Julian Anastasov <uli@xxxxxxxxxxxxxxxxxxxxxx>
> 



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