Created
November 25, 2020 23:01
-
-
Save kbruner/978b281eaaf2e7ebf282d7125bd024e0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@nucklehead:~ # ipfw add 200 prob 0.33 fwd 10.10.0.10 ip from any to 10.10.0.1 keep-state | |
00200 prob 0.330000 fwd 10.10.0.10 ip from any to 10.10.0.1 keep-state :default | |
root@nucklehead:~ # ipfw add 201 prob 0.5 fwd 10.10.0.11 ip from any to 10.10.0.1 keep-state | |
00201 prob 0.500000 fwd 10.10.0.11 ip from any to 10.10.0.1 keep-state :default | |
root@nucklehead:~ # ipfw add 202 fwd 10.10.0.12 ip from any to 10.10.0.1 keep-state | |
00202 fwd 10.10.0.12 ip from any to 10.10.0.1 keep-state :default | |
root@nucklehead:~ # for i in 0 1 2; do | |
ssh -i ~cbsd/.ssh/id_rsa ubuntu@controller-$i sudo ip address add 10.10.0.1/32 dev enp0s5:1 | |
done | |
root@nucklehead:~ # ssh -o StrictHostKeyChecking=false -i ~cbsd/.ssh/id_rsa ubuntu@10.10.0.1 | |
[...] | |
ubuntu@controller-2:~$ logout | |
Connection to 10.10.0.1 closed. | |
root@nucklehead:~ # ssh -o StrictHostKeyChecking=false -i ~cbsd/.ssh/id_rsa ubuntu@10.10.0.1 | |
[...] | |
ubuntu@controller-0:~$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment