![]() Other network nodes also may need an unchanging network identity. This is an important fact when it comes to servers because most client computers need to be able to find servers consistently.įor example, an NFS file server hosting department directories needs to keep the same IP address over time as configuration files such as a client computer’s /etc/fstab file may use the IP address for connectivity. Static IP addresses do not change unless the administrator actively reconfigures them. Recall that you can make no typographical errors when configuring IP addresses, and duplicate addresses will cause network connection problems. The GUI configuration can be accomplished by selecting the Manual button and then filling in the blanks with the appropriate information.įigure 1: Static IP configuration in the NetworkManager GUI. # nmcli connection modify home-network ipv4.dns 8.8.8.8 # nmcli connection modify home-network ipv4.addresses 192.168.2.200/24 # nmcli connection modify home-network ipv4.gateway 192.168.2.1 Here is an example of creating a network connection named home-network with an IP address of 192.168.2.200/24, a default gateway of 192.168.2.1, and a name server of 8.8.8.8: # nmcli connection add con-name home-network ifname enp7s0 type ethernet The nmcli process to set a static IP configuration is to create a connection profile and then set the values desired. NetworkManager can be used in a GUI, TUI, or CLI environment. NetworkManager primarily handles network configuration. The standard settings are IP addresses, subnet masks, default gateways, and nameservers.
0 Comments
Leave a Reply. |