To configure the network, we need to use those command and steps in the CentOS 7.
#nmcli d (To check the ethernet card)
#nmtui (To open Network manager.)
After opening Network manager chose “Edit connection” and press Enter Here, we will use TAB button for choosing options. To connect with a DHCP network. We don't need to insert an IP address in the system just check the "Automatically Connect" in the Edit connection. Go to the OK Option and press enter. Then go to the QUIT option and press enter.
#service network restart (To restart the network service)
#ip address (Here, we can see our IP address with the ethernet card)
#nmcli d (To check the ethernet card)
#nmtui (To open Network manager.)
After opening Network manager chose “Edit connection” and press Enter Here, we will use TAB button for choosing options. To connect with a DHCP network. We don't need to insert an IP address in the system just check the "Automatically Connect" in the Edit connection. Go to the OK Option and press enter. Then go to the QUIT option and press enter.
#service network restart (To restart the network service)
#ip address (Here, we can see our IP address with the ethernet card)
No comments:
Post a Comment