Hi guys
I need help !
So I am trying to install manually the basic elements of a load balancing.
I created an VIP on my eth1: here is the result.
eth0 Link encap:Ethernet HWaddr 00:0C:29:21:B2:53
inet addr:192.168.100.10 Bcast:192.168.100.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fe21:b253/6
4 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:26849 errors:0 dropped:0 overruns:0 frame:0
TX packets:39 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3065683 (2.9 MiB) TX bytes:4666 (4.5 KiB)
Interrupt:18 Base address:0x2024
eth1 Link encap:Ethernet HWaddr 00:0C:29:21:B2:5D
inet addr:172.31.18.116 Bcast:172.30.18.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fe21:b25d/6
4 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:24435 errors:0 dropped:0 overruns:0 frame:0
TX packets:639 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2232901 (2.1 MiB) TX bytes:85105 (83.1 KiB)
Interrupt:17 Base address:0x20a4
eth1:1 Link encap:Ethernet HWaddr 00:0C:29:21:B2:5D
inet addr:172.31.18.119 Bcast:172.30.18.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:17 Base address:0x20a4
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1866 errors:0 dropped:0 overruns:0 frame:0
TX packets:1866 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:93664 (91.4 KiB) TX bytes:93664 (91.4 KiB)
pan0 Link encap:Ethernet HWaddr B6:F3:EF:92:58:3E
BROADCAST MULTICAST MTU:1500 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 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
2 I created the rules in the ipvsadm
-A -t 172.31.18.119:http -s wlc
-a -t 172.31.18.119:http -r 172.31.18.225:http -g -w 1
-a -t 172.31.18.119:http -r 172.31.18.234:http -g -w 1
I think at that point request on 72.31.18.119 hould be laod balanced between the two web server no ?
So i've tried
http://172.30.18.119 ut nothing works.
I have tried a tcpdump to understand here is the resutl :
[root@MAHK-LVS01 ~]# tcpdump -n -i eth1:1 port 80
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth1:1, link-type EN10MB (Ethernet), capture size 96 bytes
12:21:51.255249 IP 172.31.18.96.jwclient > 172.31.18.119.
http: S 2007077408:2007077408(0) win 65535 <mss 1460,nop,nop,sackOK>
12:21:54.313975 IP 172.31.18.96.jwclient > 172.31.18.119.
http: S 2007077408:2007077408(0) win 65535 <mss 1460,nop,nop,sackOK>
12:22:00.341486 IP 172.31.18.96.jwclient > 172.31.18.119.
http: S 2007077408:2007077408(0) win 65535 <mss 1460,nop,nop,sackOK>
Can anybody help me ?
Thx
Start Free Trial