[20190609更新ipv6双栈]100000pps路由ERL3,路由器折腾第二季

  • l
    lwd2136
  • c
    crystone
    折腾党
  • l
    lk999
    回复103#lwd2136


    我上次配置好在用,目前是单wan的模式,效率挺高的,发热量大。问下你这个示意图中光猫自拨是什么意思?edge连着这个拨好号的光猫是不是意味着要用lan的模式来设置?还有你双wan的话,两个入口是不同的isp还是一个isp,如果是不同的话dns怎么设置的?
  • l
    lwd2136
    我上次配置好在用,目前是单wan的模式,效率挺高的,发热量大。问下你这个示意图中光猫自拨是什么意思?edge连着这个拨好号的光猫是不是意味着要用lan的模式来设置?还有你双wan的话,两个入口是不同的isp还是一个isp,如果是不同的话dns怎么设置的?回复104#lk999


    同isp 电信10M接入
    我进入光猫没有废掉之前自带的拨号,没有关闭dhcp,只是新建一个链接,允许桥接
    光猫 ip 192.168.1.1
    edge连入是lan模式 ip 192.168.1.3 对下层 172.16.0.1
    磊科q3 用拨号方式连入 对下层 172.16.0.9
    这相当于wifi和有线两条ip线路了
    imac端dns设置为本机 使用chinadns 防污染
  • l
    lk999
    回复105#lwd2136


    不是很清楚你这种配置的意图,说说我的理解吧,你的光猫可以自己拨号上网(它至少有两个网口给你连两台设备?),你是不是把光猫拨号好的网络分给后面接的设备,那这两个设备就应该在一个网段里面, 比如192.168.1.X,其中edge进去的是192.168.1.3,再把数据nat给172.16.1.X。另外一个是Q3,地址是192.168.1.5,把数据nat给无线网络172.16.0.X。我的理解中edge只有一个wan进,一个lan出,没有双wan的必要嘛。或者你的光猫可以多拨,应该也不需要Q3去拨号,Q3其实只需要拿到数据再转换给无线网络就行。
  • 非常牛
    楼主真电工 iOS fly ~
  • l
    lwd2136
    不是很清楚你这种配置的意图,说说我的理解吧,你的光猫可以自己拨号上网(它至少有两个网口给你连两台设备?),你是不是把光猫拨号好的网络分给后面接的设备,那这两个设备就应该在一个网段里面, 比如192.168.1.X,其中edge进去的是192.168.1.3,再把数据nat给172.16.1.X。另外一个是Q3,地址是192.168.1.5,把数据nat给无线网络172.16.0.X。我的理解中edge只有一个wan进,一个lan出,没有双wan的必要嘛。或者你的光猫可以多拨,应该也不需要Q3去拨号,Q3其实只需要拿到数据再转换给无线网络就行。回复109#lk999

    edge对上层获得的是光猫分配的地址,分配的是172.16.0.x
    q3没有分配地址,直接拨号,获得外网地址,设置地址是172.16.0.9指定分配的是172.16.0.x
    edge端口可以指定wan或者lan

    意图很简单
    当后面有问题的时候 随时可以拿个没有配置的路由器挂在光猫上就可以上网
    随时可以双wan到edge 然后Q3取消dhcp挂在后面
    光猫其实可以双拨

    后续如果买千兆交换机和ap稳定后
    可能禁用光猫的自带的拨号之类
  • l
    lwd2136
    回复112#真电工


    双wan解决了
    跑个2M下载比较稳定,最高2.3M
    不过单线稳定跑过1.4M
    show load-balance watchdog之后
    发现两条线路ping不一样 一条3x 一条18x 这是咋回事 有时候出现一条0 一条4x

    交换机的话上洋垃圾gs108如何
  • 真电工
    回复115#lwd2136
    ping.ubnt.com我这边得到的是32ms。电信非光纤。

    ap如果原来用的没问题也没必要更换,可以考虑加一个AP在覆盖比较薄弱的地方。
    长期以来一直陷入一个误区就是功率越大,覆盖越好。其实更好的办法是多个小功率AP覆盖。
    我们需要的可能是降低功率而不是增大。
    upnt unifi比较吸引人的是可以免ac运行,但是和我的intel无线网卡发生兼容问题。
  • l
    lwd2136
    回复116#真电工


    不太会adp规则,会一点正则
    只能照着网上已有的
    https://easylist-downloads.adblo ... tchina+easylist.txt的名单dnsmasq之后
    只有744条

    广告过滤有好的list么,怎么有效正则
  • 真电工
    回复117#lwd2136
    我是照着数不清的教程做着玩的。
    觉得还是firefox+adblock plus+eliment hider好用。
    符合人的习惯,看到广告,屏蔽,马上看到效果,一气呵成,畅快淋漓。
    正则直接看30分钟入门就好,论坛里有人推荐过
  • l
    lwd2136
    回复118#真电工


    电脑上没问题
    主要用各种 手机 平板之类链接用的过滤

    另外您能编译个https://github.com/clowwindy/ChinaDNS-C
    解决dns污染么

    首页大神的pdf在看


    qos的话
    分应用类型
    指定应用
    分用户级别
    动态限速
    ubnt能做到么
  • l
    lwd2136
    回复121#真电工

    qos ubnt wiki有资料
    目前在考虑要么买个1xx左右的gs108
    要么买个2xx左右的wndr3800做交换机

    比较纠结
  • u
    uklh
    真神电工
  • l
    lwd2136
    1. configure
    2. top
    3. # Set-up the details of the DownStream Policy
    4. set traffic-policy shaper DownStream description "DownStream QoS policy"
    5. set traffic-policy shaper DownStream bandwidth 20mbit

    6. set traffic-policy shaper DownStream class 10 description "RTP"
    7. set traffic-policy shaper DownStream class 10 bandwidth 5mbit
    8. set traffic-policy shaper DownStream class 10 ceiling 10mbit
    9. set traffic-policy shaper DownStream class 10 match VOIP-RTP ip dscp 46
    10. set traffic-policy shaper DownStream class 10 priority 7
    11. set traffic-policy shaper DownStream class 10 queue-limit 10
    12. set traffic-policy shaper DownStream class 10 queue-type fair-queue

    13. set traffic-policy shaper DownStream class 20 description "SIP"
    14. set traffic-policy shaper DownStream class 20 bandwidth 1mbit
    15. set traffic-policy shaper DownStream class 20 ceiling 2mbit
    16. set traffic-policy shaper DownStream class 20 match VOIP-SIP ip dscp 26
    17. set traffic-policy shaper DownStream class 20 match VOIP-SIP ip protocol icmp
    18. set traffic-policy shaper DownStream class 20 priority 5
    19. set traffic-policy shaper DownStream class 20 queue-limit 10
    20. set traffic-policy shaper DownStream class 20 queue-type fair-queue


    21. set traffic-policy shaper DownStream class 30 description "HTTP and HTTPS"
    22. set traffic-policy shaper DownStream class 30 bandwidth 6mbit
    23. set traffic-policy shaper DownStream class 30 ceiling 24mbit
    24. set traffic-policy shaper DownStream class 30 match http ip protocol tcp
    25. set traffic-policy shaper DownStream class 30 match http ip destination port 80
    26. set traffic-policy shaper DownStream class 30 match http ip protocol tcp
    27. set traffic-policy shaper DownStream class 30 match http ip destination port 8080
    28. set traffic-policy shaper DownStream class 30 match https ip protocol tcp
    29. set traffic-policy shaper DownStream class 30 match https ip destination port 443
    30. set traffic-policy shaper DownStream class 30 priority 3

    31. set traffic-policy shaper DownStream class 40 description "dns query"
    32. set traffic-policy shaper DownStream class 40 bandwidth 1mbit
    33. set traffic-policy shaper DownStream class 40 ceiling 2mbit
    34. set traffic-policy shaper DownStream class 40 match http ip protocol udp
    35. set traffic-policy shaper DownStream class 40 match http ip destination port 53
    36. set traffic-policy shaper DownStream class 40 priority 4

    37. set traffic-policy shaper DownStream default bandwidth 8mbit
    38. set traffic-policy shaper DownStream default ceiling 24mbit
    39. set traffic-policy shaper DownStream default queue-type fair-queue
    40. set traffic-policy shaper DownStream default priority 2


    41. # Set-up the details of the UpStream Policy
    42. set traffic-policy shaper UpStream description "UpStream QoS policy"
    43. set traffic-policy shaper UpStream bandwidth 800kbit

    44. set traffic-policy shaper UpStream class 10 description "RTP"
    45. set traffic-policy shaper UpStream class 10 bandwidth 50%
    46. set traffic-policy shaper UpStream class 10 ceiling 100%
    47. set traffic-policy shaper UpStream class 10 match VOIP-RTP ip dscp 46
    48. set traffic-policy shaper UpStream class 10 priority 7
    49. set traffic-policy shaper UpStream class 10 queue-limit 10
    50. set traffic-policy shaper UpStream class 10 queue-type fair-queue

    51. set traffic-policy shaper UpStream class 20 description "SIP"
    52. set traffic-policy shaper UpStream class 20 bandwidth 10%
    53. set traffic-policy shaper UpStream class 20 ceiling 100%
    54. set traffic-policy shaper UpStream class 20 match VOIP-SIP ip dscp 26
    55. set traffic-policy shaper UpStream class 20 match VOIP-SIP ip protocol icmp
    56. set traffic-policy shaper UpStream class 20 priority 5
    57. set traffic-policy shaper UpStream class 20 queue-limit 10
    58. set traffic-policy shaper UpStream class 20 queue-type fair-queue

    59. set traffic-policy shaper UpStream class 30 description "HTTP and HTTPS"
    60. set traffic-policy shaper UpStream class 30 bandwidth 30%
    61. set traffic-policy shaper UpStream class 30 ceiling 1200kbit
    62. set traffic-policy shaper UpStream class 30 match http ip protocol tcp
    63. set traffic-policy shaper UpStream class 30 match http ip destination port 80
    64. set traffic-policy shaper UpStream class 30 match https ip protocol tcp
    65. set traffic-policy shaper UpStream class 30 match http ip destination port 8080
    66. set traffic-policy shaper UpStream class 30 match http ip protocol tcp
    67. set traffic-policy shaper UpStream class 30 match https ip destination port 443
    68. set traffic-policy shaper UpStream class 30 priority 3

    69. set traffic-policy shaper UpStream class 40 description "dns query"
    70. set traffic-policy shaper UpStream class 40 bandwidth 5%
    71. set traffic-policy shaper UpStream class 40 ceiling 100%
    72. set traffic-policy shaper UpStream class 40 match http ip protocol udp
    73. set traffic-policy shaper UpStream class 40 match http ip destination port 53
    74. set traffic-policy shaper UpStream class 40 priority 4

    75. set traffic-policy shaper UpStream default bandwidth 35%
    76. set traffic-policy shaper UpStream default ceiling 1200kbit
    77. set traffic-policy shaper UpStream default queue-type fair-queue
    78. set traffic-policy shaper UpStream default priority 2

    79. set interfaces ethernet eth2 traffic-policy out DownStream
    80. set interfaces ethernet eth0 pppoe 0 traffic-policy out UpStream
    81. set interfaces ethernet eth1 pppoe 1 traffic-policy out UpStream
    82. commit
    83. save
    复制代码
  • 数不清
    1.gs108 v2发热不小,对电源要求高,标称是12V 1A,实际使用建议大于1A(1.5~2A)
    2.M2HP可以刷成Unifi AP使用,适合家庭搞覆盖,效果不错,我家也是一个UAP-AC加一个M2HP,用UC来统一管理。
    3.速度慢有可能是2.4G干扰,尝试更换频段或者升级设备迁移到5G。
  • l
    lwd2136
    回复125#数不清

    gs108犹犹豫豫还没买,买的话会配2A电源

    家里如果直连ubnt然后光猫的话 ping4x
    如果无线连q3然后连ubnt再光猫的话 ping90-120 然后还出现ping500的波动
    这个纯属游戏里面看到的 晚上确定是q3无线问题的话 我是非得买交换机不可了

    目前wndr3800洋垃圾2xx,不知道到底合不合是,纯做交换机的话
    gs108看了蛮多 都说发热巨大 和ubnt一起 怕是过热了

    干扰问题的话 我打算换信道 升级成本高了




    1.gs108 v2发热不小,对电源要求高,标称是12V 1A,实际使用建议大于1A(1.5~2A)
    2.M2HP可以刷成Unifi AP使用,适合家庭搞覆盖,效果不错,我家也是一个UAP-AC加一个M2HP,用UC来统一管理。
    3.速度慢有可能是2.4G干扰,尝试更换频段或者升级设备迁移到5G。
  • 数不清
    如果要买交换机,还要看以后是否升级设备(NAS的端口聚合、AP的POE供电),好的核心网络设备能省心不少,我也是刚淘了个洋垃圾GS110TP(¥8xx),智能网管+8口POE供电,配家里的NAS和AP使用。

    http://www.netgear.com.cn/busine ... itches/GS110TP.aspx

    WNDR3800的CPU发热也不小,当交换机用,端口少功能也少。
  • z
    zh0501
    真电工都是玩 liunix的
  • l
    lwd2136
    回复127#数不清
    现在想达成的就只有降低游戏ping值还有千兆内网

    花钱省心力我也知道
    可是没钱

    我的硬盘都快存满了 我还想买硬盘
  • l
    lwd2136
    我有自己的vps 使用pptp和openvpn担心会被认证
    搭建的ss用得不错 打算编译一个ss
    但是编译各种问题不断 头疼得厉害
  • 6
    604165
    ros 5.1.8路过 装在一个256M的CF卡上(其实128也够了) winbox真方便
  • m
    mywangba
    ros这个软路由还是很强的 从2004年开始用 一直到现在 NB 不过没玩过这家的硬件
  • b
    beautydevil
    真电工,我就不看了,有成熟产品记得@下
  • l
    lwd2136
    这几天折腾来个总结
    1 收到wndr3800
    2 自己编译openwrt 出各种问题 选对型号 用别人编译好的 折腾好ss 就不折腾openvpn
    3 samba最后终于配置没啥问题 ftp也挺好 但是minidlna数据库一直有点问题
    4 现在网络是 光猫---ubnt---wndr3800
    5 wndr3800上的transmission一直没下载速度 端口转发我开了,换在t400上utorrent速度正常
    6 昨晚突然发现ubnt双拨有一条线路有ip无速度,重启之后看log 居然认证失败了
    7 今晚排查是网线问题还是电信关了我的多拨还是ubnt的问题 如果是电信 估计得投诉了

    ubnt中间连续工作8天 双拨负载均衡正常
    后来wndr3800后才重启之类
    编译方面问题颇多 交叉编译自己搞不定 太头疼

    初步确认ubnt eth1 有问题! f ck
    前两次reset同一错误
    第三次复活 不知道为什么...

    ubnt 的 vrrp 单线多拨 在尝试中
  • 数不清
    更换了内置散热片,主芯片PCB底部增加了导热散热贴,将热量传递至外壳。

    IMG_2149.jpg
  • l
    lwd2136
    回复135#数不清


    定制的?
  • 数不清
    市售的新款erl已经是金属壳,不是初代的塑胶壳,内部主板和初代都一样,只是少了底部的散热铝板。
  • s
    sunaddmoon
    留存
  • l
    lwd2136
    回复139#kirito


    没啥意思
    ubnt需要动手编译 我这边报错太多 一直没办法解决
    wndr3800有太多人用 伸手党省心省力而已
  • P
    PDA_perch
    不明所以
  • 真电工
    回复140#lwd2136
    编译请参考我的链接,小日本已经基本搞好全部包了,很好用。
    另外如果你需要编译chinadns的话,建议认真比较下我现在的方案,已经接近完美。如果支持layer7那就是完美。我已经解决了大部分问题,准备重新修订教程。
  • 真电工
    另外已经下手网件gs108e,基本除了端口汇聚,poe外都有了。
  • b
    bitshares
    NAT速度是因为有硬件NAT芯片么?
  • 真电工
    回复147#bitshares
    是里面有一个加速的引擎,比硬件nat应该更进步,官方版本可以自己开关各种加速功能,比如ipv6 offload
  • 数不清
    为何不买GS108T或一次到位GS110TP
  • 真电工
    回复149#数不清
    一、老婆没批准
    二、家里以前的装修没有布线,买了也发挥不了作用,等我再买房子时更好的产品也出来了。
    三、最主要没钱啊!

    netgear交换机最喜欢用bcm的芯片,bcm的发热你懂的...
    不过看在做工还可以,固件也马马虎虎份上就买了