/********************************************************
* Author: Goup
*
* Date: 2017-09-04 15:25
*
* Description: regular expression
*
********************************************************/
/etc/sysconfig/network-scripts/ifcfg-eth0 配置网络
[root@Gin scripts]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0 ## 物理设备名,eth0为第一块网卡;eth1为第二块网卡
HWADDR=00:0C:29:84:0C:21 ## 网卡的MAC地址
* Author: Goup
*
* Date: 2017-09-04 15:25
*
* Description: regular expression
*
********************************************************/
/etc/sysconfig/network-scripts/ifcfg-eth0 配置网络
[root@Gin scripts]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0 ## 物理设备名,eth0为第一块网卡;eth1为第二块网卡
HWADDR=00:0C:29:84:0C:21 ## 网卡的MAC地址