TP Load Balancer

This commit is contained in:
root 2023-09-15 12:59:31 +02:00
parent 0a1f8f7e05
commit 864d415eea

9
sio2/SISR/LB/ipvsadm Executable file
View File

@ -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