Question: how to use nmtui in centos 7?
Answer: Select IPv4 CONFIGURATION and hit Enter key and choose Manual option from popup window and then select Show option and hit enter key. Go to Addresses option and select <Add…> ...  Go to Gateway input field and put Gateway address (172.22. ...  Now go to DNS servers option and select <Add…>