Difference between revisions of "CentOS interface configuration"
From Teknologisk videncenter
m (added Category:CentOS using HotCat) |
m (→Example) |
||
Line 3: | Line 3: | ||
File: /etc/sysconfig/network-scripts/ifcfg-eth1 | File: /etc/sysconfig/network-scripts/ifcfg-eth1 | ||
<source lang=cli> | <source lang=cli> | ||
− | # | + | # COMMENT LINE |
DEVICE=eth1 | DEVICE=eth1 | ||
BOOTPROTO=static | BOOTPROTO=static |
Revision as of 08:37, 15 September 2015
Example
File: /etc/sysconfig/network-scripts/ifcfg-eth1
# COMMENT LINE
DEVICE=eth1
BOOTPROTO=static
IPADDR=192.168.70.87
NETMASK=255.255.255.0
ONBOOT=yes
TYPE=Ethernet