Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-23-2004, 12:52 PM   #1
LQ Newbie
Registered: Apr 2004
Location: Tucson, AZ
Distribution: RedHat Linux 9.1
Posts: 6

Rep: Reputation: 0
Change IP Addresses

I would like to know where do I go to change IP addresses? I do not have Linux 9.1 manual. I think it is in Linux Network Configuration section, but I could be wrong.
Old 04-23-2004, 01:17 PM   #2
LQ Guru
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
try running


as root from a terminal.
good luck.
Old 04-23-2004, 01:17 PM   #3
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
You can do it the same way I suggested for your default route - run "netconfig".

Also there is no such thing as RedHat 9.1 as RedHat have discontinued that distro as of version 9. The manual for it can be found at:
Old 04-23-2004, 01:21 PM   #4
LQ Newbie
Registered: Apr 2004
Posts: 2

Rep: Reputation: 0
At the prompt type :-

ifconfig eth0 netmask up

Assuming you are configuring your eth0 card, replace it accordingly if there are more than one nic in the machine.

The "up" at the end of the command activates the interface. To make this permanent each time you boot up you'll have to add this command in your /etc/rc.d/rc.local file.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
IP addresses boakye Linux - Enterprise 1 01-31-2005 08:16 PM
using 2 ip addresses Laimonas16 Linux - Networking 0 09-21-2004 05:45 AM
How to get information from ip addresses indian Linux - General 4 09-05-2004 12:20 AM
IP addresses ruhode Linux - Software 2 09-09-2002 04:11 AM
Shell script to change IP addresses saintt Linux - General 4 08-20-2001 11:17 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:24 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration