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 19, 2020

SSH Notifications via email

IP=”$(echo $SSH_CONNECTION | cut -d ” ” -f 1)”HOSTNAME=$(hostname)NOW=$(date +”%e %b %Y, %a %r”) echo ‘Someone from ‘$IP’ logged into ‘$HOSTNAME’ on […]

Self signed Cert for Outlook Anywhere
Published April 28, 2011

Self signed Cert for Outlook Anywhere

This needs to be edited and entered in the Exchange Shell, do so at your own risk – I will not be […]

Batch file needs UAC
Published April 30, 2012

Batch file needs UAC

I have a few batch files that run on a schedule, I have found though that they are not running properly? If […]

Published January 28, 2021

Time based PPP connections

If you have a user that can only log into a PPP (L2TP, PPTP etc) session on a Mikrotik during a certain […]

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