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

2015-03-02 20:27:13 +08:00
 yanest
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.
5042 次点击
所在节点    Raspberry Pi
9 条回复
zent00
2015-03-02 20:32:12 +08:00
负载很高么?有没有手动设置过静态路由?
yanest
2015-03-02 21:36:02 +08:00
负载不高啊,用了一个usb网卡连接别的路由,有线网络连了一个AP
zent00
2015-03-02 21:45:26 +08:00
确定没有哪里形成环路?
yanest
2015-03-02 21:49:27 +08:00
@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
2015-03-02 22:00:53 +08:00
@zent00
奇了怪了。只有我一个人上网,还是这样
把iptables又调整了一下,还是不行。
-A POSTROUTING -s 192.168.11.0/24 -o wlan0 -j MASQUERADE
ryd994
2015-03-03 00:30:45 +08:00
有静态外网IP时不用masquerade用snat
usb的话性能还是很受限的,毕竟读写都是占cpu的
ohyeah521
2015-03-03 00:44:55 +08:00
大家有什么有什么性能高,时候做路由器的班子推荐一个。
lbp0200
2015-05-17 18:06:26 +08:00
@ohyeah521 (*宝)香蕉派路由器开发板,小贵。
andrewhxism
2015-11-19 18:52:54 +08:00
我只能说,即使性能不行,也不至于 ping 包导致 DUP ……

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/174022

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX