Solved

Can someone explain this eth0 file?

Posted on 2008-06-14
5
214 Views
Last Modified: 2010-03-18
These are contents that resides in the etc/systemconf/networkscritps/ifconf-eth0 file
DEVICE=eth3
ONBOOT=yes
BOOTPROTO=none
NETMASK=255.255.255.1
IPADDR=23.46.149.92
GATEWAY=24.86.139.1
TYPE=Ethernet
USERCTL=no
IPV6INIT=no
PEERDNS=yes

What is the use of this ... ?

Can you explain each entries and its uses ?
0
Comment
Question by:jaisonshereen
5 Comments
 
LVL 19

Assisted Solution

by:http:// thevpn.guru
http:// thevpn.guru earned 100 total points
ID: 21785369
This is the configuration file for your device ethernet 3,
second line..it will be activated on startup
No boot protocol used
network mask
ip address
the gateway
use ethernet techonology
can be controlled by users
uses IP V6
Broadcast it's DNS hostname..if I am not mistaken
0
 

Author Comment

by:jaisonshereen
ID: 21785449
What is mean by device ? what is its use?
so why a name clasification like eth0,2,3 ... why multiple devices? what is use of multiple device?
what is the boot protocol?
why the network mask ip is 255.255.255.1? i heard about 255.255.255.0 .. what is the difference?

IPADDR.... u mean if i assign here the device having this ip... so what about the server? will be the same ip..so if i assign ip in eth2 or eth3 ..will my ip of my system change?

Why we need to give gateway?

You mean... cannot  be controlled by users..what happen if it controled by users? which users are in this context ? my different accounts in my linux system?

Why we need to Broadcast it's DNS hostname.?

0
 
LVL 14

Accepted Solution

by:
sjm_ee earned 300 total points
ID: 21786083
jaisonshereen said: IPADDR.... u mean if i assign here the device having this ip... so what about the server? will be the same ip..so if i assign ip in eth2 or eth3 ..will my ip of my system change?

A system does not have an IP address. An interface has an IP address. A network adapter may have more than one IP addesss. More than one interface may share an IP address via NIC binding (aka NIC teaming).

jaisonshereen said: why the network mask ip is 255.255.255.1? i heard about 255.255.255.0 .. what is the difference?

255.255.255.1 is not a standard netmask. In binary form 255.255.255.1 is 11111111.11111111.11111111.00000001. The ones are not contiguous. This is probably an error.

jaisonshereen said: what is the boot protocol?

An interface does not require an IP address to be defined here - it may acquire an address dynamically via the DHCP or BOOTP protocols.

jaisonshereen said: what happen if it controled by users? which users are in this context ? my different accounts in my linux system?

USERCTL=yes allows non-root users to control the interface - start/stop/change.

More in http://www.redhat.com/docs/manuals/enterprise/RHEL-3-Manual/ref-guide/s1-networkscripts-interfaces.html among other places.
0
 
LVL 62

Assisted Solution

by:gheist
gheist earned 100 total points
ID: 21786682
"man ifcfg" manual page explains in more detail.
0
 
LVL 62

Expert Comment

by:gheist
ID: 21807922
there are some system specifics for VLANs and bonding, so reading manual page before editing is good habit.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
One of the typical problems I have experienced is when you have to move a web server from one hosting site to another. You normally prepare all on the new host, transfer the site, change DNS and cross your fingers hoping all will be ok on new server…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question