How to set static ip address in ubuntu and Centos using terminal

How to set static ip address in ubuntu 16.04

How to set static ip address in any linux distros using terminal

Open terminal



nmtui

Edit a connection

How to set static ip address in ubuntu and Centos using terminal 1

 

Select the connection you want to edit and select the edit option as mentioned in image

 

How to set static ip address in ubuntu and Centos using terminal 2

DropDown and select manual option in ipv4



How to set static ip address in ubuntu and Centos using terminal 3

Show options

Edit the ip, gateway, and DNS

How to set static ip address in ubuntu and Centos using terminal 4

DropDown and press ok

Go back to terminal

Again open



nmtui

Select “ Activate a connection “

How to set static ip address in ubuntu and Centos using terminal 5

Select your connection and press enter

How to set static ip address in ubuntu and Centos using terminal 6

techouse

I love helping beautiful people like you. I love hanging out with my dogs.

You may also like...

Leave a Reply

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

× How can I help you?