Solved

Can someone explain this eth0 file?

Posted on 2008-06-14
5
211 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
Comment Utility
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
Comment Utility
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
Comment Utility
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 61

Assisted Solution

by:gheist
gheist earned 100 total points
Comment Utility
"man ifcfg" manual page explains in more detail.
0
 
LVL 61

Expert Comment

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

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
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…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

762 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

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now