LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Help with redhat 6.1 kernel 2.2.12-20.NAT works.DR doesnt show incom

To: catls <catls@xxxxxxxxx>
Subject: Re: Help with redhat 6.1 kernel 2.2.12-20.NAT works.DR doesnt show incomming packets being transmitted on 2nd iface.
Cc: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
From: Horms <horms@xxxxxxxxxxxx>
Date: Thu, 11 May 2000 02:01:29 -0700
On Thu, May 11, 2000 at 01:45:32PM +0530, catls wrote:


[ snip - cool diagram ]

> /sbin/depmod -a
> /sbin/modprobe ip_masq_ftp
> FORWARD_IPV4=true
> echo "1" > /proc/sys/net/ipv4/ip_forward
> echo "1" > /proc/sys/net/ipv4/ip_dynaddr
> /sbin/ipfwadm -M -s 7200 10 160
> /sbin/ipfwadm -F -p deny
> /sbin/ipfwadm -F -a m -S 140.141.0.0/24 -D 0.0.0.0/0
> /sbin/ipchains -A forward -s 140.0.0.0/8 -j MASQ

Shouldn't the ipfwadm rules be ipchains rules

ipchains -P forward DENY
ipchains -A forward -j MASQ -s 140.141.0.0/24 -d 0.0.0.0/0


[snip]

> Ipvsadm commands run on director.I am using the default ipvsadm that comes
> with the RedHat CD.Piranha 0.2.1
> 
> It is version 1.3
> 
> ipvsadm -A -t 202.142.65.235:25 -s rr
> ipvsadm -a -t 202.142.65.235:25 -r 140.141.142.99 -g -w 1

If the director is masquerading then you should use IPVS-MASQ

ipvsadm -a -t 202.142.65.235:25 -r 140.141.142.99:25 -m


[snip]

Let me know if this helps. I have removes much of the debugging information
you replied for the sake of conciseness, not to belittle its usefulness.

-- 
Horms


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