How to assign an IP Address to CentOS Linux Server
This tutorial shows you how to assign an IP Address to your CentOS Linux Server.
|Step 1.||Log in to the server console as root user.|
|Step 2.||Open the file /etc/sysconfig/network-scripts/ifcfg-eth0 in a text editor, such as VI, if your default network interface is eth0.|
|Step 3.||Edit the file and add this information:|
|Below is a description of the fields:|
|Step 4.||Save and restart the network service.|
|Step 5.||If you check with the command ifconfig -a, you can see the assigned IP address.|
Congratulations, you have assigned a hostname IP Address to your CentOS Linux Server.
Fantastic...Thank you for your feedback =)
Sorry... Please submit a support ticket or try another search.
Support ticket has been sent to your email, please check for your ticket id.
- How to assign a Hostname for CentOS Linux Server
- How many IP addresses does the Linux Server have?
- How to create and assign Name Servers in Linux VPS
- How to Configure SSH Server on Centos
- Install Apache Web Server under CentOS or Red Hat