Categories
News

Tech Short: Configure IP address in RHEL

The following short should help someone who needs to configure an IP address or networking on a RHEL (Red Hat Enterprise Linux) server post install, or if they are looking to modify an existing host.

The ‘classic’ method of doing this would be to vi or nano to ‘/etc/sysconfig/network-scripts’ and edit the name of the interface.

Another method I find helpful for those who prefer a user interface to step them through the process is to use the tool ‘nmtui‘.

All you need to do is: enter the command ‘nmtui’ & press enter. This will open a new window with 3 options i.e. we can edit our network interface, activate a network interface or set a hostname for our system.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.