ifcfg-eth2 配置文件
- DEVICE=eth2
- HWADDR=00:0c:29:23:49:ab
- TYPE=Ethernet
- UUID=c5431922-0c75-42e5-b653-8ce5c29bab25
- ONBOOT=yes
- NM_CONTROLLED=yes
- BOOTPROTO=none
- IPADDR=1.2.3.4
- PREFIX=29
- GATEWAY=1.2.3.1
- DNS1=8.8.8.8
- DNS2=115.115.115.115
- IPV6INIT=no
- USERCTL=no
- #------------------
- IPADDR2=1.2.3.2
- PREFIX2=29
- GATEWAY2=1.2.3.1
- #------------------
- #IPADDR3=1.2.3.3
- #PREFIX3=29
- #GATEWAY3=1.2.3.1
- #------------------
- #IPADDR4=1.2.3.5
- #PREFIX4=29
- #GATEWAY4=1.2.3.1