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

    <span id='ws1s'></span>

        <acronym id='ws1s'><em id='ws1s'></em><td id='ws1s'><div id='ws1s'></div></td></acronym><address id='ws1s'><big id='ws1s'><big id='ws1s'></big><legend id='ws1s'></legend></big></address>
        <i id='ws1s'></i>

        <fieldset id='ws1s'></fieldset>
        1. <dl id='ws1s'></dl>
        2. <tr id='ws1s'><strong id='ws1s'></strong><small id='ws1s'></small><button id='ws1s'></button><li id='ws1s'><noscript id='ws1s'><big id='ws1s'></big><dt id='ws1s'></dt></noscript></li></tr><ol id='ws1s'><table id='ws1s'><blockquote id='ws1s'><tbody id='ws1s'></tbody></blockquote></table></ol><u id='ws1s'></u><kbd id='ws1s'><kbd id='ws1s'></kbd></kbd>

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

          如何在linux网卡上添加多个IP

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

              最简朴的要领是使用下令行:

              ifconfig add eth0 192.168.0.2 netmask 255.255.255.0

              ifconfig add eth0:1 192.168.0.2 netmask 255.255.255.0

              ifconfig add eth0:2 192.168.0.2 netmask 255.255.255.0

              其中eth0:1和eth0:2是添加上的两个IP.

              在添加后必须加入启动项,否则重启后,虚拟添加的IP将会失去.

              将以上下令加入到:

              /etc/rc.d/rc.local

              即可.