ifcfg-eth0 範例

當系統管理員那麼久. 還是背不起來怎麼寫 /etc/sysconfig/network-scripts/ifcfg-eth0 的檔案

DEVICE=eth0
BOOTPROTO=none
ONBOOT=yes
NETWORK=10.0.1.0
NETMASK=255.255.255.0
IPADDR=10.0.1.27
USERCTL=no
GATEWAY=10.0.1.254
HWADDR=5c:f3:fc:xx:xx:xx

真的很汗顏!!

Leave a Reply

Your email address will not be published. Required fields are marked *

 

This site uses Akismet to reduce spam. Learn how your comment data is processed.