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

Copy a file from Windows to Linux
Published February 3, 2026

Copy a file from Windows to Linux

scp C:\path\to\win11.vhdx root@192.168.100.21:/var/lib/vz/images/

Wifi channels for Mikrotik AX devices
Published March 11, 2025

Wifi channels for Mikrotik AX devices

Credit to https://mikrotikmasters.com/

Published October 22, 2018

Set physical port speed on Mikrotik

Published November 15, 2021

Remote Failover testing

The below is to be used in a script to test failover based on firewall rules

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