找回密码
 注册

QQ登录

只需一步,快速开始

楼主: spicahan

关于用软件VLAN处理IPTV的方法

[复制链接]
 楼主| 发表于 2011-8-19 22:08:27 | 显示全部楼层
redtears 发表于 2011-8-19 16:23
首先谢谢您回复,看了这些配置我大致明白了工作原理,是讲WAN口过来的数据分成两路vlan85和vlan51, 然后 ...

我查了一下,你用的是 H618B 对吧,这个用的是 BCM5354, 里面只有一块网卡,WAN/LAN 是靠交换机来分隔的,这种机型要交换机芯片能支持128个VLAN才能处理上海的 IPTV. 网上找不到 bcm5354 支持多少VLAN的详细资料,不过估计是和5325E一样的,只支持16个VLAN... 这样吧,你在 OpenWrt 上运行一下
  1. demsg | grep robo
复制代码
贴上来看看是什么结果,基本上就知道了。

再解释得详细一点。在 WAN/LAN 各有一块网卡的机器上,光猫可以直接连到WAN口上,这时候光猫传过来的数据没经过任何处理,都能到达 CPU 被 Linux 看到,然后可以靠软件来处理 VLAN, 实现各种功能;
而在你这种机器上,光猫过来的数据必须先经过内部的交换机芯片然后才能到达 CPU 被 Linux 看到。如果交换机的VLAN功能没打开,WAN/LAN/IPTV 就完全没法分开,肯定不能这样用;而如果打开 VLAN 功能,那就要求 vlan 51, vlan 85都支持,否则在交换机芯片那里会被丢弃,一样到不了 CPU 那里。这里有趣的事情来了:如果交换机芯片本身已经能处理所有的VLAN了,那你还要用软件来处理 VLAN 干什么呢。。。
发表于 2011-8-19 22:26:26 | 显示全部楼层
spicahan 发表于 2011-8-19 22:08
我查了一下,你用的是 H618B 对吧,这个用的是 BCM5354, 里面只有一块网卡,WAN/LAN 是靠交换机来分隔的, ...

非常感谢你这么耐心指导我呵呵,我执行了一下dmesg | grep robo, 结果为空。 我看了下好像确实最多支持16个VLAN。这个机器原来原厂rom里我记得是把一个端口划成一个vlan桥接到wan上,vlanID好像是3551,这个不知道原厂rom内部是怎么操作的了, 下面那个图是我朋友帮我截下来的,我们是邻居,都是FTTB接入,不过他用的是RG100E,但是跟我的H618b一样应该是BCM5354芯片的。
厄。。。。好像没法传图片,那我就把图上那些配置打一下吧。

上行方式:LAN
连接名称:2_other_b_vid_3551
模式:bridge
启用VLAN:是
vlan id: 3551
802.1p: 0
服务模式:other
绑定端口:端口2

 楼主| 发表于 2011-8-19 22:34:20 | 显示全部楼层
redtears 发表于 2011-8-19 22:26
非常感谢你这么耐心指导我呵呵,我执行了一下dmesg | grep robo, 结果为空。 我看了下好像确实最多支持16 ...

结果为空太奇怪了。。你执行一下 dmesg, 把完整的输出都发上来看看吧。
另外,你在哪里看到它最多支持 16 个 vlan 的?虽然只支持16个VLAN也可以划 3551 这么高的 VID, 但我相信一般人不会这么干的。。。
发表于 2011-8-19 22:57:17 | 显示全部楼层
spicahan 发表于 2011-8-19 22:34
结果为空太奇怪了。。你执行一下 dmesg, 把完整的输出都发上来看看吧。
另外,你在哪里看到它最多支持 1 ...

0x00cf89a4 ends at 0x00cf8a00
Empty flash at 0x00cf8a7c ends at 0x00cf8a80
Empty flash at 0x00cf8aa4 ends at 0x00cf8b00
Empty flash at 0x00cf8b7c ends at 0x00cf8b80
Empty flash at 0x00cf8ba4 ends at 0x00cf8c00
Empty flash at 0x00cf8c7c ends at 0x00cf8c80
Empty flash at 0x00cf8ca4 ends at 0x00cf8d00
Empty flash at 0x00cf8d7c ends at 0x00cf8d80
Empty flash at 0x00cf8da4 ends at 0x00cf8e00
Empty flash at 0x00cf8e7c ends at 0x00cf8e80
Empty flash at 0x00cf8ea4 ends at 0x00cf8f00
Empty flash at 0x00cf8f7c ends at 0x00cf8f80
Empty flash at 0x00cf8fa4 ends at 0x00cf9000
Empty flash at 0x00cf907c ends at 0x00cf9080
Empty flash at 0x00cf90a4 ends at 0x00cf9100
Empty flash at 0x00cf917c ends at 0x00cf9180
Empty flash at 0x00cf91a4 ends at 0x00cf9200
Empty flash at 0x00cf927c ends at 0x00cf9280
Empty flash at 0x00cf92a4 ends at 0x00cf9300
Empty flash at 0x00cf937c ends at 0x00cf9380
Empty flash at 0x00cf93a4 ends at 0x00cf9400
Empty flash at 0x00cf947c ends at 0x00cf9480
Empty flash at 0x00cf94a4 ends at 0x00cf9500
Empty flash at 0x00cf957c ends at 0x00cf9580
Empty flash at 0x00cf95a4 ends at 0x00cf9600
Empty flash at 0x00cf967c ends at 0x00cf9680
Empty flash at 0x00cf96a4 ends at 0x00cf9700
Empty flash at 0x00cf977c ends at 0x00cf9780
Empty flash at 0x00cf97a4 ends at 0x00cf9800
Empty flash at 0x00cf987c ends at 0x00cf9880
Empty flash at 0x00cf98a4 ends at 0x00cf9900
Empty flash at 0x00cf997c ends at 0x00cf9980
Empty flash at 0x00cf99a4 ends at 0x00cf9a00
Empty flash at 0x00cf9a7c ends at 0x00cf9a80
Empty flash at 0x00cf9aa4 ends at 0x00cf9b00
Empty flash at 0x00cf9b7c ends at 0x00cf9b80
Empty flash at 0x00cf9ba4 ends at 0x00cf9c00
Empty flash at 0x00cf9c7c ends at 0x00cf9c80
Empty flash at 0x00cf9ca4 ends at 0x00cf9d00
Empty flash at 0x00cf9d7c ends at 0x00cf9d80
Empty flash at 0x00cf9da4 ends at 0x00cf9e00
Empty flash at 0x00cf9e7c ends at 0x00cf9e80
Empty flash at 0x00cf9ea4 ends at 0x00cf9f00
Empty flash at 0x00cf9f7c ends at 0x00cf9f80
Empty flash at 0x00cf9fa4 ends at 0x00cfa000
Empty flash at 0x00cfa07c ends at 0x00cfa080
Empty flash at 0x00cfa0a4 ends at 0x00cfa100
Empty flash at 0x00cfa17c ends at 0x00cfa180
Empty flash at 0x00cfa1a4 ends at 0x00cfa200
Empty flash at 0x00cfa27c ends at 0x00cfa280
Empty flash at 0x00cfa2a4 ends at 0x00cfa300
Empty flash at 0x00cfa37c ends at 0x00cfa380
Empty flash at 0x00cfa3a4 ends at 0x00cfa400
Empty flash at 0x00cfa47c ends at 0x00cfa480
Empty flash at 0x00cfa4a4 ends at 0x00cfa500
Empty flash at 0x00cfa57c ends at 0x00cfa580
Empty flash at 0x00cfa5a4 ends at 0x00cfa600
Empty flash at 0x00cfa67c ends at 0x00cfa680
Empty flash at 0x00cfa6a4 ends at 0x00cfa700
Empty flash at 0x00cfa77c ends at 0x00cfa780
Empty flash at 0x00cfa7a4 ends at 0x00cfa800
Empty flash at 0x00cfa87c ends at 0x00cfa880
Empty flash at 0x00cfa8a4 ends at 0x00cfa900
Empty flash at 0x00cfa97c ends at 0x00cfa980
Empty flash at 0x00cfa9a4 ends at 0x00cfaa00
Empty flash at 0x00cfaa7c ends at 0x00cfaa80
Empty flash at 0x00cfaaa4 ends at 0x00cfab00
Empty flash at 0x00cfab7c ends at 0x00cfab80
Empty flash at 0x00cfaba4 ends at 0x00cfac00
Empty flash at 0x00cfac7c ends at 0x00cfac80
Empty flash at 0x00cfaca4 ends at 0x00cfad00
Empty flash at 0x00cfad7c ends at 0x00cfad80
Empty flash at 0x00cfada4 ends at 0x00cfae00
Empty flash at 0x00cfae7c ends at 0x00cfae80
Empty flash at 0x00cfaea4 ends at 0x00cfaf00
Empty flash at 0x00cfaf7c ends at 0x00cfaf80
Empty flash at 0x00cfafa4 ends at 0x00cfb000
Empty flash at 0x00cfb07c ends at 0x00cfb080
Empty flash at 0x00cfb0a4 ends at 0x00cfb100
Empty flash at 0x00cfb17c ends at 0x00cfb180
Empty flash at 0x00cfb1a4 ends at 0x00cfb200
Empty flash at 0x00cfb27c ends at 0x00cfb280
Empty flash at 0x00cfb2a4 ends at 0x00cfb300
Empty flash at 0x00cfb37c ends at 0x00cfb380
Empty flash at 0x00cfb3a4 ends at 0x00cfb400
Empty flash at 0x00cfb47c ends at 0x00cfb480
Empty flash at 0x00cfb4a4 ends at 0x00cfb500
Empty flash at 0x00cfb57c ends at 0x00cfb580
Empty flash at 0x00cfb5a4 ends at 0x00cfb600
Empty flash at 0x00cfb67c ends at 0x00cfb680
Empty flash at 0x00cfb6a4 ends at 0x00cfb700
Empty flash at 0x00cfb77c ends at 0x00cfb780
Empty flash at 0x00cfb7a4 ends at 0x00cfb800
Empty flash at 0x00cfb87c ends at 0x00cfb880
Empty flash at 0x00cfb8a4 ends at 0x00cfb900
Empty flash at 0x00cfb97c ends at 0x00cfb980
Empty flash at 0x00cfb9a4 ends at 0x00cfba00
Empty flash at 0x00cfba7c ends at 0x00cfba80
Empty flash at 0x00cfbaa4 ends at 0x00cfbb00
Empty flash at 0x00cfbb7c ends at 0x00cfbb80
Empty flash at 0x00cfbba4 ends at 0x00cfbc00
Empty flash at 0x00cfbc7c ends at 0x00cfbc80
Empty flash at 0x00cfbca4 ends at 0x00cfbd00
Empty flash at 0x00cfbd7c ends at 0x00cfbd80
Empty flash at 0x00cfbda4 ends at 0x00cfbe00
Empty flash at 0x00cfbe7c ends at 0x00cfbe80
Empty flash at 0x00cfbea4 ends at 0x00cfbf00
Empty flash at 0x00cfbf7c ends at 0x00cfbf80
Empty flash at 0x00cfbfa4 ends at 0x00cfc000
Empty flash at 0x00cfc07c ends at 0x00cfc080
Empty flash at 0x00cfc0a4 ends at 0x00cfc100
Empty flash at 0x00cfc17c ends at 0x00cfc180
Empty flash at 0x00cfc1a4 ends at 0x00cfc200
Empty flash at 0x00cfc27c ends at 0x00cfc280
Empty flash at 0x00cfc2a4 ends at 0x00cfc300
Empty flash at 0x00cfc37c ends at 0x00cfc380
Empty flash at 0x00cfc3a4 ends at 0x00cfc400
Empty flash at 0x00cfc47c ends at 0x00cfc480
Empty flash at 0x00cfc4a4 ends at 0x00cfc500
Empty flash at 0x00cfc57c ends at 0x00cfc580
Empty flash at 0x00cfc5a4 ends at 0x00cfc600
Empty flash at 0x00cfc67c ends at 0x00cfc680
Empty flash at 0x00cfc6a4 ends at 0x00cfc700
Empty flash at 0x00cfc77c ends at 0x00cfc780
Empty flash at 0x00cfc7a4 ends at 0x00cfc800
Empty flash at 0x00cfc87c ends at 0x00cfc880
Empty flash at 0x00cfc8a4 ends at 0x00cfc900
Empty flash at 0x00cfc97c ends at 0x00cfc980
Empty flash at 0x00cfc9a4 ends at 0x00cfca00
Empty flash at 0x00cfca7c ends at 0x00cfca80
Empty flash at 0x00cfcaa4 ends at 0x00cfcb00
Empty flash at 0x00cfcb7c ends at 0x00cfcb80
Empty flash at 0x00cfcba4 ends at 0x00cfcc00
Empty flash at 0x00cfcc7c ends at 0x00cfcc80
Empty flash at 0x00cfcca4 ends at 0x00cfcd00
Empty flash at 0x00cfcd7c ends at 0x00cfcd80
Empty flash at 0x00cfcda4 ends at 0x00cfce00
Empty flash at 0x00cfce7c ends at 0x00cfce80
Empty flash at 0x00cfcea4 ends at 0x00cfcf00
Empty flash at 0x00cfcf7c ends at 0x00cfcf80
Empty flash at 0x00cfcfa4 ends at 0x00cfd000
Empty flash at 0x00cfd07c ends at 0x00cfd080
Empty flash at 0x00cfd0a4 ends at 0x00cfd100
Empty flash at 0x00cfd17c ends at 0x00cfd180
Empty flash at 0x00cfd1a4 ends at 0x00cfd200
Empty flash at 0x00cfd27c ends at 0x00cfd280
Empty flash at 0x00cfd2a4 ends at 0x00cfd300
Empty flash at 0x00cfd37c ends at 0x00cfd380
Empty flash at 0x00cfd3a4 ends at 0x00cfd400
Empty flash at 0x00cfd47c ends at 0x00cfd480
Empty flash at 0x00cfd4a4 ends at 0x00cfd500
Empty flash at 0x00cfd57c ends at 0x00cfd580
Empty flash at 0x00cfd5a4 ends at 0x00cfd600
Empty flash at 0x00cfd67c ends at 0x00cfd680
Empty flash at 0x00cfd6a4 ends at 0x00cfd700
Empty flash at 0x00cfd77c ends at 0x00cfd780
Empty flash at 0x00cfd7a4 ends at 0x00cfd800
Empty flash at 0x00cfd87c ends at 0x00cfd880
Empty flash at 0x00cfd8a4 ends at 0x00cfd900
Empty flash at 0x00cfd97c ends at 0x00cfd980
Empty flash at 0x00cfd9a4 ends at 0x00cfda00
Empty flash at 0x00cfda7c ends at 0x00cfda80
Empty flash at 0x00cfdaa4 ends at 0x00cfdb00
Empty flash at 0x00cfdb7c ends at 0x00cfdb80
Empty flash at 0x00cfdba4 ends at 0x00cfdc00
Empty flash at 0x00cfdc7c ends at 0x00cfdc80
Empty flash at 0x00cfdca4 ends at 0x00cfdd00
Empty flash at 0x00cfdd7c ends at 0x00cfdd80
Empty flash at 0x00cfdda4 ends at 0x00cfde00
Empty flash at 0x00cfde7c ends at 0x00cfde80
Empty flash at 0x00cfdea4 ends at 0x00cfdf00
Empty flash at 0x00cfdf7c ends at 0x00cfdf80
Empty flash at 0x00cfdfa4 ends at 0x00cfe000
Empty flash at 0x00cfe07c ends at 0x00cfe080
Empty flash at 0x00cfe0a4 ends at 0x00cfe100
Empty flash at 0x00cfe17c ends at 0x00cfe180
Empty flash at 0x00cfe1a4 ends at 0x00cfe200
Empty flash at 0x00cfe27c ends at 0x00cfe280
Empty flash at 0x00cfe2a4 ends at 0x00cfe300
Empty flash at 0x00cfe37c ends at 0x00cfe380
Empty flash at 0x00cfe3a4 ends at 0x00cfe400
Empty flash at 0x00cfe47c ends at 0x00cfe480
Empty flash at 0x00cfe4a4 ends at 0x00cfe500
Empty flash at 0x00cfe57c ends at 0x00cfe580
Empty flash at 0x00cfe5a4 ends at 0x00cfe600
Empty flash at 0x00cfe67c ends at 0x00cfe680
Empty flash at 0x00cfe6a4 ends at 0x00cfe700
Empty flash at 0x00cfe77c ends at 0x00cfe780
Empty flash at 0x00cfe7a4 ends at 0x00cfe800
Empty flash at 0x00cfe87c ends at 0x00cfe880
Empty flash at 0x00cfe8a4 ends at 0x00cfe900
Empty flash at 0x00cfe97c ends at 0x00cfe980
Empty flash at 0x00cfe9a4 ends at 0x00cfea00
Empty flash at 0x00cfea7c ends at 0x00cfea80
Empty flash at 0x00cfeaa4 ends at 0x00cfeb00
Empty flash at 0x00cfeb7c ends at 0x00cfeb80
Empty flash at 0x00cfeba4 ends at 0x00cfec00
Empty flash at 0x00cfec7c ends at 0x00cfec80
Empty flash at 0x00cfeca4 ends at 0x00cfed00
Empty flash at 0x00cfed7c ends at 0x00cfed80
Empty flash at 0x00cfeda4 ends at 0x00cfee00
Empty flash at 0x00cfee7c ends at 0x00cfee80
Empty flash at 0x00cfeea4 ends at 0x00cfef00
Empty flash at 0x00cfef7c ends at 0x00cfef80
Empty flash at 0x00cfefa4 ends at 0x00cff000
Empty flash at 0x00cff07c ends at 0x00cff080
Empty flash at 0x00cff0a4 ends at 0x00cff100
Empty flash at 0x00cff17c ends at 0x00cff180
Empty flash at 0x00cff1a4 ends at 0x00cff200
Empty flash at 0x00cff27c ends at 0x00cff280
Empty flash at 0x00cff2a4 ends at 0x00cff300
Empty flash at 0x00cff37c ends at 0x00cff380
Empty flash at 0x00cff3a4 ends at 0x00cff400
Empty flash at 0x00cff47c ends at 0x00cff480
Empty flash at 0x00cff4a4 ends at 0x00cff500
Empty flash at 0x00cff57c ends at 0x00cff580
Empty flash at 0x00cff5a4 ends at 0x00cff600
Empty flash at 0x00cff67c ends at 0x00cff680
Empty flash at 0x00cff6a4 ends at 0x00cff700
Empty flash at 0x00cff77c ends at 0x00cff780
Empty flash at 0x00cff7a4 ends at 0x00cff800
Empty flash at 0x00cff87c ends at 0x00cff880
Empty flash at 0x00cff8a4 ends at 0x00cff900
Empty flash at 0x00cff97c ends at 0x00cff980
Empty flash at 0x00cff9a4 ends at 0x00cffa00
Empty flash at 0x00cffa7c ends at 0x00cffa80
Empty flash at 0x00cffaa4 ends at 0x00cffb00
Empty flash at 0x00cffb7c ends at 0x00cffb80
Empty flash at 0x00cffba4 ends at 0x00cffc00
Empty flash at 0x00cffc7c ends at 0x00cffc80
Empty flash at 0x00cffca4 ends at 0x00cffd00
Empty flash at 0x00cffd7c ends at 0x00cffd80
Empty flash at 0x00cffda4 ends at 0x00cffe00
Empty flash at 0x00cffe7c ends at 0x00cffe80
Empty flash at 0x00cffea4 ends at 0x00cfff00
Empty flash at 0x00cfff7c ends at 0x00cfff80
mini_fo: using base directory: /
mini_fo: using storage directory: /overlay
b44: eth0: powering down PHY
b44: eth0: Link is up at 100 Mbps, full duplex.
b44: eth0: Flow control is off for TX and off for RX.
device eth0.0 entered promiscuous mode
device eth0 entered promiscuous mode
br-lan: port 1(eth0.0) entering forwarding state
Compat-wireless backport release: compat-wireless-2011-06-23
Backport based on wireless-testing.git master-2011-06-22
cfg80211: Calling CRDA to update world regulatory domain
PPP generic driver version 2.4.2
NET: Registered protocol family 24
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
b43-phy0: Broadcom 5354 WLAN found (core revision 13)
ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
Registered led device: b43-phy0::tx
Registered led device: b43-phy0::rx
Registered led device: b43-phy0::radio
Broadcom 43xx driver loaded [ Features: PL, GPIO LED Mask: 0x000f, Firmware-ID: FW13 ]
cfg80211: World regulatory domain updated:
cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Broadcom 43xx-legacy driver loaded [ Features: PLID, Firmware-ID: FW10 ]
ip_tables: (C) 2000-2006 Netfilter Core Team
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
nf_conntrack version 0.5.0 (1985 buckets, 7940 max)
CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or
sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
xt_time: kernel timezone is -0000
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
ohci_hcd ssb0:1: SSB OHCI Controller
ohci_hcd ssb0:1: new USB bus registered, assigned bus number 1
ohci_hcd ssb0:1: irq 6, io mem 0x18003000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
ohci_hcd ssb0:1: SSB EHCI Controller
ohci_hcd ssb0:1: new USB bus registered, assigned bus number 2
ohci_hcd ssb0:1: irq 6, io mem 0x18003800
ohci_hcd ssb0:1: USB 0.0 started, EHCI 1.00
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
uhci_hcd: USB Universal Host Controller Interface driver
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usb 2-1: new high speed USB device using ohci_hcd and address 2
usb 2-1: configuration #1 chosen from 1 choice
scsi0 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
cfg80211: Calling CRDA for country: US
cfg80211: Regulatory domain changed to country: US
cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
cfg80211:     (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
b43-phy0: Loading firmware version 410.2160 (2007-05-26 15:32:10)
scsi 0:0:0:0: Direct-Access     Generic  External         1.08 PQ: 0 ANSI: 4
sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/465 GiB)
usb-storage: device scan complete
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 23 00 00 00
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] Assuming drive cache: write through
sda: sda1
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] Attached SCSI disk
b43-phy0: Loading firmware version 410.2160 (2007-05-26 15:32:10)
device wlan0 entered promiscuous mode
br-lan: port 2(wlan0) entering forwarding state
device wlan0 left promiscuous mode
br-lan: port 2(wlan0) entering disabled state
device wlan0 entered promiscuous mode
br-lan: port 2(wlan0) entering forwarding state
kjournald starting.  Commit interval 5 seconds
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
EXT3 FS on sda1, internal journal
EXT3-fs: mounted filesystem with writeback data mode.
warning: `smbd' uses 32-bit capabilities (legacy support in use)


-------------------------------------------------------------------------------------------
16个VLAN我是在openwrt的vlan配置界面里尝试填一个超过16的vlan id,然后保存的时候系统提示的。 那个3551是原厂固件里的设置
 楼主| 发表于 2011-8-19 23:08:20 | 显示全部楼层
redtears 发表于 2011-8-19 22:57
0x00cf89a4 ends at 0x00cf8a00
Empty flash at 0x00cf8a7c ends at 0x00cf8a80
Empty flash at 0x00cf ...

这个里面也没找到有用的信息。。。能不能再发个 lsmod 的输出?

另外,vlan配置界面里说只有16个VLAN那是不作数的,因为OpenWrt那帮人在写驱动的时候就只允许16个Vlan, 哪怕硬件上实际上没有限制。我就改过OpenWrt的驱动,让它允许超过16个。
发表于 2011-8-19 23:17:25 | 显示全部楼层
spicahan 发表于 2011-8-19 23:08
这个里面也没找到有用的信息。。。能不能再发个 lsmod 的输出?

另外,vlan配置界面里说只有16个VLAN那 ...

Module                  Size  Used by    Not tainted
usb_storage            35680  1
uhci_hcd               19104  0
ohci_hcd               17952  0
macvlan                 4704  0
nf_nat_tftp              432  0
nf_conntrack_tftp       2400  1 nf_nat_tftp
nf_nat_irc               864  0
nf_conntrack_irc        2592  1 nf_nat_irc
nf_nat_ftp              1360  0
nf_conntrack_ftp        4896  1 nf_nat_ftp
xt_HL                   1280  0
xt_hl                    928  0
xt_MARK                  496  0
ipt_ECN                 1376  0
xt_CLASSIFY              496  0
xt_time                 1632  0
xt_tcpmss               1008  0
xt_statistic             800  0
xt_mark                  512  0
xt_length                688  0
ipt_ecn                  992  0
xt_DSCP                 1536  0
xt_dscp                 1040  0
ipt_MASQUERADE           992  1
iptable_nat             2880  1
nf_nat                 12544  5 nf_nat_tftp,nf_nat_irc,nf_nat_ftp,ipt_MASQUERADE,iptable_nat
xt_CONNMARK              768  8
xt_recent               5872  0
xt_helper                816  0
xt_conntrack            2144  2
xt_connmark              640  0
xt_connbytes            1216  0
xt_NOTRACK               672  0
iptable_raw              656  1
xt_state                 800  9
nf_conntrack_ipv4       8352 22 iptable_nat,nf_nat
nf_defrag_ipv4           608  1 nf_conntrack_ipv4
nf_conntrack           44032 17 nf_nat_tftp,nf_conntrack_tftp,nf_nat_irc,nf_conntrack_irc,nf_nat_ftp,nf_conntrack_ftp,ipt_MASQUERADE,iptable_nat,nf_nat,xt_CONNMARK,xt_helper,xt_conntrack,xt_connmark,xt_connbytes,xt_NOTRACK,xt_state,nf_conntrack_ipv4
ehci_hcd               34272  1 ohci_hcd
sd_mod                 23088  2
ipt_REJECT              1984  2
xt_TCPMSS               2720  4
ipt_LOG                 4640  0
xt_comment               464  0
xt_multiport            1904  0
xt_mac                   576  0
xt_limit                1152  1
iptable_mangle           992  1
iptable_filter           768  1
ip_tables               8864  4 iptable_nat,iptable_raw,iptable_mangle,iptable_filter
xt_tcpudp               1856  7
x_tables                9824 32 xt_HL,xt_hl,xt_MARK,ipt_ECN,xt_CLASSIFY,xt_time,xt_tcpmss,xt_statistic,xt_mark,xt_length,ipt_ecn,xt_DSCP,xt_dscp,ipt_MASQUERADE,iptable_nat,xt_CONNMARK,xt_recent,xt_helper,xt_conntrack,xt_connmark,xt_connbytes,xt_NOTRACK,xt_state,ipt_REJECT,xt_TCPMSS,ipt_LOG,xt_comment,xt_multiport,xt_mac,xt_limit,ip_tables,xt_tcpudp
ext3                   95872  1
jbd                    44144  1 ext3
ppp_async               9040  0
b43legacy              97296  0
b43                   148064  0
mac80211              234512  2 b43legacy,b43
usbcore               107040  5 usb_storage,uhci_hcd,ohci_hcd,ehci_hcd
pppoe                  10208  6
scsi_mod               73008  2 usb_storage,sd_mod
pppox                   1312  1 pppoe
ppp_generic            21216 15 ppp_async,pppoe,pppox
nls_base                4960  1 usbcore
mbcache                 4160  0
crc_ccitt                976  1 ppp_async
slhc                    5360  1 ppp_generic
cfg80211              138080  3 b43legacy,b43,mac80211
compat_firmware_class     5360  2 b43legacy,b43
compat                  9984  4 b43legacy,b43,mac80211,cfg80211
arc4                     816  2
aes_generic            31056  3
deflate                 1328  0
ecb                     1328  0
cbc                     2016  0
switch_robo             4208  0
switch_core             5200  1 switch_robo
 楼主| 发表于 2011-8-21 12:07:41 | 显示全部楼层
redtears 发表于 2011-8-19 23:17
Module                  Size  Used by    Not tainted
usb_storage            35680  1
uhci_hcd   ...

我去网上查了一下,没有明确的关于5354到底支持多少个vlan的结论,我手头也没有机器,也没法自己去实验。。。
我的感觉是,大概有一半的概率,能支持超过16个。如果你愿意尝试的话,可以试试用我在硬件VLAN那个帖子里发的修改过的驱动,看看能不能支持。我自己是打算买一个华硕的RT-N16算了,一步到位吧,千兆交换机而且可以支持4096个vlan...
发表于 2011-8-21 21:12:11 | 显示全部楼层
spicahan 发表于 2011-8-21 12:07
我去网上查了一下,没有明确的关于5354到底支持多少个vlan的结论,我手头也没有机器,也没法自己去实验。 ...

好的,回头我去试一下。再次感谢。RT-N16好像确实很强大。
 楼主| 发表于 2011-8-21 22:06:14 | 显示全部楼层
redtears 发表于 2011-8-21 21:12
好的,回头我去试一下。再次感谢。RT-N16好像确实很强大。

嗯,其实与其折腾弱的东西,不如一步到位买个好点的,虽然表面上省不了钱,但时间和精力可以省下来,也是好的。我已经下单RT-N16了,如果IPTV完美支持的话,我就发个报告帖给大家参考。
发表于 2011-8-22 09:29:20 | 显示全部楼层
spicahan 发表于 2011-8-21 22:06
嗯,其实与其折腾弱的东西,不如一步到位买个好点的,虽然表面上省不了钱,但时间和精力可以省下来,也是 ...

好~期待你的报告贴了呵呵:) 如果iptv也能搞定我也去买一个
*滑块验证:
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

粤公网安备 44152102000001号

GMT+8, 2024-4-29 03:18 , Processed in 0.028231 second(s), 3 queries , Redis On.

Powered by Discuz! X3.5 Licensed

Copyright © 2001-2020, Tencent Cloud.

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