Skip to content
Back home
The home of William Rendell
  • Home
  • Energy Stats
  • 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
  • Energy Stats
  • 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

DHCP lease time on a Zyxel P-660R-D1 router
Published February 16, 2010

DHCP lease time on a Zyxel P-660R-D1 router

To change the DHCP lease period for a Zyxel P-660R-D1 router, telnet into the router and at the command line type “ip […]

Change IP of DC
Published April 1, 2021

Change IP of DC

We can change the IP address of the domain controller as below. Change the IP address on DC and run the following […]

Changing the management IP of a VMware ESXi 6.7 host
Published April 1, 2021

Changing the management IP of a VMware ESXi 6.7 host

Manually change the management IP of a VMware ESXi 6.7 host Open a SSH session to the current management IP and run […]

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