Created
June 20, 2024 17:04
-
-
Save akiross/73c8b13358d7417c4c6f3bfc4af2610f to your computer and use it in GitHub Desktop.
Manually setting up the network
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
# Enable the link | |
ip link set ens18 up | |
# Set the IP | |
ip address add 192.168.1.123/24 dev ens18 | |
# Add a route | |
ip route add default via 192.168.1.1 | |
# Set the nameserver | |
resolvectl dns ens18 192.168.1.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment