Linux networking · Interfaces and routes
Bring an interface up or down
Enable or disable an interface.
sudo ip link set eth0 up
Caution: Taking down the interface you are connected through will cut off an SSH session.
Official Linux networking documentation
More interfaces and routes commands
- Show IP addresses
- Show interface state
- Show the routing table
- Find which route a destination uses
- Find your public IP address
- Show the ARP table
All interfaces and routes commands · Linux networking cheatsheet