LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-07-2011, 07:17 PM   #1
debbilynnjo
LQ Newbie
 
Registered: Feb 2011
Posts: 1

Rep: Reputation: 0
ifcfg-ech0 file


need the name of several settings that can be contained in the ifcfg-eth0 file
 
Old 02-07-2011, 11:08 PM   #2
tommylovell
Member
 
Registered: Nov 2005
Distribution: Fedora, Redhat
Posts: 372

Rep: Reputation: 101Reputation: 101
Here's an example of what was created when my Fedora 14 system was installed.
Code:
[root@athlon network-scripts]# cat ifcfg-eth0
DEVICE="eth0"
BOOTPROTO=none
NM_CONTROLLED="yes"
ONBOOT=yes
TYPE=Ethernet
IPADDR=192.168.1.93
PREFIX=24
GATEWAY=192.168.1.1
DNS1=192.168.1.1
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME="System eth0"
UUID=5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03
HWADDR=00:1F:D0:5A:36:58
My Fedora 10 system looks like this.
Code:
[root@athlonz network-scripts]# cat ifcfg-eth0
# nVidia Corporation MCP51 Ethernet Controller
DEVICE=eth0
BOOTPROTO=dhcp
# HWADDR=00:16:e6:1e:11:3a
ONBOOT=yes
DHCP_HOSTNAME=athlonz.tomlovell.com
NM_CONTROLLED=no
TYPE=Ethernet
USERCTL=yes
PEERDNS=yes
IPV6INIT=no
I don't know anywhere that these variables are explained. However, you can look at /etc/sysconfig/network-scripts/ifup-eth to see how some of those variables are used. And you can look there and ifdown-eth for references to other variables that can be coded in ifcfg-eth.

ps. edit your profile and add what distro or distros that you use. it makes answering questions easier. i'm assuming red hat, centos or fedora for my answer...

Last edited by tommylovell; 02-07-2011 at 11:11 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ifcfg-eth0 file settings srns Linux - Networking 6 09-07-2013 08:41 AM
How to change ifcfg-ethX names to a new name like ifcfg-switchname rabbit1101 Linux - Newbie 3 12-14-2008 04:09 PM
Why my ifcfg-eth1 file have the extension .bak (ifcfg-eth1.bak) cmx08 Linux - Networking 4 08-23-2008 07:28 AM
fedora/redhat: ifcfg-eth0 and ifcfg-eth1 Shaun2222 Linux - Networking 9 01-23-2008 03:25 PM
Questions about ifcfg-eth0 file veeruk101 Linux - Networking 2 07-23-2007 07:08 PM


All times are GMT -5. The time now is 11:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration