Difference between revisions of "Ipvsadm"
Jump to navigation
Jump to search
Line 8: | Line 8: | ||
sudo apt install ipvsadm | sudo apt install ipvsadm | ||
sudo ipvsadm -l -n | sudo ipvsadm -l -n | ||
− | sudo ipvsadm -A -t | + | sudo ipvsadm -A -t 1.2.3.4:80 -s rr |
− | sudo ipvsadm -D -t | + | 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 | ||
``` | ``` |
Revision as of 20:03, 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