[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Network configuration
- From: Rick Stevens <rstevens vitalstream com>
- To: cherukuri_sr yahoo com, Getting started with Red Hat Linux <redhat-install-list redhat com>
- Cc:
- Subject: Re: Network configuration
- Date: Fri, 09 Jul 2004 14:06:59 -0700
Cherukuri Srinivasa Rao wrote:
Hi all
Just begining with Redhat Linux
I am required to update the following mentioned information on the two
systems which are placed on the network.I have the root password and
visiting the data warehouse where these two systems are placed.So no
need of commands are required to log on to these systems remotely.The
following parameters are to be modified.
IP address
Default gateway
Netmask Information
No changes are required to hostname and domain name.
We have two Dell machines loaded with Redhat. About version, I am not
sure. Likely to be 8.
I was told that the file to be edited is /etc/sysconfig/neetwork.
Pl make a note that GUI is not available and these changes are to be
made using CLI.
Pl try to help me by providing step by step instructions.
If you want to change the hostname, edit the "/etc/sysconfig/network"
file and change the data in "HOSTNAME=".
If you wish to change the gateway, edit the "/etc/sysconfig/network"
file and change the data in "GATEWAY=".
To change the IP address or netmask, edit the
"/etc/sysconfig/network-scripts/ifcfg-eth0" file and change the data in
the "IPADDR=" or "NETMASK=" lines, depending on what you want to do.
NOTE: The only lines you must have in
/etc/sysconfig/network-scripts/ifcfg-ethx" files are:
DEVICE=
This should contain the name of your network interface. For
ethernet cards, this should be "eth0" for the first ethernet
card, "eth1" for the second, etc. For dial-up, this will
most likely be "ppp0". NOTE: This should match the name of the
file. If you have multiple ethernet interfaces, you
may have files such as "ifcfg-eth0", "ifcfg-eth1" and
"ifcfg-eth2" in your /etc/sysconfig/network-scripts directory.
The first one should have "DEVICE=eth0" in it, the second should
have "DEVICE=eth1" in it and so on.
IPADDR=
This should contain your desired IP address if you have
"BOOTPROTO=static" set. The line is not needed if you have
"BOOTPROTO=dhcp" set.
NETMASK=
This should contain your desired netmask if you have
"BOOTPROTO=static" set. It is not needed if you have
"BOOTPROTO=dhcp" set.
BOOTPROTO=
If "BOOTPROTO=static" is set, you're using a fixed IP address
and you must fill in the "IPADDR=" and "NETMASK=" lines. If
you have "BOOTPROTO=dhcp" set, you're using DHCP and you don't
need the "IPADDR=" or "NETMASK=" lines at all.
ONBOOT=
If "ONBOOT=yes" is set, the network card is brought up at boot
time. If "ONBOOT=no" is set, the card is not brought up at boot
and you'll need to manually start it with the "ifup eth0"
command at some point.
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer rstevens vitalstream com -
- VitalStream, Inc. http://www.vitalstream.com -
- -
- I.R.S.: We've got what it takes to take what you've got! -
----------------------------------------------------------------------
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]