Skip to content
Back home
The home of William Rendell
  • Home
  • Family
    • Holidays
    • Pets
    • Vehicles
  • Health and Fitness
  • Technical
    • Mikrotik
    • Computing
    • Renewable Energy
  • Privacy Policy
    • Cookie policy (UK)
  • Music
    • Harmonica
      • Easy
      • Intermediate
  • Contact
  • Search
Back home
  • Search
  • Home
  • Family
    • Holidays
    • Pets
    • Vehicles
  • Health and Fitness
  • Technical
    • Mikrotik
    • Computing
    • Renewable Energy
  • Privacy Policy
    • Cookie policy (UK)
  • Music
    • Harmonica
      • Easy
      • Intermediate
  • Contact
Home » Technical » Computing » Change Centos IP address
Computing Technical

Change Centos IP address

by William Rendell|Published July 30, 2015
In common situation, "system ip address" is the ETH0 address.
So edit /etc/sysconfig/network-scripts/ifcfg-eth0 with your favourite text editor and run service network restart

ps
 don't forget to change default gw also,  it's located in /etc/sysconfig/network.
  • centos
  • Linux
  • network

You may also like

Add swap file into linux
Published February 11, 2026

Add swap file into linux

fallocate -l 4G /swapfilechmod 600 /swapfilemkswap /swapfileswapon /swapfile If RAM = 4GBUse swap = 4GB–8GB If RAM = 8GBSwap = 2GB–4GB is […]

Published June 26, 2020

Change password on Windows using cmd

In a cmd prompt run the below command net user username newpassword if the username contains a space do the below net […]

Published September 26, 2010

Still have not got Android 2.2 for my HTC Desire

I still do not have the 2.2 release of Android yet 🙁 This has been posted on the Orange support site and […]

Delete Files Older Than Date Using Batch Files
Published November 24, 2009

Delete Files Older Than Date Using Batch Files

This problem has nagged at me for years. Here is a batch command to delete files on a Windows 2003 machine. Forfiles […]

Post navigation

  • Previous post Routerboard SNTP Client
  • Back to post list
  • Next post Adding a USB backup drive to SBS backup

© 2026  – All rights reserved

Powered by WP – Designed with the Customizr Theme