找回密码
 注册

QQ登录

只需一步,快速开始

楼主: dogb

请教下在必需使用自备普通路由的的情况下,又要用IPTV的连接方法

[复制链接]
 楼主| 发表于 2011-2-3 21:08:19 | 显示全部楼层
回复 tangsoft 的帖子

RB450G 正品貌似要900大洋滴,而且那位朋友用的也不是开源系统,参考价值不大,诶
发表于 2011-2-3 21:11:14 | 显示全部楼层
回复 dogb 的帖子

据他说用openwrt在RB450G上实现的。
 楼主| 发表于 2011-2-3 21:15:28 | 显示全部楼层
回复 tangsoft 的帖子

(fu: 有联系方式不?(deyi:
发表于 2011-2-3 23:58:51 | 显示全部楼层
5325虽然只支持16个vlan,但支持4K个vlan id,所以理论上支持vlan85,vlan51是没问题的,openwrt不需要从源码下手,开放性很强的。我感觉用macvlan和multiwan就能实现vlan的配置,不过还得加入ebtables做指定和转发。
发表于 2011-2-3 23:59:48 | 显示全部楼层
有能力的朋友可以尝试下,我这边不是上海,没有FTTH和需要vlan的IPTV,不好测试。
发表于 2011-2-4 23:56:07 | 显示全部楼层
回复 dogb 的帖子

没有啊,就是那个 bradyzhu 网友https://www.chinadsl.net/space-uid-199386.html.
发表于 2011-2-4 23:59:31 | 显示全部楼层
回复 victor2002 的帖子

还是没有头绪。对openwrt不熟。如果要从source自己编译还有很多功课要做。另外看到openwrt最新版的changelog有这么一句:
Backfire 10.03.1-rc4
* add support for 4k VLANs on rtl8366 switch

但不清楚对5325E的支持(WRT160nV3)。
 楼主| 发表于 2011-2-5 13:56:22 | 显示全部楼层
本帖最后由 dogb 于 2011-2-5 05:59 编辑

回复 tangsoft 的帖子

openwrt 对5325E 的支持应该很完善了,source估计也不用改动

最新进展,有兴趣的看看吧,不晓得下方红色字体部分是不是兄弟们一直在找的东东哦,对linux不了解,诶

Using Robocfg
Robocfg is a utility written by Oleg Vdovikin to enable the hardware configuration of the Broadcom BCM5325E/536x VLAN enabled 6-port ethernet switch. When used properly, it can configure the switch in such a way that enables each of the five exposed ports of the switch to be treated as a separate, individual ethernet interface. Using robocfg, the switch can also be configured to tag packets for use in VLAN enabled networks, and to configure each port's MDI, duplex, and speed settings. Robocfg options can be issued individually, or strung together on one line, each new option and parameter separated by a space. See the bottom of this section for a copy of Robocfg's own stated parameters.

Advanced Configuration
When changing port assignments for VLANs, the switch should be disabled before changing the settings, and then re-enabled after the settings have been entered. Of course, the configuration should also be done using a serial console or executed as a script, since reconfiguration of the switch will disconnect any current telnet or ssh session. Port numbers followed by a "t" will pass tagged packets(necessary for port 5), while port numbers with a "u", or no "t", will untag packets when passing them through the interface.

Original Robocfg Parameter List
Usage: robocfg <op> ... <op>
Operations are as below:
        show
        switch <enable|disable>
        port <port_number> [state <enabled|rx_disabled|tx_disabled|disabled>]
                [stp none|disable|block|listen|learn|forward] [tag <vlan_tag>]
                [media auto|10HD|10FD|100HD|100FD] [mdi-x auto|on|off]
        vlan <vlan_number> [ports <ports_list>]
        vlans <enable|disable|reset>
        ports_list should be one argument, space separated, quoted if needed,
        port number could be followed by 't' to leave packet vlan tagged (CPU
        port default) or by 'u' to untag packet (other ports default) before
        bringing it to the port, '*' is ignored

发表于 2011-2-5 16:08:14 | 显示全部楼层
回复 dogb 的帖子

谢谢,我去看看。
不过这只是个配置工具。关键是底层的支持。
 楼主| 发表于 2011-2-5 16:13:13 | 显示全部楼层
回复 tangsoft 的帖子

找了好久才找到的 OpenWRT 原版文档,有兴趣的话看看也无妨

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
*滑块验证:
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|宽带技术网 |网站地图

粤公网安备 44152102000001号

GMT+8, 2024-3-28 17:00 , Processed in 0.024355 second(s), 3 queries , Redis On.

Powered by Discuz! X3.5 Licensed

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表