Linux?????????????????????
?????ladsdm ???????[ 2016/9/20 14:03:08 ] ??????????????? ???ù??? Linux
????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
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11