免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1095 | 回复: 1
打印 上一主题 下一主题

应用流量统计 桥 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-12-30 10:46 |只看该作者 |倒序浏览
本帖最后由 流星奇幻 于 2011-12-30 10:57 编辑

有一个桥br1由eth0和eth1组成, 通过l7filter统计http流量,br1上是有数据的,但是指定网卡(eth0)上没有数据,具体信息如下,怎么才能上eth0上有数据呢?
求指教!

-bash-3.2# ifconfig
br1       Link encap:Ethernet  HWaddr 00:E0:4C:05:4C:90  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:36512 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:3240261 (3.0 MiB)  TX bytes:0 (0.0 B)

eth0      Link encap:Ethernet  HWaddr 00:E0:4C:05:4C:90  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:552503 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10842 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100000
          RX bytes:78715897 (75.0 MiB)  TX bytes:3503170 (3.3 MiB)
          Interrupt:28 Base address:0x8000

eth1      Link encap:Ethernet  HWaddr 00:E0:4C:05:4C:91  
          UP BROADCAST RUNNING PROMISC  MTU:1500  Metric:1
          RX packets:7787 errors:0 dropped:0 overruns:0 frame:0
          TX packets:21620 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100000
          RX bytes:1195935 (1.1 MiB)  TX bytes:8972275 (8.5 MiB)
          Interrupt:29 Base address:0xc000
         
         
-bash-3.2# brctl show
bridge name     bridge id               STP enabled     interfaces
br1             8000.00e04c054c90       no               eth0
                                                                        eth1
                                                        
-bash-3.2# iptables -t mangle -nvL
Chain PREROUTING (policy ACCEPT 246K packets, 24M bytes)
pkts bytes target     prot opt in     out     source               destination         
    0     0            all  --  eth0   *       0.0.0.0/0            0.0.0.0/0           LAYER7 l7proto http
3771 2670K            all  --  br1    *       0.0.0.0/0            0.0.0.0/0           LAYER7 l7proto http
      
Chain POSTROUTING (policy ACCEPT 191K packets, 17M bytes)
pkts bytes target     prot opt in     out     source               destination         
    0     0            all  --  *      eth0    0.0.0.0/0            0.0.0.0/0           LAYER7 l7proto http
3771 2670K            all  --  *      br1     0.0.0.0/0            0.0.0.0/0           LAYER7 l7proto http

论坛徽章:
0
2 [报告]
发表于 2011-12-30 11:20 |只看该作者
是不是网卡应该做什么设置啊,前两天我测试还是好用的,不知道问什么,现在怎么弄都没结果


   
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP