Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    如何对arp广播风暴进行规避?

    Linux
    4
    6
    348
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      KoGu LV 5 last edited by

      目前想在自有设备上规避arp广播风暴,不能是交换机或路由器,在出现arp广播风暴时不对本设备的主功能程序产生影响
      我目前模拟的方式如下:
      将普通交换机的两个网口短接,制造出arp广播风暴,只要出现arp广播风暴后,linux的软中断的CPU占用率就会很高,主要表现就是其他主要任务不能及时运行,甚至不运行,同时也无法和上位机联通。
      请问各位是否有什么思路或者方法,我目前想着对广播、多播做限制,奈何无从下手。

      J KunYi 2 Replies Last reply Reply Quote Share 1
      • aozima
        aozima LV 7 last edited by

        为什么不能解决制造问题的人?

        L 1 Reply Last reply Reply Quote Share 0
        • J
          Jingyan LV 5 @laizh950 last edited by

          @laizh950 使用生成树STP避免网络风暴

          L 1 Reply Last reply Reply Quote Share 0
          • L
            KoGu LV 5 @aozima last edited by

            @aozima 那我要解决的人太多了😂

            1 Reply Last reply Reply Quote Share 0
            • L
              KoGu LV 5 @Jingyan last edited by

              @jingyan 有相关帖子参考下吗?

              1 Reply Last reply Reply Quote Share 0
              • KunYi
                KunYi LV 8 @laizh950 last edited by

                @laizh950 在 如何对arp广播风暴进行规避? 中说:

                将普通交换机的两个网口短接,制造出arp广播风暴,只要出现arp广播风暴后,linux的软中断的CPU占用率就会很高,主要表现就是其他主要任务不能及时运行,甚至不运行,同时也无法和上位机联通。

                试试
                ip link set eth0 multicast off
                ip link set eth0 promisc off
                or
                iptables -A INPUT -m pkttype --pkt-type broadcast -j DROP
                iptables -A INPUT -m pkttype --pkt-type multicast -j DROP

                STP/RSTP 是 L2 switch 本身功能

                1 Reply Last reply Reply Quote Share 0
                • 1 / 1
                • First post
                  Last post

                Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

                行为准则 | 用户协议 | 隐私权政策