siotp/sio2/SISR/LB/ipvsadm
2023-09-15 12:59:31 +02:00

10 lines
198 B
Bash
Executable File

#!/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