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

Test your ADSL line using the BT test account
Published March 11, 2010

Test your ADSL line using the BT test account

If you are unable to connect to ADSL using the login details provided by your ISP, then try the alternatives below to […]

yum-complete-transaction
Published July 6, 2011

yum-complete-transaction

Using yum to manage installing, upgrading or removing packages in Linux is a great little tool. Sometimes when running a yum transaction […]

Published May 8, 2018

Exporting Mikrotik Firewall Rules

In a terminal windows or via ssh, enter the below line ip firewall export file=firewallrules then find a file called “firewallrules.rsc” in […]

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

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