Created
October 3, 2016 14:46
-
-
Save agusvama/96007a5ed2916e54db8c3aac47c5fe1b to your computer and use it in GitHub Desktop.
This file contains 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
//static ip configuration on Slackware | |
//turn down interface | |
# ip link set eth0 down | |
//flush old ip | |
# ip addr flush dev eth0 up | |
//add static ip | |
# ip addr add {ip}/{mask} dev eth0 broadcast + | |
//turn on interface | |
# ip link set eth0 up | |
//add gateway | |
# ip route add default via {gateway} | |
//after this you can perform a ping to check connection |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment