Log in Go to the main page Page Discussion History Go to the file list Go to the site toolbox Bookmark and Share

Interface Configuration Files, Linux

From RZWiki


Image:linux-logo-large.png

/etc/sysconfig/network-scripts/ifcfg-interface-name;

DEVICE=eth1 | eth0:1 | lo

BOOTPROTO=static | dhcp

IPADDR=127.2.0.2

SRCADDR=127.2.0.2

NETMASK=255.255.255.0

NETWORK=127.2.0.0

BROADCAST=127.2.0.255

ONBOOT=yes | no

NOZEROCONF=yes | no

NAME=loopback

IPV6INIT=no

IPV6_AUTOCONF=no

/etc/sysconfig/network;

NETWORKING=yes | no

HOSTNAME=host@networkstuff.eu

NETWORKING_IPV4=no | yes

IPV4INIT=no | yes

NETWORKING_IPV6=no | yes

IPV6INIT=no | yes


Contents

Image:accessories-text-editor-v2-medium.png Usage Notes

Image:accessories-text-editor-v2-medium.png Linux Usage Notes

With most Linux or Unix commands;

  • Non root users may need to prefix commands with the sudo command, for example: sudo chmod 644 *
  • Brief help can be displayed using the -h or --help parameter, for example: chmod --help
  • A full command manual can be displayed using the man command followed by the command name, for example: man chmod
  • Sometimes 'info' pages are used instead of or to provide more information than man pages; for example: info chmod
  • Version information can normally be display using the -v, -V or --version parameter, for example: chmod --version. However, this paramater is also frequently used to display verbose output.

noinclude/noinclude

Image:icemon-medium.png Related Commands

ifconfig command

Image:icemon-medium.png Related Articles

File Locations, Linux


Site Toolbox:

Personal tools
This page was last modified on 9 December 2009, at 10:41. - This page has been accessed 36 times. - Disclaimers - About RZWiki
Powered by MediaWiki