Help us understand the problem. What is going on with this article?

綺麗な/etc/sysconfig/network-scripts/ifcfg-eth0の書き方

More than 5 years have passed since last update.

CentOS6の/etc/sysconfig/network-scripts/ifcfg-eth0はいくつか記述する方法があるが、綺麗な書き方。
NetworkManagerは使わない。

/etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
NM_CONTROLLED=no
ONBOOT=yes
TYPE=Ethernet
BOOTPROTO=none
IPADDR=192.168.1.100
PREFIX=24
GATEWAY=192.168.1.1
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
ARPCHECK=no

参考までに/etc/sysconfig/networkはこんな感じ。
何も触ってない。

/etc/sysconfig/network
NETWORKING=yes
HOSTNAME=localhost.localdomain
ShibuyaBizman
Sales Engineer, Sales
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした