Manual Interface Configuration - Sat, Apr 13, 2024
Manual Interface Configuration using NetworkManager for Linux.
This page contains some useful commands regarding the manual configuration of interfaces on Linux.
Setup Ethernet Connection with NetworkManager
Information - Debugging
nmcli device status
nmcli connection show
sudo systemctl restart NetworkManager
Change Interface Name
nmcli connection modify "Auto Ethernet" connection.id "Ethernet 0"
Configure Interface
Note that the following values are placeholders, you need to add the actual values for your own network.
sudo nmcli connection modify "Ethernet 0" \
ipv4.method "manual" \
ipv4.addresses "172.21.152.200/23" \
ipv4.gateway "" \
ipv4.dns ""