Last active
May 26, 2023 17:04
-
-
Save JurrianFahner/c73ee22717f85418ef6017e13310938f to your computer and use it in GitHub Desktop.
ifconfig to ip
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
ifconfig | |
# is similar to | |
ip addr show | |
ifconfig eth0 | |
# is similar to | |
ip addr show eth0 | |
ifup | |
# is similar to | |
ip link set eth0 up | |
ifdown | |
# is similar to | |
ip link set eth0 down | |
# more commands: | |
ip addr add 192.168.1.121/24 dev wlan0 | |
ip addr del 192.168.1.121/24 dev wlan0 | |
ip route show | |
ip route add 149.210.223.249/24 dev wlan0 | |
ip route add 149.210.223.249/24 via 192.168.1.1 | |
ip route get 62.69.166.254 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment