yanest

Raspberry pi B+ 作为路由器是不是性能不行啊?

  •  
  •   yanest · Mar 2, 2015 · 5665 views
    This topic created in 4127 days ago, the information mentioned may be changed or developed.
    ping baidu经常会有 dup

    4 bytes from 180.149.131.205: icmp_seq=14 ttl=53 time=30.082 ms (DUP!)
    64 bytes from 180.149.131.205: icmp_seq=15 ttl=53 time=37.414 ms
    64 bytes from 180.149.131.205: icmp_seq=16 ttl=53 time=34.177 ms
    64 bytes from 180.149.131.205: icmp_seq=17 ttl=53 time=32.146 ms
    64 bytes from 180.149.131.205: icmp_seq=18 ttl=53 time=44.563 ms
    64 bytes from 180.149.131.205: icmp_seq=19 ttl=53 time=28.164 ms
    64 bytes from 180.149.131.205: icmp_seq=20 ttl=53 time=35.856 ms
    64 bytes from 180.149.131.205: icmp_seq=21 ttl=53 time=29.893 ms
    64 bytes from 180.149.131.205: icmp_seq=22 ttl=53 time=32.372 ms
    64 bytes from 180.149.131.205: icmp_seq=23 ttl=53 time=27.706 ms
    64 bytes from 180.149.131.205: icmp_seq=24 ttl=53 time=29.599 ms
    64 bytes from 180.149.131.205: icmp_seq=25 ttl=53 time=39.687 ms
    64 bytes from 180.149.131.205: icmp_seq=25 ttl=53 time=54.215 ms (DUP!)
    64 bytes from 180.149.131.205: icmp_seq=26 ttl=53 time=45.
    9 replies    2015-11-19 18:52:54 +08:00
    zent00
        1
    zent00  
       Mar 2, 2015
    负载很高么?有没有手动设置过静态路由?
    yanest
        2
    yanest  
    OP
       Mar 2, 2015 via iPhone
    负载不高啊,用了一个usb网卡连接别的路由,有线网络连了一个AP
    zent00
        3
    zent00  
       Mar 2, 2015
    确定没有哪里形成环路?
    yanest
        4
    yanest  
    OP
       Mar 2, 2015
    @zent00 不应该有环路啊。
    iptables是这么设置的
    Chain POSTROUTING (policy ACCEPT 0 packets, 0 bytes)
    pkts bytes target prot opt in out source destination
    325K 35M MASQUERADE all -- * * 0.0.0.0/0 0.0.0.0/0
    yanest
        5
    yanest  
    OP
       Mar 2, 2015
    @zent00
    奇了怪了。只有我一个人上网,还是这样
    把iptables又调整了一下,还是不行。
    -A POSTROUTING -s 192.168.11.0/24 -o wlan0 -j MASQUERADE
    ryd994
        6
    ryd994  
       Mar 3, 2015 via Android
    有静态外网IP时不用masquerade用snat
    usb的话性能还是很受限的,毕竟读写都是占cpu的
    ohyeah521
        7
    ohyeah521  
       Mar 3, 2015
    大家有什么有什么性能高,时候做路由器的班子推荐一个。
    lbp0200
        8
    lbp0200  
       May 17, 2015
    @ohyeah521 (*宝)香蕉派路由器开发板,小贵。
    andrewhxism
        9
    andrewhxism  
       Nov 19, 2015
    我只能说,即使性能不行,也不至于 ping 包导致 DUP ……
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1196 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 45ms · UTC 17:16 · PVG 01:16 · LAX 10:16 · JFK 13:16
    ♥ Do have faith in what you're doing.