LoginSignup
0
0

More than 5 years have passed since last update.

ローカルNetwork設定の覚え書き

Posted at

CentOSで、新たにNICを設置して、ローカルネットワーク接続する場合の覚え書きです。

eth1の設定

vi /etc/sysconfig/network-scripts/ifcfg-eth1

DEVICE="eth1"
IPADDR="192.168.0.1"
NETMASK="255.255.255.0"
TYPE="Ethernet"

ネットワーク内にルータが特にない場合は、GATEWAYの設定はいらないようです。

network設定の適用

/etc/rc.d/init.d/network restart

再起動すると反映されてます。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0