CentOS interface configuration

From Teknologisk videncenter
Revision as of 09:05, 15 September 2015 by Heth (talk | contribs) (Example)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Example

File: /etc/sysconfig/network-scripts/ifcfg-eth1

# COMMENT LINE
DEVICE=eth1
BOOTPROTO=none
IPADDR=192.168.70.87
NETMASK=255.255.255.0
ONBOOT=yes
TYPE=Ethernet

To start eth1 issue the service network restart command.