- Awards Season
- Big Stories
- Pop Culture
- Video Games
- Celebrities

The Basics of Pulling an IP Address: What You Need to Know
When it comes to understanding the internet, knowing how to pull an IP address is a fundamental skill. An IP address (Internet Protocol address) is a unique identifier that is assigned to each device connected to the internet. It is used to identify and locate a device on the network, enabling communication between two or more devices. In this article, we will discuss the basics of pulling an IP address, including what it is, why it’s important, and how to do it.
What is an IP Address?
An IP address is a numerical label assigned to each device connected to a computer network that uses the Internet Protocol for communication. It uniquely identifies each device on the network and allows data packets to be routed from one device to another. An IP address consists of four numbers separated by periods, such as 192.168.1.1.
Why is Pulling an IP Address Important?
Pulling an IP address can be useful in many situations. For example, if you are troubleshooting a network issue or trying to track down malicious activity on your network, you may need to pull an IP address in order to identify the source of the problem or determine which device is responsible for the malicious activity. Additionally, if you are trying to access a website or service that requires authentication, you may need to pull your own IP address in order to gain access.
How Do You Pull an IP Address?
Pulling an IP address can be done in several ways depending on your operating system and what type of information you need. On Windows systems, you can use the ipconfig command in Command Prompt or PowerShell; on Mac systems, you can use the ifconfig command in Terminal; and on Linux systems, you can use the ip command in Terminal. Additionally, there are websites that allow you to look up your public IP address without having to run any commands or install any software.
In conclusion, knowing how to pull an IP address is essential for understanding how networks work and troubleshooting any issues that may arise with them. With this knowledge in hand, you’ll be able to identify devices on your network and access services that require authentication with ease.
This text was generated using a large language model, and select text has been reviewed and moderated for purposes such as readability.
MORE FROM ASK.COM

- TechRepublic
Account Information

How to configure a static IP address in CentOS 7
Share with Your Friends
Your email has been sent
This short tutorial walks you through the process of changing a CentOS ethernet interface from DHCP to static--but be prepared to type.
You may have set up a CentOS server and, in the process, accidentally set it up with DHCP. If your CentOS server uses a GUI, changing that IP address from dynamic to static is very simple. But what if your server is a text-only machine? What do you do then? Fortunately, it’s not all that hard to configure that GUI-less server with a static IP address–you just have to know where it’s configured and know the syntax of the configuration. Of course, by nature of what we’re working on this is all done manually, so be prepared to type.
I’ll be working on CentOS 7 . I’ll assume you already have the operating system installed and working properly, have access to the machine, and have an administrative account. With that out of the way, let’s set up that static IP address.
Find your interface
The first thing we must do is find out the name of our ethernet interface. A static IP address cannot be configured without this name. To do this, log into your server and issue the command ip a . The output of this command ( Figure A ) will include the name of the interface.

As you can see, from my output, the name of my interface is enp0s3. Now that we know the name of our interface, we can configure the static address.
Configuring the address
Within the directory /etc/sysconfig/network-scripts/ you should find the file ifcfg-INTERFACENAME (Where INTERFACENAME is the name of your interface). In my instance, the file is ifcfg-enp0s3. It is important that you configure that file, and not the ifcfg-eth file. Open the correct file for editing with the command sudo nano /etc/sysconfig/network-scripts/ifcfg-enp0s3 . We need to modify that file in order to not only change the protocol from dhcp to static, but to add the specific IP address. So when you open up that file, you’ll want to change:
BOOTPROTO=dhcp
BOOTPROTO=static
Now you’ll need to add the entries to set not only the IP address, but the netmask, gateway, and DNS addresses. At the bottom of that file, add the following:
IPADDR=192.168.1.200 NETMASK=255.255.255.0 GATEWAY=192.168.1.1 DNS1=1.0.0.1 DNS2=1.1.1.1 DNS3=8.8.4.4
NOTE: All fields in bold, you will edit to reflect your networking needs. If you have fewer or more DNS entries, add or remove them as needed.
Save and close that file. In order to make the changes take effect, issue the command sudo systemctl restart network. Once the networking system has restarted, issue the command ip a to see that your IP address has changed to reflect your configuration.
And that’s all there is to setting a static IP address on CentOS. That wasn’t so hard, now was it? Don’t think this technique is limited only to GUI-less CentOS servers. You can use the same method to set a static IP address on a CentOS server with a GUI as well.
Enjoy having more control over your CentOS network interfaces.
Subscribe to the Developer Insider Newsletter
From the hottest programming languages to commentary on the Linux OS, get the developer and open source news and tips you need to know. Delivered Tuesdays and Thursdays
- How to install Kloxo-Mr hosting control panel on CentOS (TechRepublic)
- How to install a GUI on top of CentOS 7 (TechRepublic)
- How to install cPanel/WHM on CentOS 7 (TechRepublic)
- How to use the nmcli command to gather network device information on Linux (TechRepublic)
- Learn how to run Linux on Microsoft's Azure cloud (ZDNet)
- See all of Jack's content
- Open source
Editor's Picks

TechRepublic Premium Editorial Calendar: Policies, Checklists, Hiring Kits and Glossaries for Download
TechRepublic Premium content helps you solve your toughest IT issues and jump-start your career or next project.

7 Best AI Art Generators of 2023
This is a comprehensive list of the best AI art generators. Explore the advanced technology that transforms imagination into stunning artworks.

The Best Cheap Payroll Services for 2023
Find the perfect payroll service for your business without breaking the bank. Discover the top cheap payroll services, features, pricing and pros and cons.

NordVPN Review (2023): Pricing, Security & Performance
Is NordVPN worth it? How much does it cost and is it safe to use? Read our NordVPN review to learn about pricing, features, security, and more.

10 Best Free Project Management Software & Tools for 2023
Free project management software provides flexibility for managing projects without paying a cent. Check out our list of the top free project management tools.


Cloud Strategies Are Facing a New Era of Strain in Australia, New Zealand
Australian and New Zealand enterprises in the public cloud are facing pressure to optimize cloud strategies due to a growth in usage and expected future demand, including for artificial intelligence use cases.
Hiring Kit: User Experience Designer
While the perfect color palette or the most sublime button shading or myriad of other design features play an important role in any product’s success, user interface design is not enough. Customer engagement and retention requires a strategic plan that attempts to measure, quantify and ultimately create a complete satisfying user experience on both an ...
AlmaLinux Checklist: 9 Things to Do after Installation
This checklist from TechRepublic Premium consists of nine things you should do immediately after installing AlmaLinux. This list of items can be applied to all use-cases for your new server operating system. Although there will be plenty more to do (such as install the services and specific software you need), you can count on this ...
What is Generative AI?
Generative artificial intelligence refers to deep learning models that can generate content such as images, code, text and other forms of media. These algorithms are trained to identify patterns using large datasets, enabling them to produce similar output. TechRepublic Premium presents this explanation of generative AI, including its evolution, features, examples, drawbacks and benefits. From ...
- TechRepublic on Twitter
- TechRepublic on Facebook
- TechRepublic on LinkedIn
- TechRepublic on Flipboard
- Privacy Policy
- Terms of Use
- Property of TechnologyAdvice
Create a TechRepublic Account
Get the web's best business technology news, tutorials, reviews, trends, and analysis—in your inbox. Let's start with the basics.
* - indicates required fields
Sign in to TechRepublic
Lost your password? Request a new password
Reset Password
Please enter your email adress. You will receive an email message with instructions on how to reset your password.
Check your email for a password reset link. If you didn't receive an email don't forgot to check your spam folder, otherwise contact support .
Welcome. Tell us a little bit about you.
This will help us provide you with customized content.
Want to receive more TechRepublic news?
You're all set.
Thanks for signing up! Keep an eye out for a confirmation email from our team. To ensure any newsletters you subscribed to hit your inbox, make sure to add [email protected] to your contacts list.
- Skip to primary navigation
- Skip to main content
- Skip to primary sidebar
- Skip to footer navigation
The Geek Diary
CentOS / RHEL 7 : Configuring static IP adress using network interface configuration files
There are various ways you can configure an IP address in RHEL 7. The posts discusses the use of network interface configuration files to configure the IP address. Each physical network device has an associated network interface configuration file. Network interface configuration files are located in the /etc/sysconfig/network-scripts directory.
1. Use the ip addr command to display your available network interfaces.
Note that you have 3 Ethernet interfaces (eth0, eth1) and the loopback interface (lo). If you interface names are somthing like eno16777736, refere this post to change the interface naming to eth0 and eth1.
2. cd into the /etc/sysconfig/network-scripts directory which holds the network interface configuration files.
Here you would find the network configuration file for the eth1 interface i.e. ifcfg-eth1 . If not already present you can copy the interface configuration file of interface eth0.
3. We want to assign IP address 192.168.1.30 to the interface eth1. Edit the configuration file for the interface and change the highlighted parameters as show below :
4. Edit the /etc/hosts file to add the entry for the new IP address :
5. Restart the network services :
Using network interface control scripts to stop/start a specific network interface
The network interface control scripts i.e. ifup and ifdown . Use the ifdown command to stop the interface and eno16777736. Verify the status of the interface using “if addr” command (the ip address should have disappeared):
Use the ifup command to start the interface again :
You May Also Like
Special Offer
Deploy your Cloud Server now and get $100 in Free Credits!
- 5 Best practices for configuring and managing a Load Balancer
- 5 Most Effective Ways to Avoid Cloud Bill Shocks.
- 6 Benefits of Deploying a Load Balancer on your server.
- 6 Cloud Computing Myths, Busted!
- 7 Reasons Why Cloud Infrastructure is Important for Startups
- Advantages and Challenges of Developing Cloud-Native Applications
- Advantages and Challenges of Implementing a Hybrid Cloud Solution
- Advantages and challenges of implementing edge computing in your organization
- Advantages and Challenges of Using AI and Machine Learning in the Cloud
- Advantages and Challenges of Using Cloud-Based Analytics Tools
- Advantages and Challenges of Using Kubernetes and Containers in the Cloud
- Benefits of Cloud Computing for Small Businesses
- Benefits of using Cloud Servers compared to Physical Servers
- Best Cloud Platform for Your Business
- Best Practices for Implementing Serverless Computing in Your Organization
- Best Practices for Managing and Securing Edge Computing Devices
- Best VPS Hosting Providers in 2023
- Can Artificial Intelligence Replace Teachers? The Future of Education with AI
- Challenges of Cloud Server Compliance
- Cloud or In-House Server: Which is best for your business?
- Collaborating DevOps and SRE for Efficient Cloud Migration
- Compliance in the Cloud: Understanding Your Responsibilities
- Customer-Centric Cloud: How Human Support Enhances User Experience
- Deploying and Managing a Cluster on Utho Kubernetes Engine (UKE)
- Edge Computing: A User-Friendly Explanation
- Ethics and Regulation of AI: The Next Frontier for Artificial Intelligence
- Green Cloud Computing – Sustainability in Cloud Usage
- How Cloud Firewall Can Help You to Avoid Costly Data Breaches.
- How SSL Certificates Keep You and Your Business Secure from Cyber Attacks.
- How to Choose a Best Cloud Hosting Provider
- How to Choose the Right Kubernetes Solution for Your Business
- How to Choose the Right Multi-Cloud Management Tool for Your Business
- How to keep your Business Documents Safe from Online Threats
- Impact of Cloud Server Energy Consumption
- Impact of Cloud Server Location on Latency
- Instructions for Migrating to a Utho Cloud Environment
- Introduction to AI and Machine Learning in the Cloud: What Are They and How Do They Work?
- Introduction to Big Data Analytics in the Cloud: What are the Benefits?
- Multi-Cloud Strategy: Everything You Need to Know
- Pros and Cons of Using Serverless Computing in Your Business
- Public VS Private VS Hybrid Cloud: Which is Right for Your Business?
- SaaS, PaaS, and IaaS: A Comparison of Business Models
- serverless computing: What is it and how does it work?
- The Dark Side of Cloud Servers: Risks and Threats
- The Future of Cloud Server Management
- The Future of Kubernetes: What to Expect in 2023 ?
- The Impact of Cloud Server Downtime on Business Operations
- The Importance of Hosting Your Website on a Cloud Server
- The Pros and Cons of Multi-Cloud Server strategy
- The Role of Cloud Servers in Edge Computing
- Top 05 Cloud Security Threats in 2023 and Proven Strategies to Mitigate Them
- Top 10 Factors to Consider When Choosing a Cloud Server Provider
- Unleashing the Power of Artificial Intelligence: What AI Can Do with Utho Cloud
- Unlock Machine Learning Potential with CUDA Cores
- VPS Hosting: A Beginner’s Guide to Virtual Private Servers
- What is a Bare Metal Server? An In-Depth Overview
- What is a Cloud Server ?
- What is a Cloud Service Provider?
- What is a Hybrid Cloud and why is it Important?
- What is Cloud-Native Application Development and Why is it Important?
- What is Kubernetes and Why is it important?
- What is VPN and how can it benefit your business?
- When Was Artificial Intelligence Invented?
- Why Artificial Intelligence is Important
- Why Firewalls Are Important For Your Business || Benefits of Using a Firewall
- Why Ransomware Attacks Are Rising and How You Can Protect Your Business.
- Will Artificial Intelligence Replace Humans?
- Show all Docs ( 52 ) Collapse Docs
- How To Configure BIND as a Private Network DNS Server on CentOS 7
- How to Install and Configure PowerDNS on centos 7 using MariaDB.
- 2 Methods for Re-Running Last Executed Commands in Linux
- 4 Effective Ways to Determine the Name of a Plugged USB Device in Linux
- An introduction to the Linux alternatives command
- Archiving and Compressing files with GNU Tar and GNU Zip
- Change SSH Default Port 22 to Custom Port
- Cheat sheet for 15 nmcli commands in Linux (RHEL/CentOS)
- Command-line internet speed tests in CentOS 7
- convert rwx permissions to octal format in Linux
- Create a Zabbix action to deliver an alert message to the user
- Deploy Django Applications Using Nginx and uWSGI on Ubuntu 14.04
- Determine All IP Addresses of Live Hosts Connected to the Network in Linux
- Disable reboot using Ctrl-Alt-Del Keys in RHEL / CentOS 7/8
- Disable SSH root login in Centos 7
- Download Online Resources from the Command Line with wget
- Explanation of iftop command
- Explanation of less, more and most command in Linux
- Explore Metabase data using MySQL
- Find multiple Ways to User Account Info and Login Details in Linux
- For Application Data Storage on Fedora 14, Use MongoDB
- Getting Started with SELinux
- How do I find my Apache version in Plesk
- How do we install MySQL Workbench on Ubuntu 18.04?
- How to access CentOS terminal by browser: Shellinabox
- How to access IBM WAS admin console
- How to access Linux server using SSH in Windows, Linux and Mac OS.
- How to access Ubuntu terminal by browser: Shellinabox
- How to add a swap file in Linux
- How to Add a User and Grant Root Privileges on CentOS 7
- How To Add a User and Grant Root Privileges on Ubuntu 18.04
- How to Add a User to Sudoers in Ubuntu 18.04
- How to add FTP account in plesk
- How To ADD OR DELETE DOMAINS AND SUBDOMAIN IN PLESK
- How to add or remove a User from a Linux Group
- How To Add User to Sudoers or Sudo Group in CentOS 7
- How to Allow Remote Connections to MySQL in centos
- How to Block and unblock Ip in CSF-WHM/Cpanel
- How to Build Brotli From Source on CentOS 7
- How to Build Brotli From Source on Debian 9
- How to Build Brotli From Source on Fedora
- How to Build Brotli From Source on Ubuntu 20.04 LTS
- How to change apache2 web folder in Ubuntu
- How to change date and time in Linux
- How to Change Default Port of Apache On RHEL/CentOS 7
- How to change mysql port number in centOS 7
- How to change SSH port when SELinux policy is enabled
- How to check and analyze packets by tcpdump command
- How to Check Disk Performance (IOPS and Latency) in Linux?
- How to check Disk Speed (Read/Write) HDD, SSD Performance in CentOS 7
- How to check, disable and enable PHP modules.
- How to Compress a.bz2 File and How to Uncompress It
- How to configure an external SMTP server in Plesk
- How To Configure SFTP Server In Debian
- How to configure SFTP server on Debian 12
- How to Connect Node.js Application with MongoDB on CentOS
- How To Create a New User and Grant Permissions in MySQL
- How to create an email account in Plesk And set email forwarding
- How to Create Email Accounts in cPanel
- How to Create Hard and Symbolic Links
- How To Create Temporary and Permanent Redirects with Apache on Ubuntu
- How to Create, Encrypt, and Decrypt Random Passwords in Linux
- How to enable RDP in Ubuntu OS (Tasksel)
- How to Execute a Command with a Timeout in Linux
- How to Extract and Download Tar Files with a Single Command
- How to Find and Sort Files in Linux Based on Modification Date and Time
- How to fix "Command not found" error in CentOS
- How to host a domain on centos 7
- How to host node.js application on Plesk
- How To Import and Export Databases in MySQL or MariaDB
- How to increase and decrease the LVM size
- How to Install (Linux, Apache, MariaDB, PHP) LAMP Stack on CentOS 7
- How To Install a PHP Version in WHM
- How to install aaPanel on Centos 7 by one click
- How to install aaPanel on Debian by one click
- How to install aaPanel on Fedora by one click
- How to install aaPanel on Ubuntu by one click
- How to Install Anaconda on centos 7
- How to Install Anaconda on Debian
- How to Install Anaconda on Fedora
- How to Install Anaconda on Ubuntu 20.04 LTS
- How To Install and Configure pgAdmin 4 on Ubuntu 22.04
- How to install and configure Redis on Ubuntu 22.04
- How To Install and Manage Supervisor
- How to Install and Use AIDE on RHEL/CentOS 7/8
- How to Install and Use Apache Cassandra on Ubuntu 20.04 LTS
- How to install and use ChatGPT in Linux
- How to install Apache on CentOS 7
- How to install Atom Text Editor on Debian 10
- How to install Atom Text Editor on Debian 12
- How to install Atom Text Editor on Ubuntu 22.04
- How to install Certbot on AlmaLinux 8
- How to install Certbot on AlmaLinux 9
- How to install Certbot on CentOS 7
- How to install Certbot on Fedora
- How to Install ClipGrab on Ubuntu 20.04 LTS to Download YouTube Videos
- How to install Cockpit on Debian
- How to install Cockpit on Fedora Server
- How to install Cockpit on Ubuntu server
- How to Install Cockpit Web Console in CentOS 7.7
- How to install Composer on Almalinux 8
- How to install Composer on CentOS server
- How to install Composer on Debian servers
- How to install Composer on Fedora
- How to install Composer on Ubuntu 20.04
- How to install CSF in cPanel
- How to install CWP in Centos 7
- How to Install CyberPanel on CentOS 7
- How to install Django on Debian server
- How to install Django on RockyLinux 8
- How to Install Django on Ubuntu 22.04
- How to install Docker on AlmaLinux 8
- How To Install Docker on Centos 7
- How To Install Docker on Debian
- How To Install Docker on Fedora
- How to install Docker on Fedora
- How To Install Docker on Ubuntu 20.04
- How To Install Docker on Ubuntu 22.04
- How to install Drupal on CentOS server
- How to Install Drupal on Debian
- How to install Drupal on Fedora
- How to Install Drupal on Ubuntu server
- How to Install Elasticsearch on CentOS 7
- How to install Elinks on AlmaLinux
- How to install Elinks on CentOS
- How to install Elinks on Debian
- How to install Elinks on Fedora
- How to install Elinks on Ubuntu
- How to install Flatpak on Debian
- How to install Flatpak on Debian 12
- How to install Flatpak on Fedora 35
- How to install Flutter on Debian
- How to install Flutter on RockyLinux 8
- How to install Flutter on Ubuntu 20.04 LTS (Focal Fossa)
- How to Install FTP on CentOS 7 and access server via Filezilla Client
- How to install Gawk on CentOS
- How to install Gawk on Debian 10
- How to install Gawk on Debian 12
- How to install Gawk on Debian 9
- How to Install Gawk on Ubuntu 20.04
- How to install Gawk on Ubuntu 22.04
- How to install Git on AlmaLinux 8
- How to install Git on CentOS 7
- How to install Git on Debian 10
- How to install Git on Debian 12
- How To Install Git on Fedora
- How to install Git on Fedora
- How to Install Git on Ubuntu 20.04
- How to install Git on Ubuntu 22.04
- How to install GitLab on AlmaLinux 8
- How to install GitLab on CentOS 7
- How to install GitLab on Debian 10
- How to install GitLab on Debian 11
- How to install GitLab on Debian 12
- How to install GitLab on Ubuntu 22.04
- How to install GNOME Desktop (GUI) on CentOS 7
- How to install GO on Alma Linux
- How to install Go on CentOS
- How to install Go on Debian 10
- How to install Go on Debian 12
- How to install GO on Fedora
- How to install GO on Rocky Linux
- How to install Go on Ubuntu 22.04
- How to install Gogs on Debian
- How to install Gogs on Debian 12
- How to install Gogs on Ubuntu 20.04
- How to install Gogs on Ubuntu 22.04
- How to install Google authenticator on Centos
- How to install Gradle on AlmaLinux 8
- How to install Gradle on CentOS 7
- How to install Gradle on Debian 10
- How to install Gradle on Debian 12
- How to install Gradle on Debian 9
- How to install Gradle on Fedora
- How to install Gradle on Ubuntu 20.04
- How to install Grafana On Almalinux 8
- How To Install Grafana on Centos 7
- How To Install Grafana on Fedora 35/34/33/32/31
- How to Install Grafana on Ubuntu 20.04
- How to install Hastebin on Debian 10
- How to Install Hastebin on Ubuntu 20.04
- How to Install HTMLDoc on Centos 7
- How to Install HTMLDoc on Debian 10
- How to install HTMLDoc on Debian 12
- How to Install HTMLDoc on Debian 9
- How to Install HTMLDoc on Fedora
- How to Install HTMLDoc on Ubuntu 20.04
- How to install IBM Installation Manager in Linux
- How to install Java on Almalinux 8
- How To Install Java on CentOS server
- How To Install Java on Fedora server
- How to install Jenkins on CentOS 7
- How to install Jenkins on Debian 10
- How to install Jenkins on Fedora server
- How to install Jenkins on Ubuntu 20.04
- How to Install Jshon on Ubuntu 20.04
- How to Install KDE Desktop(GUI) on CentOS 7
- How to Install KubeSphere on Ubuntu 22.04
- How to install LAMP on Ubuntu 18.10
- How to install Laravel Application on Plesk server
- How to Install Latest MySQL 5.7 on CentOS 7
- How to install latest versions of PHP on CentOS
- How to install LEMP on ubuntu 18.04
- How to install LEMP on Ubuntu 22.04
- How to install LEMP stack on centOS 7
- How to install Lighttpd, MariaDB and PHP on Ubuntu 20.04
- How to install MailCatcher On Ubuntu 22.04
- HOW TO INSTALL MARIADB 10.3 ON CENTOS 7
- How to Install MariaDB 10.3 on Ubuntu 20.04
- How To Install MariaDB 10.7 on CentOS 7
- How to Install MariaDB 10.7 on Fedora
- How to install MariaDB 11 on Debian 10
- How to install MariaDB 11 on Debian 9
- How to install MariaDB 11 on Ubuntu 22.04
- How To Install MariaDB on Debian 10
- How To Install MariaDB on Debian 11
- How To Install MariaDB On Ubuntu 18.04
- How To Install MariaDB on Ubuntu 22.04
- How to install Maven on Debian
- How to install Maven on Ubuntu
- How to install Minikube on CentOS 7 and 8
- How to install Minikube on Debian
- How to install Minikube on Fedora server
- How to Install Minikube on Ubuntu server
- How to install MongoDB on AlmaLinux 8
- How to Install MongoDB on CentOS
- How to Install MongoDB on Debian
- How to Install MongoDB on Fedora 36/35/34
- How to install mongodb on Ubuntu 18.10
- How to Install MongoDB on Ubuntu 20.04
- How to install Multicraft on Ubuntu 20.04
- How to Install MySQL on Ubuntu 20.04
- How to install MySQL Relational Databases on Fedora 12
- How to Install Ncurses Library on Ubuntu 20.04
- How to Install Neofetch on Ubuntu 20.04 LTS
- How to Install netstat on Ubuntu 20.04 LTS
- How to install NGINX Web Server on Debian 10
- How to install NGINX Web Server on Debian 12
- How to Install Node.js and npm on Ubuntu 20.04
- How To Install Node.js on CentOS 8
- How To Install Node.js on Ubuntu 20.04
- How to Install Ntopng on Debian
- How to Install Ntopng on Fedora
- How to Install Ntopng on Ubuntu 20.04
- How to install OwnCloud on CentOS
- How to install OwnCloud on Debian server
- How to install Owncloud on RHEL 8
- How to install OwnCloud on Ubuntu server
- How to Install PHP 7.4 in CentOS 7
- How to install PHP 7.4 on AlmaLinux 8
- How To Install PHP 7.4 on Debian 10
- How to install PHP 7.4 on Debian 12
- How to install PHP 7.4 on Fedora 34
- How To Install PHP 7.4 on Fedora 36/35/34/33/32/31
- How to install PHP 7.4 on Ubuntu 20.04
- How to install PHP 8 on AlmaLinux 8
- How to Install PHP 8 on Centos 7
- How to Install PHP 8 on Debian 10
- How to Install PHP 8 on Debian 12
- How to Install PHP 8 on Debian 9
- How to install PHP 8 on Fedora 38
- How to Install PHP 8 on Ubuntu 20.04
- How to Install PHP 8 on Ubuntu 22.04
- How To Install PHP 8.0 on Fedora 32
- How To Install PHP 8.0 on Fedora 33
- How To Install PHP 8.0 on Fedora 34
- How To Install PHP 8.0 on Fedora 35
- How To Install PHP 8.0 on Fedora 36
- How to install PHP 8.1 on Ubuntu 22.04
- How to install PHP 8.2 on Ubuntu 22.04
- How to Install PHP in CentOS 7
- How to install PHP on CentOS 7
- How to install PHP on Ubuntu 18.04
- How to install phpMyAdmin on CentOS
- How to install phpMyAdmin on Linux
- How to Install Podman on Ubuntu 20.04 LTS
- HOW TO INSTALL POSTGRES DATABASE IN CENTOS 7
- How to Install PostgreSQL 15 on Ubuntu 22.04
- How to install Postman on Centos 7
- How to install Postman on Debian
- How to install Postman on Debian 12
- How to install Postman on Fedora
- How to install Postman on Ubuntu 20.04
- How to install Python on Ubuntu 22.04
- How to install R on Ubuntu 22.04
- How to install Red5 Server on Ubuntu 22.04
- How to install Redis on CentOS
- How to install Redis on Debian
- How to install Redis on Fedora
- How to install Redis on Ubuntu
- How to install Rkhunter on Ubuntu 22.04
- How to install Shellinabox on Debian server
- How to install Shellinabox on Fedora
- How to install Snap on AlmaLinux
- How to install SNAP on Debian 10
- How to install Snap on Fedora
- How to install Snap on RockyLinux
- How to Install Spack on Ubuntu 20.04
- How to install squid proxy on Ubuntu server
- How to Install Squid Proxy Server on CentOS
- How to install SSL on CentOS-7.3 with httpd server
- How to install SSL on Centos-7.3 with Nginx server
- How to install SSL on Ubuntu with Apache2
- How to install SSL through Cpanel .
- How to Install Streamlit on Ubuntu 20.04
- How to install Streamlit on Ubuntu 22.04
- How to install tcpping on AlmaLinux
- How to install tcpping on CentOS
- How to install tcpping on Debian
- How to install tcpping on Fedora
- How to install tcpping on Ubuntu
- How To Install the Latest MySQL on Debian 10
- How to Install the OpenGL Library on Ubuntu 20.04
- How to Install TinyCP on Debian
- How to Install TinyCP on Debian 12
- How to Install TinyCP on Ubuntu 20.04
- How to Install TinyCP on Ubuntu 22.04
- How to install Tomcat 10 on Ubuntu server
- How to Install Vagrant on Ubuntu 20.04 LTS
- How to install Vagrant on Ubuntu 22.04
- How to Install Varnish Cache with Apache on CentOS 7
- How to install Visual Studio Code on Debian 10
- How to install Visual Studio Code on Ubuntu 22.04
- How to install VnStat Network Monitoring on CentOS 7
- How to install Webmin on AlmaLinux 8
- How to install Webmin on Centos 7
- How to install Webmin on Debian
- How to install Webmin on Debian 12
- How to install Webmin on Fedora
- How to install Webmin on Ubuntu 20.04
- How to Install Webuzo
- How to Install Webuzo on Debian
- How to Install Webuzo on Fedora
- How to Install Webuzo v3 on Ubuntu 20.04
- How to Install Wekan on Debian 10
- How to Install Wekan on Debian 12
- How to Install Wekan on Ubuntu 20.04
- How to install Wine on Alma Linux
- How to install Wine on RockyLinux 8
- How to Install Wine on Ubuntu 20.04
- How to Install wmclock on Ubuntu 20.04
- How to install Wordpress with LEMP on CentOS server
- How to Install WordPress with LEMP on Ubuntu
- How to Install Xrdp Server (Remote Desktop) on Ubuntu 20.04
- How to Install Xrdp Server on Ubuntu 22.04
- How to install Zabbix 4.4 in CentOS 7
- How To Install Zabbix Agent On Centos 7
- How to install Zimbra on Ubuntu 20.04 LTS
- How to Locate Files That Have SUID and SGID Permissions
- How to Make a Large File in Linux
- How to Make a Linux User Change Their Password Upon Login?
- How To Migrate a MySQL Database Between Two Servers
- How to migrate from CentOS 8 to Arch Linux 8.7
- How to Mount Disk in Linux
- How To Move a PostgreSQL Data Directory to a New Location on Ubuntu 22.04
- How To Partition and Format Storage Devices in Linux
- How to prevent a user from login in Linux
- How to Prevent File and Directories from Being Deleted, Even by Root
- How to Protect your Web Sites by using Username and password in Apache on CentOS.
- How to Protect your Web Sites by using Username and password in Apache on Ubuntu.
- How to Real-Time Monitor TCP and UDP Ports
- How to Recognize Active Directories Using Shell Variables and Characters
- How to remove FTP account in plesk
- How to reset forgotten root password in centos 7/8
- How to reset forgotten root password in Debian
- How to reset forgotten root Password in Fedora 34.
- How to reset forgotten root password in ubuntu 16/18
- How to reset the MySQL root password in CentOS 7
- How To Reset Your MySQL or MariaDB Root Password on Ubuntu 18.04
- How to run different websites with different versions of PHP
- How to Save a Command Output to a File in Linux
- How to Schedule an Activity at a Specific Time or at a Time in the Future Using the 'at' Command
- How to schedule your task using crontab
- How to send an E-mail from CentOS 7
How to Set Manual or static IP Address on CentOS
- How to Set Manual or static IP Address on Debian server
- How to Set Manual or static IP Address on Fedora
- How to Set Manual or static IP Address on Ubuntu server
- How To Set or Change Timezone on Ubuntu 20.04
- How to set up a node.js application with apache on CentOS7
- How to Set Up SSH Keys on Ubuntu 20.04
- How to Setup and Configure FirewallD on CentOS 7
- How to Setup Flatpak on Ubuntu 20.04
- HOW TO SETUP LOAD BALANCER FOR APPLICATIONS RUNNING ON CUSTOM PORT
- How to Setup NFS server on CentOS
- How to setup Rsyslog server on Ubuntu 22.04
- How to Setup SFTP User Account on Fedora
- How to Setup SFTP User Account on Ubuntu 20.04
- How to Setup SFTP-only User Account on CentOS 7
- How to setup SSH Tunneling or port forwarding in Linux
- How to solve "Cannot connect to CWP Admin Panel"
- How to solve Zimbra error "message does not meet IPv6 sending guidelines regarding PTR"
- How to Start, Stop, and Restart MySQL Server on centos 7
- How to Switch (su) to a Different User Account Without a Password
- How to Test Internet Speed on Almalinux 8
- How to test internet speed on Debian 10
- How to test internet speed on Debian 12
- How to Test Internet Speed on Fedora
- How to Test Internet Speed on Ubuntu 20.04
- How to Troubleshoot with nmap in centos
- How to Update or Upgrade CentOS 7.1, 7.2, 7.3, 7.4, 7.5, or 7.6 to CentOS 7.7
- How to upgrade mysql 5.7 to 8.0 in Ubuntu 16.04
- How to use 'chage' command in Linux
- How to use 'ps' command in Linux
- How to Use ‘at’ Command to Schedule a Task in Linux
- How to Use Iperf to Test Network Performance
- How to use IPTABLES firewall in Linux
- How to use lsyncd to sync directories on Centos
- How to use MTR command in Linux
- How To Use Nmap to Scan for Open Ports
- How To Use ps, kill, and nice to Manage Processes in Linux
- How To Use Rsync to Sync Local and Remote Directories
- How to Use the SMTP Server of Google
- How to Verify Your Application is Listening on the Correct Port
- How To View and Update the Linux PATH Environment Variable
- How to View Colored Man Page Documentation in Linux
- How-to-set-up-a-node-js-application with apache on-centos-7
- Install Apache 2 Web Server in CentOS 5
- Install IBM HTTP server in Linux
- Install IBM Websphere Application Server ( IBM WAS) in Linux
- Install multiple version of PHP on Ubuntu server
- Install Plesk on CentOS 7
- Install SSL on Ubuntu server using Nginx
- Install WHM/Cpanel in Centos 7
- INSTALLATION AND CONFIGURATION OF APACHE TOMCAT 9 ON CENTOS 7
- Installing MongoDB on CentOS 7
- Installing PostgreSQL on Ubuntu 20.04: Step-by-Step Instructions
- Introduction to rsync
- Learning the Linux Alias Command and How to Use It
- Linux port test commands(RedHat 7, CentOS 7, and Ubuntu 18.04)
- Linux Top Command
- Linux: How to Execute a Command with a Time Limit or Timeout
- Logical volume manager in linux (LVM) Guide for beginners
- MariaDB installation on CentOS 8
- Methods for Disabling the Root Account in Linux
- Migrate your Google Cloud Platform to Microhost Cloud
- Modify File Permissions with chmod
- Most Common Network Port Numbers for Linux
- Multiple User Account Creation in Linux
- Mysql 1030 got error 28 from storage engine
- MySQL Relational Databases on Ubuntu 12.04
- Nginx and PHP-FastCGI in Arch Linux
- NGINX Installation in CentOS 7
- NTP Server Configuration
- Python 3 Installation and Programming Environment Configuration on an Ubuntu 22.04
- Recover forgotten password of admin user in Jenkins
- Set a date and time for each command in Bash History.
- Setup Software RAID on Linux server
- Speed Test in Ubuntu server
- SSH and SCP command in Linux
- SSH Logins with Banner Messages (Issue.net)
- SSH Logins with Banner Messages (MOTD File)
- Structure Of Apache Configuration
- The 'cat' and 'tac' Commands in Linux: A Step-by-Step Guide with Examples
- Update DNS records For A Domain Using Plesk
- Update PHP 5.4 version to PHP 7.4
- Upgrading WordPress Manually on Linux sever
- URLs Redirect with Apache Web Server
- User Group and File permission in Linux
- Using Fedora 20 MySQL Relational Databases
- Using mysqldump to Backup MySQL Databases
- Using the Carat () Symbol, you can easily correct a previous command's typo.
- Using the Terminal in Linux to Examine the Website's Loading Time
- Using the yum command, install Google Chrome on CentOS 7.
- VirtualHost creation in Tomcat 10/9/8/7
- What are Runlevels in Linux and its understanding
- What is Hugo and How to use it
- What is IAAS, PAAS and SAAS
- What is IOSTAT command and how to use it
- Why less is Faster Than more Command for Effective File Navigation
- Show all Docs ( 457 ) Collapse Docs
- How to create user and give limited permission to the host in Zabbix
- Deploy a new server with snapshot
- DNS Management
- How to access a server through password-less authentication
- How to add additional storage in the Microhost Cloud Server
- How to check Bandwidth consumption in Microhost panel
- How to create Microhost cloud server
- How to deploy a cloud server with custom ISO
- How to destroy MicroHost cloud server
- How to enable weekly backup in Microhost Cloud server
- How to install Wine on RHEL 8
- How to rebuild Microhost Cloud Server
- How to resize (upgrade/downgrade) cloud server.
- How to take snapshot of a Microhost Cloud Server
- Microhost Cloud Firewall
- Steps to Activate Microhost VPN
- Show all Docs ( 1 ) Collapse Docs
Web Servers
- How to Configure NGINX
- How to install NGINX in Ubuntu 18.04 LTS
- Install and configure Nginx and PHP-FastCGI in Ubuntu 16.04
- NGINX : Enable TLS or HTTPS Connections
- NGINX: Installation and Basic Setup
- Use NGINX as a Reverse Proxy
- What is NGINX?
- Apache Virtual Hosts setup on CentOS 7
- Basics Information of Apache Configuration
- CHANGE AND UPDATE PASSWORD OF CPANEL ACCOUNT
- How to add A record in Plesk
- How to add CNAME record in Plesk
- How to add components in Plesk
- How to add MX record in Plesk
- How to add TXT record in Plesk
- How to assign permissions to Files and Folders in Plesk
- How to change NGINX port in Linux
- How to change PHP parameter manually through Plesk
- How to change the PHP version on Plesk
- How to change your Plesk password
- How to check current Disk Space in Plesk
- How to Configure ModSecurity in Apache
- How to configure MX record in MAILENABLE
- How to create a backup in Plesk
- How to create a MySQL/MariaDB Database and Database User in Plesk
- How to create a user role in Plesk
- How To Create an Account in CPanel with WHM
- How To create and connect an FTP Account in cPanel
- How to delete an Email account in Plesk
- How to do Server-wide blacklist in Plesk
- How to do Server-wide whitelist in Plesk
- How to enable IonCube Loader in Plesk
- How to Export and Import Database Dumps in Plesk
- How to install Joomla in Plesk
- How to Install NGINX Web Server on Ubuntu 22.04 LTS
- How to install WordPress in Plesk
- How to manage user roles in Plesk
- How to migrate accounts from CWP to CWP
- How to modify Database user privileges in Plesk
- How to remove components in Plesk
- How to Set Up the .htaccess File in Apache
- How to setup scheduled tasks in Plesk
- How to Solve "The server requested authentication method unknown to the client" in phpMyAdmin
- How to Start, Stop or Restart System Services in Plesk
- Installation of LAMP Stack on Ubuntu 16
- Managing Resources using Apache mod_alias
- Rewrite URLs using mod_rewrite and Apache
- Rule-based Access Control for Apache
- Tuning Of Your Apache Server
- Show all Docs ( 43 ) Collapse Docs
- How to add SSL biniding in windows server
- How to allocate unallocated disk space in Windows Server
- How to allow ICMPv4(PING) in Windows Firewall using PowerShell
- How to allow multiple RDP sessions for the single user in Windows Server
- How to Block or Allow TCP/IP Port in Windows Firewall
- How to Boot Windows Server into Safe Mode
- How to change default shell from cmd to PowerShell in Windows Server
- How to change RDP port in Windows Server
- How to change RDP port via PowerShell in Windows server
- How to configure a DNS Reverse Lookup Zone in Windows Server 2019
- How to Configure FTP Server on Windows Server 2019
- How to configure IP manually on Windows Server
- How to connect SFTP using FileZilla
- How to connect to a Windows server using Remote Desktop Protocol (RDP)
- How to Connect Virtual Server Remotely Using RDP in Windows OS
- How to Create Mailbox in MailEnable
- How to create RDP user in Windows Server 2012
- How to host a domain on Windows Server 2019
- How to Initialize and bring a disk online in Window Server
- How to Install & Configure Printer Tool in Windows Server
- How to install Active Directory Domain Service on Windows Server
- How to install Apache Tomcat 9 on Windows Server
- How to install IIS via Powershell in Windows Server
- How to install Java Development kit on Windows Server
- HOW TO INSTALL MAILENABLE ON WINDOWS SERVER
- How to install MsSQL Express Edition 2019 on Windows Server
- How to Install MultiPoint Services in Windows Server 2016
- How to install MySQL on Windows Server 2019
- HOW TO INSTALL ONE SSL CERTIFICATE ON TWO DIFFERENT WINDOWS SERVER
- How to Install OpenSSH on Windows Server
- How to install Python 3.7 on Windows Server 2012 R2, 2016, 2019, 2022 via PowerShell
- How to install SSL in Apache Tomcat in Windows Server
- How to Install SSL on Windows Server
- How to install Telnet Client on a server using Windows PowerShell
- How to Install Windows RDP CAL license in windows servers
- How to install Wordpress on IIS in WIndows Server 2019
- How to install XAMPP on Windows Server 2016/2019/2022
- How to make partition from existing drive Windows Server
- HOW TO MIGRATE THE ZIMBRA EMAILS ON PLESK PANEL USING EMAIL MIGRATOR
- How to mount NFS persistently in Windows Server
- How to mount Virtio ISO
- How To open a port in Windows Server Firewall
- How to reset a lost Administrator password in Windows Server
- How to setup Disk Driver while deploying Windows Server with custom ISO
- How to setup Network Driver while deploying Windows Server with custom ISO
- How to setup NTP Client for time synchronization using PowerShell
- How to setup NTP Server for time synchronization using Powershell
- How to Setup OpenVPN Connect in Windows Server
- How to setup SSH Server on Windows Server via PowerShell
- How to share a folder over network in Windows Servers
- How to solve internal server error while connecting to RDP
- How to Turn off Internet Explorer Enhanced Security Configuration on Windows Server
- How to upgrade TLS 1.1 to TLS 1.2 in window server
- How to upgrade Windows Server 2012R2 to Windows Server 2016
- How to use telnet, netstat and wireshark in Windows
- Install Plesk on Windows Server 2012
- Install SQL Server 2012 Express Edition in Windows Server 2012
- Installation and Configuration of IIS Web Server on Windows Server
- Mssql database backup restore script
- Windows Server Backup feature (2012R2, 2016, 2019)
- Show all Docs ( 47 ) Collapse Docs

In this article we will discuss How to Set Manual or static IP Address on CentOS,
There will come a moment in your career as a Linux system administrator when you will be tasked with the responsibility of configuring networking on your machine. On desktop computers, you are able to utilise dynamic IP addresses; but, in order to set up a server architecture, you will need to configure a static IP address (at least in most cases).
The following information on Internet Protocol version 4 (IPv4) will be used so that we may accomplish the objectives of this tutorial.
To configure static IP address, open the /etc/sysconfig/network-scripts/ifcfg-eth0
Note : The filename ifcfg-eth may varies from CentOS to Redhat linux. In CentOS it is available named as ifcfg-eth0, whereas it will be available only as eth0. Also, the file name will be depend on your device name available on your Linux machines such as ens0 or so on.
DEVICE="eth0" HWADDR="00:08:a2:0a:ba:b8" BOOTPROTO=dhcp ONBOOT=yes UUID="41171a6f-bce1-44de-8a6e-cf5e782f8bd6" IPV6INIT=yes TYPE=Ethernet NAME="eth0"
Now make changes like shown below, please do not forget to make changes according to your need
DEVICE=eth0 HWADDR=00:16:3e:65:de:88 BOOTPROTO=static ONBOOT=yes NM_CONTROLLED=no IPADDR= 192.168.1.10 NETMASK=255.255.255.0 GATEWAY= 192.168.1.1 DNS1=8.8.8.8 DNS2= 4.4. 4 4
Please note that, You only need to change the following points.
The rest of the entries should be left unchanged.
Next edit resolve.conf to change or update the DNS nameserver
nameserver 8.8.8.8 nameserver 8.8.4.4
Once you have made your changes restart the networking manager service with:
or you can just down and up the network interface using the below command
Now to check the configured ip on your machine, run the below command

- manual ip on centos
- Set Manual or static IP Address

IMAGES
VIDEO
COMMENTS
To keep an HP printer from going offline, move it closer to the router when connected to a wireless network. Alternatively, use a network cable that fits firmly into the printer and computer for a cable connection, give the printer a static...
When it comes to understanding the internet, knowing how to pull an IP address is a fundamental skill. An IP address (Internet Protocol address) is a unique identifier that is assigned to each device connected to the internet.
The location of an IP address is usually found in your computer’s network diagnostics or Internet connection settings. Though this information is stored by your computer, it is assigned by your Internet provider or LAN router.
Explains how to configure static IP address on CentOS 7 or RHEL 7 using the CLI and config files. Learn how to switch from DHCP to static
Step 1: Create the file. The first step is to create this file /etc/sysconfig/network-scripts/ifcfg-eth0. Here is how to step forward: · Step 2: Configuring an
Find your interface. The first thing we must do is find out the name of our ethernet interface. A static IP address cannot be configured without
DHCP servers are used almost in all organizations or even in our home routers for assigning IP addresses to get access to the internet.
Configure a Static IP Address · Select “Automatically connect” to ensure the interface connects during boot. · Under “IPv4 CONFIGURATION,” select
nmtui or NetworkManager Text User Interface is used to set up static IP from the command line easily. nmtui may not be installed by default on CentOS 7. But you
1 – Please edit “/etc/sysconfig/network-scripts/ifcfg-
Configure a static IP address in CentOS7 Learn more about Linux and other technologies from LinkedIn Learning.
BOOTPROTO — указание на тип назначения IP-адреса. В текущих настройках static, но возможны опции dhcp, none или пустое значение. HWADDR —
There are various ways you can configure an IP address in RHEL 7. The posts discusses the use of network interface configuration files to configure the IP
On desktop computers, you are able to utilise dynamic IP addresses; but, in order to set up a server architecture, you will need to configure a