dogb
发表于 2011-2-3 21:08:19
回复 tangsoft 的帖子
RB450G 正品貌似要900大洋滴,而且那位朋友用的也不是开源系统,参考价值不大,诶
tangsoft
发表于 2011-2-3 21:11:14
回复 dogb 的帖子
据他说用openwrt在RB450G上实现的。
dogb
发表于 2011-2-3 21:15:28
回复 tangsoft 的帖子
(fu: 有联系方式不?(deyi:
victor2002
发表于 2011-2-3 23:58:51
5325虽然只支持16个vlan,但支持4K个vlan id,所以理论上支持vlan85,vlan51是没问题的,openwrt不需要从源码下手,开放性很强的。我感觉用macvlan和multiwan就能实现vlan的配置,不过还得加入ebtables做指定和转发。
victor2002
发表于 2011-2-3 23:59:48
有能力的朋友可以尝试下,我这边不是上海,没有FTTH和需要vlan的IPTV,不好测试。
tangsoft
发表于 2011-2-4 23:56:07
回复 dogb 的帖子
没有啊,就是那个 bradyzhu 网友https://www.chinadsl.net/space-uid-199386.html.
tangsoft
发表于 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)。
dogb
发表于 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>
vlan <vlan_number>
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
tangsoft
发表于 2011-2-5 16:08:14
回复 dogb 的帖子
谢谢,我去看看。
不过这只是个配置工具。关键是底层的支持。
dogb
发表于 2011-2-5 16:13:13
回复 tangsoft 的帖子
找了好久才找到的 OpenWRT 原版文档,有兴趣的话看看也无妨
页:
1
2
3
4
5
[6]
7
8
9
10
11