# set static ip address
ifconfig eth0 $IP netmask $NETMASK broadcast $BROADCAST
# change mac address
ifconfig eth0 hw ether $MAC_ADDRESS
# add alias interface
ifconfig eth0:0 $ALIAS_IP
# enable promiscuous model
ifconfig eth0 promisc
Created
September 16, 2016 12:36
-
-
Save jkullick/73c4d24794bcc7af5a5ddbcd764749e5 to your computer and use it in GitHub Desktop.
Ifconfig Cheat Sheet
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment