LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Change IP Addresses (https://www.linuxquestions.org/questions/linux-newbie-8/change-ip-addresses-173741/)

civicsi 04-23-2004 12:52 PM

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.

Peacedog 04-23-2004 01:17 PM

try running

redhat-config-network

as root from a terminal.
good luck.

david_ross 04-23-2004 01:17 PM

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/

flyingfish 04-23-2004 01:21 PM

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.


All times are GMT -5. The time now is 03:51 AM.