〖Fedora〗設置Fedora靜態ip地址


root@Fedora:~# cat /etc/sysconfig/network-scripts/ifcfg-eth0 
# Intel Corporation 82540EM Gigabit Ethernet Controller
DEVICE=eth0
#BOOTPROTO=dhcp
HWADDR=08:00:27:5f:5c:31
ONBOOT=yes
DHCP_HOSTNAME=localhost.localdomain
#NM_CONTROLLED=
# add by linkscue, for static ip addr
BOOTPROTO=static
NM_CONTROLLED=yes
IPADDR=192.168.1.110
NETMASK=255.255.255.0
GATEWAY=192.168.1.1
# add by linkscue, end

/etc/init.d/network restart


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM