Skip to content

Instantly share code, notes, and snippets.

@lukaszraczylo
Created December 10, 2020 20:51
Show Gist options
  • Save lukaszraczylo/f607171a57b703ddf8bbf950b51558c7 to your computer and use it in GitHub Desktop.
Save lukaszraczylo/f607171a57b703ddf8bbf950b51558c7 to your computer and use it in GitHub Desktop.
medium - setting up promisc mode
#...
ip address show dev $IFACE | grep -q " $1 "
ip link set $IFACE promisc on
#...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment