Contents
What do I need to configure my CentOS 6 network?
It can do basic network configurations, such as configuring static or DHCP addresses, setting the DNS server IP addresses, and setting the default gateway. The base CentOS 6 installation includes the tool by default. To install it on a minimal installation, follow these instructions.
What can I do with a minimal CentOS install?
A minimal CentOS installation will enable the network interface and allow root to login using ‘ssh’ by default. That is it – installing packages is a little different in a RedHat based distribution but I’ll cover that later!
Where can I download CentOS network installation CD?
To begin you will need to download an image of the network installation CD from one of the CentOS mirror sites, since I am in the UK I used the University of Kent UK Mirror service which hosts both the 32-bit and 64-bit netinst ISO images.
How do I install CentOS 6 on a virtual machine?
If you are installing CentOS 6 on a physical machine you will have to burn the image to a physical CD before booting from it. If you are installing it on a virtual machine (as I was) then it is even easier as all you need to do is download the ISO and attach it to you virtual machine’s CDROM drive.
How to configure CentOS network interface via GUI?
To configure your CentOS network interface via GUI, you need to open the Network Manager and modify the configuration according to your needs. 1. Open the Network Manager by running the following command in the command line: nmtui. 2. The command prompts the NetworkManager TUI window, which appears as in the image below.
How to configure a static IP in CentOS?
Configuring a Static IP 1 First, find the name of the network interface you want to change using the network manager command-line tool. 2 To do so, open the network’s configuration file by typing the following: vi /etc/sysconf ig/network-scripts/ifcfg- [network_device_name] 3 A text editor with the network configuration opens.
How to configure a network as DHCP in CentOS?
To configure a network as DHCP (Dynamic Host Configuration Protocol), you need to set the IPv4 configuration settings to Automatic. 2. Before you exit out of the Network Manager, make sure to enable automatic connection for the network interface. 3. Select OK to save the changes.