Difference between revisions of "Ipvsadm"
Jump to navigation
Jump to search
Line 12: | Line 12: | ||
sudo ipvsadm -a -t 1.2.3.4:80 -r 172.16.0.3 -m | sudo ipvsadm -a -t 1.2.3.4:80 -r 172.16.0.3 -m | ||
sudo ipvsadm -a -t 1.2.3.4:80 -r 172.16.0.4 -m | sudo ipvsadm -a -t 1.2.3.4:80 -r 172.16.0.4 -m | ||
+ | sudo ipvsadm -L -n --stats --rate | ||
``` | ``` |
Revision as of 20:28, 7 November 2021
- https://link.medium.com/2WUdA0LxZkb
- https://cheatsheet.dennyzhang.com/cheatsheet-ipvs-a4
- https://createnetech.tistory.com/1
sudo apt install ipvsadm sudo ipvsadm -l -n sudo ipvsadm -A -t 1.2.3.4:80 -s rr sudo ipvsadm -D -t 1.2.3.4:80 sudo ipvsadm -a -t 1.2.3.4:80 -r 172.16.0.3 -m sudo ipvsadm -a -t 1.2.3.4:80 -r 172.16.0.4 -m sudo ipvsadm -L -n --stats --rate