<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 閱讀(473) 評論(0)  編輯  收藏 所屬分類: Linux

    導航

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

    統計

    常用鏈接

    留言簿(7)

    隨筆分類

    隨筆檔案

    相冊

    Photo

    搜索

    最新評論

    閱讀排行榜

    評論排行榜

    主站蜘蛛池模板: 亚洲国产精品成人综合色在线婷婷 | 一区在线免费观看| 国产精品无码免费视频二三区| 亚洲av永久综合在线观看尤物| 亚洲成人免费网站| 亚洲中字慕日产2021| 无遮免费网站在线入口| 一二三四视频在线观看中文版免费| 亚洲精华国产精华精华液网站| 亚洲AV无码专区国产乱码电影| 天天干在线免费视频| 亚洲一卡2卡3卡4卡乱码 在线| 中文字幕av无码无卡免费| 亚洲看片无码在线视频| 亚洲成在人线aⅴ免费毛片| 亚洲依依成人亚洲社区| 日韩精品免费电影| 老妇激情毛片免费| 国产gv天堂亚洲国产gv刚刚碰| 国产又黄又爽胸又大免费视频| 亚洲中文字幕久久精品无码喷水| 两性色午夜视频免费播放| 亚洲av激情无码专区在线播放| 99re这里有免费视频精品| 亚洲成AV人片久久| 麻豆国产精品入口免费观看| 人妻无码中文字幕免费视频蜜桃| 伊人久久综在合线亚洲91| 无码人妻丰满熟妇区免费| 久久精品国产亚洲av麻豆蜜芽| 免费看片免费播放| 色多多A级毛片免费看| 国产亚洲精品无码成人| 久久精品国产免费观看三人同眠| 国产婷婷综合丁香亚洲欧洲| 四虎永久免费影院| 免费视频一区二区| 亚洲国产成人久久精品软件 | 免费人成在线观看视频播放| 皇色在线免费视频| 亚洲AV无码国产精品色|