Softpanorama

Home Switchboard Unix Administration Red Hat TCP/IP Networks Neoliberalism Toxic Managers
May the source be with you, but remember the KISS principle ;-)
Skepticism and critical thinking is not panacea, but can help to understand the world better

How to change IP address in RHEL6 and Suse10

News

Linux Security

Recommended Books

Recommended Links

Red Hat Security

Tutorials

Man Pages

Reference

FAQ

Question about IP change in RHEL is far from being dumb.  Not that easy to do in command line...

First you need to go to /etc/sysconfig/network-scripts

and edit the right file (file corresponding to active interface; there is one file per interface), for example

vi ifcfg-eth0

then run command

 /sbin/ifconfig eth0 address 10.10.10.10

service network restart (or /etc/init.d/network restart)

where 10.10.10.10 is a new address

Then you need to check if your change preserved. If yes, you need to change your /etc/hosts file to reflect the change. 

The other way is via GUI network applet, which takes care about all those edits at once:

1. Go to system/Administration/network

2. Double click on the active interface

3. Change the IP address, network mask and gateway

4. Save changes and click on activate


Top Visited
Switchboard
Latest
Past week
Past month

NEWS CONTENTS

Old News ;-)

Howto Red hat enterprise Linux 5 configure the network card

Q. I've installed Red Hat enterprise Linux 5 and now added one more LAN card (NIC). How do I configure the network card from the command line? I can see 2nd my network card detected while booting the IBM server.

A. Red hat Linux provides following tools to make changes to Network configuration such as add new card, assign IP address, change DNS server etc.

[a] GUI tool (X Windows required) - system-config-network
[b] Command line text based GUI tool (No X Windows required) - system-config-network
[c] Edit configuration files stored in /etc/sysconfig/network-scripts/ directory.

Following instructions are compatible with
(1) Cent OS Linux
(2) Fedora Core Linux
(3) Red Hat Enterprise Linux (RHEL) 3/4/5

Recommended Links

Google matched content

Softpanorama Recommended

Top articles

Sites

Howto Red hat enterprise Linux 5 configure the network card

A concise guide for RHEL 5 network configuration



Etc

The Last but not Least Technology is dominated by two types of people: those who understand what they do not manage and those who manage what they do not understand ~Archibald Putt. Ph.D


Copyright 1996-2018 by Dr. Nikolai Bezroukov. www.softpanorama.org was initially created as a service to the (now defunct) UN Sustainable Development Networking Programme (SDNP) in the author free time and without any remuneration. This document is an industrial compilation designed and created exclusively for educational use and is distributed under the Softpanorama Content License. Original materials copyright belong to respective owners. Quotes are made for educational purposes only in compliance with the fair use doctrine.

FAIR USE NOTICE This site contains copyrighted material the use of which has not always been specifically authorized by the copyright owner. We are making such material available to advance understanding of computer science, IT technology, economic, scientific, and social issues. We believe this constitutes a 'fair use' of any such copyrighted material as provided by section 107 of the US Copyright Law according to which such material can be distributed without profit exclusively for research and educational purposes.

This is a Spartan WHYFF (We Help You For Free) site written by people for whom English is not a native language. Grammar and spelling errors should be expected. The site contain some broken links as it develops like a living tree...

You can use PayPal to make a contribution, supporting development of this site and speed up access. In case softpanorama.org is down you can use the at softpanorama.info

Disclaimer:

The statements, views and opinions presented on this web page are those of the author (or referenced source) and are not endorsed by, nor do they necessarily reflect, the opinions of the author present and former employers, SDNP or any other organization the author may be associated with. We do not warrant the correctness of the information provided or its fitness for any purpose.

The site uses AdSense so you need to be aware of Google privacy policy. You you do not want to be tracked by Google please disable Javascript for this site. This site is perfectly usable without Javascript.

Last modified: March 12, 2019