Skip to content

Instantly share code, notes, and snippets.

@mnogu
Created December 29, 2018 04:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mnogu/eb3b46841019c3243c3126b79813efb5 to your computer and use it in GitHub Desktop.
Save mnogu/eb3b46841019c3243c3126b79813efb5 to your computer and use it in GitHub Desktop.
Workaround for a bug in BIG-IP Edge Client
#!/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