????Linux?????????????????????????????????????Ч???????Ч?????????????????????????????????????Щ??????????????????????
?????????????
????IP/NETMASK/GW/DNS??????????????/etc/sysconfig/network-scripts/ifcfg-IFACE #????????????д???
????IFACE:???????
????·?????????????:/etc/sysconfig/network-script/route-IFACE #???д???
???????????: /etc/sysconfig/network-scripts/ifcfg-IFACE ???????????????????????????????vim??????????????????????????????????????(CentOS 6:system-config-netwokr (setup)?? CentOS 7:nmtui )
????ifcfg-IFACE???????????:
????DEVICE?????????????????豸??????;
????ONBOOT:????????????????????????
????UUID:???豸????;
????IPV6INIT:???????IPV6;
????!!! BOOTPROTO:???????????????Э???????y??????????????dhcp??bootp??static??none
????TYPE:????????????????Ethernet??Bridge
????DNS1: ???DNS?????????
????DNS2?????DNS?????????(dns?????3??)
????DOMAIN:DNS??????
????IPADDR: IP???
????NETMASK: ???????? CentOS 7 ??????PREFIX??????????????????
????GATEWAY:???????
????USERCTL: ???????????????????豸??
????PEERDNS: ???BOOTPTOYO????"dhcp"?????????dhcp server?????dns??????????????????????DNS????????????????
????HWADDR:?豸??MAC?????
????NM_CONTROLLED:??????NetworkManager???????????????
???????????????????????????????

???????????????????????????????????????????
????CentOS 6 ?? CentOS 7??????????????
????CentOS6?  service network {start|stop|restart|status}
????CentOS7? systemctl {start|stop|restart|status} network.service (service???????)
????????????????·??:/etc/sysconfig/network-scripts/route-IFACE