Hello,
I've changed /etc/sysctl.conf already.
+ /etc/sysctl.conf
- net.ipv4.ip_forward = 1
- net.ipv4.ip_always_defrag = 1
I even issued this command "echo 1 > /proc/sys/net/ipv4/ip_forward" in
/etc/rc.d/rc.local
Result from cat command is as below:
[root@lvs /root] # cat /proc/sys/net/ipv4/ip_forward
1
[root@lvs /root] #
I just can't understand why ipvsadm -L display the wrong parameters I set:
+ IPVSADM (I intend to use VS_NAT, WLC)
[root@lvs /root] # ipvsadm -A -t 10.0.0.1:23 -s wlc
[root@lvs /root] # ipvsadm -a -t 10.0.0.1:23 -r 172.16.0.2:23 -m
[root@lvs /root] # ipvsadm -L
IP Virtual Server version 0.9.7 (size = 4096)
Prot LocalAddress:Port Scheduler Flags
-->RemoteAddress:Port Forward Weight ActiveConn InActConn
TCP 0A000001:0017 wlc
-->00000000:0100 Masq 0 0 0
The RemoteAddress:Port should be AC100002:0017, shouldn't it?
Did the VS 0.9.7 that comes with RH6.2 distribution have problem?
(I downloaded the whole RH6.2 distribution at ftp.freesoftware.com)
Thanks,
Dong
-----Original Message-----
From: Horms <horms@xxxxxxxxxxxx>
To: Nguyen Dang Phuoc Dong <dongnd@xxxxxxxxxxxx>
Cc: Linux Virtual Server <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Date: Saturday, July 22, 2000 12:21 AM
Subject: Re: Problem with RedHat 6.2 + VS 0.9.7
>On Fri, Jul 21, 2000 at 10:10:00AM +0700, Nguyen Dang Phuoc Dong wrote:
>> * The director box configuration:
>>
>> + /etc/sysconfig/network:
>> -FORWARD_IPV4="yes"
>> -DEFRAG_IPV4="yes"
>
>Run
>
>cat /proc/sys/net/ipv4/ip_forward
>
>I have a suspicion that setting FORWARD_IPV4 in /etc/sysconfig/network
>doesn't work on RH 6.2.
>
>If this is the case you can set this proc value such that it will
>be set on reboot by editing /etc/sysctl.conf. To make this
>change take effect immediately run sysctl -p.
>
>
>--
>Horms
>
>
>
|