Oracle, Web, Script, SQLserver, Tips & Trick

February 2, 2012

How to change network / ip address on command / shell linux

Filed under: centos,linux,linux:centos — sikathabis @ 3:10 am
Tags: , ,

Using root user to change ip address


vi /etc/sysconfig/network-scripts/ifcfg-eth#  (change # with default number 0 for first ethernet )

edit eth0 with vi
















Press Insert on your keyboard and Changing your ipaddr

Press ESC on your keyboard and type :wq! to save

Type /etc/init.d/network restart to restart the network

Restart network adapter






references :


1 Comment »

  1. To change alias of network (like host on windows)

    you can change it
    vi /etc/hosts

    add your ip address and alias and alias with domain, for example sikathabis

    Comment by sikathabis — October 18, 2012 @ 10:02 pm | Reply

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

Create a free website or blog at



Learning is not a spectator sport

Connor McDonald's Oracle blog

Teknologi Pendidikan

Just another weblog


Jurnalisme Yang Dapat Dipercaya

Qey050489's Blog

Ayo Bangkit sobat..!!!!!

B. S. Totoraharjo

Orang Desa Yang Mencintai Desa dan Kebudayaannya

culturekitchen foodlab

New Food and Art in Yogyakarta

Wahyu Catur Wibowo

Musafir Dunia Maya

SQL.... Still Learning

My Reference on SQL Server


"A distance is getting far if your heart is impatient" -ean-


Street Photography is like a box of a chocolates, you're never know what you're gonna get - Thomas Leuthard -

Keluarga Andrivito

-- Andrivito's Journal --


This site is about Latest NEWS, Articles, Videos, Books, Course, Presentations, Tips & Tricks related to I.T Pro's

Gaurav Saxena

|| तत् त्वम् असि ||

Be a good Moeslim

Menuju Pribadi Muslim Sejati yang Bertaqwa


Manajemen Sholat, renungan spiritual, Teknologi Informasi

Pelangi di khatulistiwa....

Mari berbagi kebaikan, pengalaman dan senyum denganku


Ceritanya saya, Pikirannya saya, Hatinya saya

%d bloggers like this: