<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    Tao

    Tao obeys its own inherent Nature

    Add two ips to one NIC in ubuntu

    edit file: /etc/network/interfaces

    the original content should be something like:

    # The primary network interface
    auto eth0
    iface eth0 inet static
    address 192.168.0.5
    netmask 255.255.255.0
    network 192.168.0.0
    broadcast 192.168.0.255
    gateway 192.168.0.1
    # dns-* options are implemented by the resolvconf package, if installed
    dns-nameservers 192.168.0.1 

    add the following settings in the file:

    auto eth0:1
    iface eth0:1 inet static
    address 192.168.0.6
    netmask 255.255.255.0
    network 192.168.0.0
    broadcast 192.168.0.255
    gateway 192.168.0.1

    # dns-* options are implemented by the resolvconf package, if installed dns-nameservers 192.168.0.1

     

    run command in root mode:

    /etc/init.d/networking restart

    that's all. you can run ifconfig to check if it works.

    I tested it in ubuntu 6.10.


     

    posted on 2007-09-25 14:37 wade 閱讀(474) 評論(0)  編輯  收藏 所屬分類: Linux

    導航

    <2007年9月>
    2627282930311
    2345678
    9101112131415
    16171819202122
    23242526272829
    30123456

    統計

    常用鏈接

    留言簿(7)

    隨筆分類

    隨筆檔案

    相冊

    Photo

    搜索

    最新評論

    閱讀排行榜

    評論排行榜

    主站蜘蛛池模板: 久久最新免费视频| 亚洲av日韩精品久久久久久a| 国产成人久久精品亚洲小说| 大学生一级特黄的免费大片视频| 亚洲国产片在线观看| 四虎最新永久免费视频| 亚洲成AV人片久久| 99热在线精品免费全部my| 亚洲熟伦熟女专区hd高清| 国产精品二区三区免费播放心| 美女被暴羞羞免费视频| 激情综合色五月丁香六月亚洲| 国产免费拔擦拔擦8X高清在线人 | 日韩免费高清一级毛片| 亚洲成av人片天堂网老年人| 一级做a爱片特黄在线观看免费看| 久久精品夜色噜噜亚洲A∨| 两个人看的www免费| 久久亚洲精品无码aⅴ大香| 又黄又爽又成人免费视频| 亚洲av永久无码| 亚洲一区爱区精品无码| 毛片免费在线观看| 亚洲欧洲日产国码在线观看| 久久综合AV免费观看| 免费观看四虎精品成人| 亚洲国产精品无码中文字| 嫖丰满老熟妇AAAA片免费看| 日韩亚洲人成在线综合| 国产精一品亚洲二区在线播放| 1000部夫妻午夜免费| 亚洲AV无码AV吞精久久| 亚洲一区二区三区香蕉| 在线精品一卡乱码免费| 国产精品亚洲色图| 西西人体44rt高清亚洲| 真实乱视频国产免费观看| 人人玩人人添人人澡免费| 亚洲an日韩专区在线| 亚洲午夜精品一级在线播放放| 5g影院5g天天爽永久免费影院|