LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 04-23-2004, 01:52 PM   #1
civicsi
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, 02:17 PM   #2
Peacedog
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

redhat-config-network

as root from a terminal.
good luck.
 
Old 04-23-2004, 02:17 PM   #3
david_ross
Moderator
 
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:
http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/
 
Old 04-23-2004, 02:21 PM   #4
flyingfish
LQ Newbie
 
Registered: Apr 2004
Posts: 2

Rep: Reputation: 0
At the prompt type :-

ifconfig eth0 10.0.0.1 netmask 255.255.255.0 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.
 
  


Reply


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 09:16 PM
using 2 ip addresses Laimonas16 Linux - Networking 0 09-21-2004 06:45 AM
How to get information from ip addresses indian Linux - General 4 09-05-2004 01:20 AM
IP addresses ruhode Linux - Software 2 09-09-2002 05:11 AM
Shell script to change IP addresses saintt Linux - General 4 08-20-2001 12:17 PM


All times are GMT -5. The time now is 08:31 AM.

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