久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放AV片

<center id="vfaef"><input id="vfaef"><table id="vfaef"></table></input></center>

    <p id="vfaef"><kbd id="vfaef"></kbd></p>

    
    
    <pre id="vfaef"><u id="vfaef"></u></pre>

      <thead id="vfaef"><input id="vfaef"></input></thead>

    1. 站長資訊網(wǎng)
      最全最豐富的資訊網(wǎng)站

      Linux配置靜態(tài)或動態(tài)IP解析

      1、編輯配置文件

        vim /etc/sysconfig/network-scripts/ifcfg-eth0

      將文件中內(nèi)容修改為以下格式,下面的項在文件中不存在的,自己手動補上。

        DEVICE=eth0 #網(wǎng)卡名  HWADDR=00:0c:29:d3:bb:e5 #MAC地址  TYPE=Ethernet  UUID=486cb8fd-7e13-4fce-80c3-ccffc76d00a2  ONBOOT=yes #網(wǎng)絡服務是否開機自啟動  NM_CONTROLLED=yes  BOOTPROTO=static #dhcp設置動態(tài)IP,static設置靜態(tài)IP  IPV6INIT=no  USERCTL=no  #以下內(nèi)容只在設置靜態(tài)IP時添加  IPADDR=192.168.1.155      NETMASK=255.255.255.0  GATEWAY=192.168.1.1  DNS1=192.168.1.1

      2、重啟網(wǎng)絡服務

        service network restart 

        /etc/init.d/network restart

      3、連通測試

      ping網(wǎng)關

        ping 192.168.1.1

      ping外網(wǎng)

        ping www.baidu.com

      贊(0)
      分享到: 更多 (0)
      網(wǎng)站地圖   滬ICP備18035694號-2    滬公網(wǎng)安備31011702889846號