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

Mount a Windows share in Centos 6
Published March 31, 2014

Mount a Windows share in Centos 6

mkdir /mnt/win yum install samba-client samba-common cifs-utils Edit theĀ /etc/fstabĀ file and add a line like: \\winbox\getme /mnt/win cifs user,uid=500,rw,suid,username=sushi,password=yummy 0 0

Add a static route in Smoothwall
Published December 7, 2012

Add a static route in Smoothwall

ip route add 192.168.1.0/24 via 192.168.0.1

Android 2.2 is now on my HTC Desire
Published October 1, 2010

Android 2.2 is now on my HTC Desire

At last! I finally got the upgrade from 1.15.61.10 to 1.22.61.1 on my HTC Desire. That meant that I would be able […]

VM Ware Virutual Machine location in Centos and Windows
Published February 16, 2010

VM Ware Virutual Machine location in Centos and Windows

The virtual machines default store is located in;- \var\lib\vmware\Virtual Machines This is for Centos. The position of the default store on Windows […]

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