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 4, 2019

Enable Mikrotik firewall rule using comment field

The below can be used in a schedule or script to control rules, just change “enable” to “disable” to disable the rule […]

VIP Keepalived
Published February 2, 2026

VIP Keepalived

Set up a virtual IP on proxmox cluster apt updateapt install keepalived -y nano /etc/keepalived/keepalived.conf run this on all nodes on the […]

Published November 12, 2018

Send Mikrotik config via email

This script will export the config from your mikrotik router and email it to your email address. The scheduled time between exports […]

BT to roll out fibre broadband across Cornwall
Published September 30, 2010

BT to roll out fibre broadband across Cornwall

BT is to provide super-fast broadband to up to 90% of homes in Cornwall and the Isles of Scilly, in the biggest […]

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