Created
December 29, 2018 04:25
-
-
Save mnogu/eb3b46841019c3243c3126b79813efb5 to your computer and use it in GitHub Desktop.
Workaround for a bug in BIG-IP Edge Client
This file contains hidden or 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
#!/bin/bash | |
# Workaround for a bug in BIG-IP Edge Client 7130.2015.0807.1 on macOS Mojave | |
# | |
# You can find the following error log messages if you encounter this bug: | |
# "Disconnected state, Error code, Routing table cannot be patched" | |
# "EXCEPTION - Initial patching for v6 failed, 4294967295" | |
# "Adding include route was failed" | |
# NET_IF depends on your Mac environment. | |
# You can find candidates of NET_IF with the following command: | |
# | |
# $ netstat -rn -f inet6|awk '{print $4}'|sort -u | |
# | |
NET_IF="en5" | |
for dest in $(netstat -rn -f inet6|grep ${NET_IF}|awk '{print $1}') | |
do | |
sudo route delete -inet6 ${dest} -interface ${NET_IF} | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment