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

WiFi
Published January 25, 2022

WiFi

Reality is that the WIFI protocol was designed to go as slow as required to make it still work!

Install Webmin in Centos 5.2
Published July 11, 2008

Install Webmin in Centos 5.2

I just installed the latest version of webmin on my CentOs 5 server. I have not used webmin in about 2 years, […]

Add a static route in Smoothwall
Published December 7, 2012

Add a static route in Smoothwall

ip route add 192.168.1.0/24 via 192.168.0.1

Windows 10 update loop
Published June 4, 2018

Windows 10 update loop

In an elevated CMD type Net stop bit Net stop wuauserv Net stop cryptsvc Rename systemroot\softwaredistribution to softwaredistribution.old And systemroot\system32\catroot2 to catroot2.old […]

Post navigation

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

© 2025  – All rights reserved

Powered by WP – Designed with the Customizr Theme