Link to home
Start Free TrialLog in
Avatar of vernk
vernk

asked on

eth0 config on red hat 6.1

Have installed rh 6.1 (did the server install)
Need to get the ip address and netmask on the eth0 so I can put the nmachine on a network, it will not be a names server, it will look to another machine that is the nameserver.....what file and how do i do this. I am not running x windows.
ASKER CERTIFIED SOLUTION
Avatar of jlevie
jlevie

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of vernk
vernk

ASKER

"You configure the basic networking by going to "Config->Network->Client tasks->Basic host information->Adapter1". Select "Enabled" and "Manual", fill in the host name, IP & netmask, and select eth0 as the device. The remainder can be left blank. "Accept" the changes and "Quit" back to "Client tasks".

ok, i see the hostname, then below that the manual
then below that it is blank.......how do I "fill in the host name, IP & netmask, and select eth0 as the device"

eth0 123.456.789.111 255.255.255.0

?????? this is where i dont understand?



Okay, fair question, I guess it isn't obvious. If you are on the console you don't have to do anything special, just login as root and run linuxconf. If you are remotely connecting (telnet/rlogin), you want to do so from a VT100 emulator as an ordinary user and then su to root. You also want to be sure Linux knows what the terminal type is "export TERM=vt100".

The up/down arrow keys will navigate through the selection lines. The space bar will toggle the state of a checkbox like the "Enable" field and the left/right arrow keys will move a radio button amoung the choices like the "Manual"/"DCHP"/"BOOTP" selection. The text lines like host name, alias, netmask, and net device you simply type the value in. The tab key navigates around in any of the windows, cycling amoung the "Quit"/"Accept"/"Help" buttons and input areas.

Doe that help?
Avatar of vernk

ASKER

yes, that helps, but, I still dont know the actual format to type in the parameters,
When you say "alias, netmask, and net device you simply type the value in" would the line below be correct?

eth0 123.456.789.111 255.255.255.0

thanx for bearing with me......
Okay, maybe I misunderstood what you were asking. Each input line of "This host configuration" form takes a specific input. Each "Adapter" can be used to configure an ethernet  adapter, but you've only got one so all you need is to fill in the applicable fields of "Adapter1".

For instance the "Host name" and "Adapter1 Primary name" fields get the FQDN of your system (myhost.some-domain.com).  The "Aliases" field gets its short name (myhost). "IP address" would get your IP (123.456.789.111), and so forth.
Avatar of vernk

ASKER

so, when i open linuxconf and look below the manual dhcp bootp line there should already be there? like

Aliases

IP address


etc??? I don't have anything down there rite now....
"Primary host name", "Aliases", "IP address" are the titles of the fields (on the left side of the form). The fields themselves are blank to begin with and you move the cursor to the line and fill it in.
Avatar of vernk

ASKER

I know I must be driving you crazy....sorry, but the damn book doesn't really explain it in detail, except if you are running x...seems the book is mostly dedicated to people using x!
 Are the field names case sensative?
could you give me an example of all the fields possible? Like:

Alias
Ip address
Netmask
eth0

Sure, you betcha. Host name & alias aren't case sensitive, but the Unix convention for most everthing is that it'll be in lower case. The name of the Network device is decidedly case sensitive.

Okay, I can't show you exactly what it will look like, but I can get pretty close:

-------------- This host basic configuration ----------
 You are allowed to control the parameters
 which are specific to this host and related
 to its main connection to the local network


                       _______________________________
                      |-----------Host name-----------
Host name             |chaos.enigma.com
                      |-------------------------------
                      |----------Adapter 1------------
                      |[X] Enabled
config mode           |(o) Manual  ( ) Dhcp ( ) Bootp
Primary name + domain |chaos.enigma.com
Aliases (opt)         |chaos
IP address            |123.456.789.111
Netmask (opt)         |255.255.255.0
Net device            |eth0
Kernel module         |
I/O port (opt)        |
IRQ (opt)             |______________________________


    Accept            Cancel                 Help