> I don't know why the tunnel interface on server 2 has never got any
> packets. There must be something wrong.
>
> Please send me the output of 'ippfvsadm -L' and 'ifconfig' on the server 1
> and the output of 'ifconfig' on the server 2, maybe I can help.
>
> You can make your configuration simple to diagnosis, for example the
> server 1 can be configured as follows:
> echo "1" > /proc/sys/net/ipv4/ip_forward
> ippfvsadm -A -t 192.168.0.2:80 -R 127.0.0.1 -w 2
> ippfvsadm -A -t 192.168.0.2:80 -R 192.168.0.3 -w 3
I have tried that and run the test .. but the tunnel on server 2 still
unused ...
*** Server 1 ***
(/proc/net/ip_pfvs)
ippfvs (LinuxDirector) version 0.8 (Tunneling, LocalNode, WRR)
IP Port Forwarding & Virtual Server Table
Protocol Local Addr:Port ==>
Remote Addr Weight
...
TCP 192.168.0.2:80 ==>
127.0.0.1 2
192.168.0.3 3
---------------------------------------------------------------------
lo Link encap:Local Loopback
inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0
UP BROADCAST LOOPBACK RUNNING MTU:3584 Metric:1
RX packets:18 errors:0 dropped:0 overruns:0 frame:0
TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
collisions:0
eth0 Link encap:Ethernet HWaddr 00:10:5A:5D:11:D1
inet addr:192.168.0.2 Bcast:192.168.0.63 Mask:255.255.255.192
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:236399 errors:0 dropped:0 overruns:0 frame:0
TX packets:296702 errors:0 dropped:0 overruns:0 carrier:0
collisions:0
Interrupt:12 Base address:0xd000
-------------------------------------------------------------------------
*** Server 2 ***
lo Link encap:Local Loopback
inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0
UP BROADCAST LOOPBACK RUNNING MTU:3584 Metric:1
RX packets:50 errors:0 dropped:0 overruns:0 frame:0
TX packets:50 errors:0 dropped:0 overruns:0 carrier:0
collisions:0
tunl0 Link encap:IPIP Tunnel HWaddr
inet addr:192.168.0.2 Mask:255.255.255.192
UP RUNNING NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0
eth0 Link encap:Ethernet HWaddr 00:10:5A:5D:11:F3
inet addr:192.168.0.3 Bcast:192.168.0.63 Mask:255.255.255.192
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:141222 errors:0 dropped:0 overruns:0 frame:0
TX packets:219450 errors:0 dropped:0 overruns:0 carrier:0
collisions:0
Interrupt:9 Base address:0xd000
--------------------------------------------------------------------------
Regards,
Nartpong.
|