Quantcast
Channel: max
Viewing all articles
Browse latest Browse all 6

Setting Up Static IP Address on Linux

$
0
0

This page explains how to set up a static IP address on a Linux with NetworkManager.

 

Steps
1. Static IP address(es) can be set up in *.nmconnection file under /etc/NetworkManager/system-connections like below.

[ipv4]
method=manual
addresses=10.10.10.51
gateway=10.10.10.254
dns=10.10.10.254

 

2. Reload and restart

sudo nmcli connection reload
sudo nmcli connection down 'MY HOME WIFI'
sudo nmcli connection up 'MY HOME WIFI'

 

References
[1] Cannot configure a static IP address – raspberrypi.com
[2] NetworkManager – Arch Linux

 


Viewing all articles
Browse latest Browse all 6

Trending Articles