<i id='hn4'><div id='hn4'><ins id='hn4'></ins></div></i>
<i id='hn4'></i>

    <fieldset id='hn4'></fieldset>

      1. <ins id='hn4'></ins>

        <dl id='hn4'></dl>

          <acronym id='hn4'><em id='hn4'></em><td id='hn4'><div id='hn4'></div></td></acronym><address id='hn4'><big id='hn4'><big id='hn4'></big><legend id='hn4'></legend></big></address>
        1. <tr id='hn4'><strong id='hn4'></strong><small id='hn4'></small><button id='hn4'></button><li id='hn4'><noscript id='hn4'><big id='hn4'></big><dt id='hn4'></dt></noscript></li></tr><ol id='hn4'><table id='hn4'><blockquote id='hn4'><tbody id='hn4'></tbody></blockquote></table></ol><u id='hn4'></u><kbd id='hn4'><kbd id='hn4'></kbd></kbd>
        2. <span id='hn4'></span>

          <code id='hn4'><strong id='hn4'></strong></code>

          linux下如何修改ip地址,主机名等信息

          • 时间:
          • 浏览:5
          • 来源:124软件资讯网

              修改ip地址

              即时生效:

              # ifconfig eth0 192.168.0.20 netmask 255.255.255.0

              启动生效:

              修改/etc/sysconfig/network-scripts/ifcfg-eth0

              修改default gateway

              即时生效:

              # route add default gw 192.168.0.254

              启动生效:

              修改/etc/sysconfig/network-scripts/ifcfg-eth0

              修改dns

              修改/etc/resolv.conf

              修改后可即时生效  ,启动同样有用

              修改host name

              即时生效:

              # hostname fc2

              启动生效:

              修改/etc/sysconfig/network