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 […]

Published January 28, 2021

Remove active PPP connection (L2TP, PPTP etc) on Mikrotik using a script

If you ever have the need to only allow PPP connection(s) (L2TP, PPTP etc) for a certain time period, you can use […]

How to Open Port for a Specific IP Address in Firewalld
Published July 8, 2022

How to Open Port for a Specific IP Address in Firewalld

The best way is to create a new firewalld zone and we add the specific IP to that zone. To start with […]

Virtualmin Bleeding Edge Packages
Published September 29, 2010

Virtualmin Bleeding Edge Packages

I have just been working on a site that needs PHP 5.2 or above. The stock  repositories for Centos that are provided by […]

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