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

Time Keeping in Linux
Published July 21, 2008

Time Keeping in Linux

Setting System Time To set the system clock under Linux, use the date command. As an example, to set the current time […]

Published November 28, 2019

Sending Email via Telnet using auth login

The username and password needs to be encoded and sent in BASE64So if using username as the username it would become dXNlcm5hbWU= […]

Published August 27, 2021

Block TikTok using Mikrotik

/ip firewall filter add action=drop chain=forward dst-address-list=TikTok src-address=10.0.0.0/24 /ip firewall mangle add action=add-dst-to-address-list address-list=TikTok address-list-timeout=4w2d chain=prerouting content=.tiktok.com src-address=10.0.0.0/24 add action=add-dst-to-address-list address-list=TikTok address-list-timeout=4w2d […]

Published October 20, 2010

Sending an email using mutt from the cli

Sometimes I have the need to send an email with an attachment directly from the console, to do this I use a […]

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