【求助】一張網卡兩隻IP

顯示結果從第 1 筆 到 2 筆,共計 2 筆
  1. #1
    PCZone 專業潛水伕 法克 的大頭照
    註冊日期
    2001-06-06
    所在地區
    FTTB 6M
    討論區文章
    483

    【求助】一張網卡兩隻IP

    我用的是 FreeBSD 4.6.2,請問如何在將一張網卡設定兩隻 IP?
    感謝



  2. #2
    進階會員 repsol 的大頭照
    註冊日期
    2001-06-17
    所在地區
    ADSL 2M/256
    討論區文章
    818
    man ifconfig

    alias Establish an additional network address for this interface. This
    is sometimes useful when changing network numbers, and one wishes
    to accept packets addressed to the old interface. If the address
    is on the same subnet as the first network address for this
    interface, a non-conflicting netmask must be given. Usually
    0xffffffff is most appropriate.

    -alias Remove the network address specified. This would be used if you
    incorrectly specified an alias, or it was no longer needed. If
    you have incorrectly set an NS address having the side effect of
    specifying the host portion, removing all NS addresses will allow
    you to respecify the host portion.



    ifconfig device_node alias xxx.xxx.xxx.xxx netmask xxx.xxx.xxx.xxxx


    example :

    ifconfig vr0 alias 192.168.254.90 netmask 255.255.255.255
    「遥か昔、正義に生きる悪魔の伝説があった。
    剣を取って戦い、悪魔の侵略を退けた魔剣士。
    その伝説も、やがて人々の記憶から消えて行った。

    だが2000年の時を経て、魔界はより強大になって甦る。
    圧倒的なパワーで押し寄せる魔界の軍勢。
    本格的な人間界侵攻が始まった…。

    再び訪れた人類の危機に一人の男が立ち上がる。
    伝説の魔剣士の血を引く悪魔狩人(デビルハンター)、その名はダンテ!」

類似的主題

  1. 【求助】一張網卡設定多個IP
    作者:阿修羅 所在討論版:-- 網 路 技 術 版
    回覆: 9
    最後發表: 2005-01-05, 12:25 AM
  2. 【閒聊】問個小問題~(兩張網卡兩條網路線)
    作者:licheng 所在討論版:-- 網 路 技 術 版
    回覆: 1
    最後發表: 2004-07-04, 11:17 AM
  3. 【求助】一張網卡做NAT
    作者:realbout 所在討論版:-- 網 路 技 術 版
    回覆: 8
    最後發表: 2002-10-03, 05:55 PM
  4. 【求助】兩張網路卡兩個IP的網路設定
    作者:goti 所在討論版:-- 網 路 技 術 版
    回覆: 12
    最後發表: 2002-09-28, 04:20 PM
  5. 【問題】linux要如何設定一張網卡有兩個以上的ip
    作者:loure 所在討論版:-- FreeBSD & Linux 討 論 版
    回覆: 0
    最後發表: 2002-03-24, 01:32 PM

 

此網頁沒有從搜尋引擎而來的訪客

發表文章規則

  • 不可以發表新主題
  • 不可以回覆文章
  • 不可以上傳附加檔案
  • 不可以編輯自己的文章
  •