Default Route and Dns With Opensuse Tumbleweed with static IP

Kent - January 25, 2024

If changing your default network interface from, say wireless, to wired, you may have to explicitly set default gateway and DNS options.

Ther should be a file under /etc/NetworkManager/system-connections/ which will link to the wired interface.

Open that file in your favourite editor, vim.

vim /etc/NetworkManager/system-connections/enp0s31f6.nmconnection
[ipv4]
method=manual
address1=10.0.0.2/24,10.0.0.1
dns=10.0.0.1

See Also

Comments

Any comments? Create a new discussion on GitHub.
There used to be an inline comment form here, but it was removed.