diff --git a/sio2/SISR/LB/ipvsadm b/sio2/SISR/LB/ipvsadm new file mode 100755 index 0000000..eef871f --- /dev/null +++ b/sio2/SISR/LB/ipvsadm @@ -0,0 +1,9 @@ +#!/bin/bash +echo "1" > /proc/sys/net/ipv4/ip_forward +ipvsadm -A -t 192.168.0.140:80 -s rr + +ipvsadm -a -t 192.168.0.140:80 -r 172.16.1.11:80 -m +ipvsadm -a -t 192.168.0.140:80 -r 172.16.1.12:80 -m + + +