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

Published November 8, 2019

Add a Mikrotik user, using CLI or a script

The below can be used to add a local user to a Mikrotik using a script or at the CLI /user add […]

Mount a Windows share from Centos using the CLI
Published February 17, 2010

Mount a Windows share from Centos using the CLI

OK, we live in the wonderful world of Linux. BUT, for many of us, having to deal with Windows is a fact […]

Convert PFX SSL Cert to PEM
Published February 26, 2020

Convert PFX SSL Cert to PEM

openssl pkcs12 -in certname.pfx -out key.pem -nodes

Pigeon faster than rural UK broadband
Published September 20, 2010

Pigeon faster than rural UK broadband

Yesterday Trefor Davies of business communications provider Timico started a race to see which would be faster, uploading a video from a […]

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