From 449f7d49f9023bc4bb48ad33a84f25916b672556 Mon Sep 17 00:00:00 2001 From: weideng1 Date: Wed, 24 Aug 2022 15:41:19 -0600 Subject: [PATCH 1/2] add instructions to remove aliases without reboot --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 35144e06..3e5072ef 100644 --- a/README.md +++ b/README.md @@ -45,6 +45,17 @@ emphasis on testing with many simulated native protocol endpoints. itself to the presence of added ip addresses. This lasts several minutes. Also note that on reboot these ip addresses need to be re-added. + + If you need to remove these ip addresses without a reboot, you can run the following script: + + ```bash + #!/bin/bash + for sub in {0..4}; do + echo "Opening for 127.0.$sub" + for i in {0..255}; do sudo ifconfig lo0 -alias 127.0.$sub.$i; done + done + sudo ifconfig lo0 alias 127.0.0.1 up + ``` ## Getting Started with the Standalone Jar From d1ad878a38f8899606989a084a5da5bef6bc3dfc Mon Sep 17 00:00:00 2001 From: weideng1 Date: Wed, 24 Aug 2022 15:43:33 -0600 Subject: [PATCH 2/2] fix typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3e5072ef..9e1d15b0 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ emphasis on testing with many simulated native protocol endpoints. If you need to remove these ip addresses without a reboot, you can run the following script: ```bash - #!/bin/bash + #!/bin/bash for sub in {0..4}; do echo "Opening for 127.0.$sub" for i in {0..255}; do sudo ifconfig lo0 -alias 127.0.$sub.$i; done