請問固三如何設定Linux的網路【求助】

顯示結果從第 1 筆 到 6 筆,共計 6 筆
  1. #1
    會員
    註冊日期
    2001-05-26
    討論區文章
    32

    請問固三如何設定Linux的網路【求助】

    請教大家,
    我收到Hinet固三的設定說明,
    用戶LAN起始IP=220.xxx.xxx.154
    用戶LAN結束IP=220.xxx.xxx.156
    用戶LAN Netmask=255.255.255.0
    Gateway=220.xxx.xxx.254

    當我在壹台Linux上設定網路卡eth0使用一個固定ip時,
    我的Broadcast與Network應該設什麼才對?



  2. #2
    會員
    註冊日期
    2001-07-10
    討論區文章
    1
    如果沒寄錯的話
    Broadcast是220.xxx.xxx.255
    network是220.xxx.xxx.000
    有錯的話還請各位指正

  3. #3
    會員
    註冊日期
    2001-05-26
    討論區文章
    32

    很奇怪的訊息...

    我基本上是依詢一般規則將255設為broadcast,0設為network,
    但是很奇怪的,
    我的linux不斷收到這樣的訊息:

    168.95.82.194 sent an invalid ICMP type 11, code 0 error to a broadcast: 220.xxx.xxx.255 on eth0

    所以我懷疑是我的broadcast設錯了...
    或者這是其他問題呢?

    煩請各位先進幫個忙...

  4. #4
    CM Board Moderator raytracy 的大頭照
    註冊日期
    2004-05-21
    討論區文章
    714
    您用下面這個指令看一下究竟跟 168.95.82.194 之間有些什麼瓜葛:

    tcpdump host 168.95.82.194
    - Ray Tracy -

  5. #5
    Kree linux_xp 的大頭照
    註冊日期
    2002-01-19
    討論區文章
    2,655
    啟動防火牆

    PING別人電腦的時候,是送出一種ICMP封包

    大量的ICMP封包也可以造成一種攻擊,稱做阻斷服務式攻擊DoS,藉由讓伺服器不斷的回應耗用資源,來癱瘓掉目標伺服器的服務



  6. #6
    會員
    註冊日期
    2001-07-27
    討論區文章
    14

    回覆: 很奇怪的訊息...

    最初由 arikchao 發表
    我基本上是依詢一般規則將255設為broadcast,0設為network,
    但是很奇怪的,
    我的linux不斷收到這樣的訊息:

    168.95.82.194 sent an invalid ICMP type 11, code 0 error to a broadcast: 220.xxx.xxx.255 on eth0

    所以我懷疑是我的broadcast設錯了...
    或者這是其他問題呢?

    煩請各位先進幫個忙...

    這是samba引起的問題,
    啟動時加上這一行
    echo 1 >/proc/sys/net/ipv4/icmp_ignore_bogus_error_responses就不會出現了

    請參考以下的說明:

    >Since replacing RH52 with RH60, we've started getting the error message
    >
    > kernel: x.x.x.x sent an invalid ICMP error to a broadcast.
    >
    >every five minutes from one of our upstream ISP's border gateways and also
    from a LAN-based ROM emulator. I'm assuming that the reporting is a
    function of better DoS prevention, but is anyone familiar with this
    symptom, and, if so, is there a way to shut it off at least for known
    addresses??

    Gary;

    This is a function of the 2.2.X series kernels.

    To turn it off, I added the following to my /etc/rc.d/init.d file:

    echo 1 >/proc/sys/net/ipv4/icmp_ignore_bogus_error_responses

    I put it in line 93 of the file - right at the end of the "start)" portion.

    Note - to the best of my knowledge, this only crops up when running samba,
    so you could add it to the /etc/rc.d/init.d/smb file as well.

類似的主題

  1. 請問如何設定二組TCP/IP的網路連線?
    作者:whatsnew 所在討論版:-- HELP ME 電 腦 軟 硬 體 急 救 版
    回覆: 1
    最後發表: 2008-01-02, 05:52 PM
  2. 【求助】請問華電固三如何進入AR4031B設定頁
    作者:gemini 所在討論版:---- ADSL 軟 硬 體 技 術
    回覆: 0
    最後發表: 2005-11-03, 07:38 PM
  3. 請問如何設定linux的sendmail發信速限
    作者:flight88 所在討論版:-- FreeBSD & Linux 討 論 版
    回覆: 0
    最後發表: 2002-03-08, 01:14 AM
  4. 請問一下如何設定win2000的網路芳鄰呢?!
    作者:astrong 所在討論版:-- Windows 討 論 版
    回覆: 3
    最後發表: 2002-01-23, 12:24 AM

 

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

發表文章規則

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