LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: LVS-NAT

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: LVS-NAT
From: "Salah Abdulla" <salah@xxxxxxxxxxxxx>
Date: Thu, 6 Nov 2003 16:40:59 +0800
Thank you.

Salah
----- Original Message ----- 
From: "崔涛" <taocui@xxxxxxx>
To: "LinuxVirtualServer.org users mailing list."
<lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Thursday, November 06, 2003 3:55 PM
Subject: Re: LVS-NAT


> you should set ip_forward ON for nat by:
> echo "1" > /proc/sys/net/ipv4/ip_forward
> and turn off icmp redirectors by:
> echo "0" >/proc/sys/net/ipv4/conf/all/send_redirects
> cat       /proc/sys/net/ipv4/conf/all/send_redirects
> echo "0" >/proc/sys/net/ipv4/conf/default/send_redirects
> cat       /proc/sys/net/ipv4/conf/default/send_redirects
> echo "0" >/proc/sys/net/ipv4/conf/eth0/send_redirects
> cat       /proc/sys/net/ipv4/conf/eth0/send_redirects
> set default gw
> /sbin/route add default gw 192.168.2.254 netmask 0.0.0.0 metric 1
>
> ----- Original Message ----- 
> From: "Salah Abdulla" <salah@xxxxxxxxxxxxx>
> To: "LinuxVirtualServer.org users mailing list."
<lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
> Sent: Thursday, November 06, 2003 3:42 PM
> Subject: LVS-NAT
>
>
> > Hi,
> >
> > I just download and installed kernel-2.4.20-20.7.hidd.ipvs110.i686.rpm
and
> > ipvsadm-1.21-7.i386.rpm.
> > 207.175.44.110 is DIR and 192.168.10.1,2,3,4,5 are real server. Run the
> > following command
> >
> >        ipvsadm -A -t 207.175.44.110:80 -s rr
> >        ipvsadm -a -t 207.175.44.110:80 -r 192.168.10.1:80 -m
> >        ipvsadm -a -t 207.175.44.110:80 -r 192.168.10.2:80 -m
> >        ipvsadm -a -t 207.175.44.110:80 -r 192.168.10.3:80 -m
> >        ipvsadm -a -t 207.175.44.110:80 -r 192.168.10.4:80 -m
> >        ipvsadm -a -t 207.175.44.110:80 -r 192.168.10.5:80 -m
> >
> > Tested it and it is not working. Run netstat -a and cannot see port http
is
> > listening. Any advise please.
> >
> > Regards,
> > Salah
> >
> >
> > _______________________________________________
> > LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> > Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
> > or go to http://www.in-addr.de/mailman/listinfo/lvs-users
> >
>


----------------------------------------------------------------------------
----


> _______________________________________________
> LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
> or go to http://www.in-addr.de/mailman/listinfo/lvs-users
>


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