User Tools

Site Tools


doc:hardware:switch

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
doc:hardware:switch [2013/07/10 19:07]
lorema
doc:hardware:switch [2016/05/22 22:14] (current)
zx82 [Qualcomm / Atheros] AR8216 examples
Line 1: Line 1:
 +====== Ethernet Network Switch ======
 +Many devices supported by OpenWrt contain an Ethernet network switch. Most switches are //​configurable//​ and divers options are available. We require two software components:
 +  - a kind of a driver
 +  - a utility
  
 +
 +===== Ethernet Network Switch models =====
 +
 +==== Realtek ====
 +  * [[http://​www.realtek.com.tw/​products/​productsView.aspx?​Langid=1&​PNid=18&​PFid=15&​Level=5&​Conn=4&​ProdID=197|RealTek RTL8366RB]] / [[http://​realtek.info/​pdf/​rtl8366_8369_datasheet_1-1.pdf|8366RB-pdf]] , a 5-port Gigabit switch e.g. in the [[toh/​tp-link/​tl-wr1043nd|WR1043ND v1]].
 +    * see [[https://​dev.openwrt.org/​search?​q=+8366RB&​noquickjump=1&​ticket=on|all tickets concerning the Realtek RTL8366RB]]
 +      * e.g. [[https://​dev.openwrt.org/​ticket/​7977|Ticket 7977:​Enhance rtl8366rb driver]]
 +      * e.g. [[https://​dev.openwrt.org/​ticket/​10202|Ticket 10202: Add support for port mirroring in rtl8366rb]]
 +    * see [[https://​dev.openwrt.org/​search?​q=+8366RB&​noquickjump=1&​changeset=on|all changesets concerning the Realtek RTL8366RB]]
 +      * e.g. [[https://​dev.openwrt.org/​changeset/​36847|r36847:​ add port mirroring/​monitoring capability to the RTL8366RB switch]]
 +  * [[http://​www.realtek.com.tw/​press/​newsViewOne.aspx?​NewsID=182|RealTek RTL8366S]], e.g. in the [[toh/​d-link/​DIR-825]]
 +  * [[http://​www.realtek.com.tw/​products/​productsView.aspx?​Langid=1&​PFid=20&​Level=5&​Conn=4&​ProdID=156|Realtek RTL8306SD/​SDM]] FastEthernet,​ 6 Ports, 5x 100BASE-TX-PHYs e.g. in the [[toh/​arcadyan/​arv4518pw|ARV4518PW]]
 +  * [[http://​www.realtek.com.tw/​products/​productsView.aspx?​Langid=1&​PFid=21&​Level=3&​Conn=4&​ProdID=209|RTL8309G]] FastEthernet,​ 9 Ports, 8x 100BASE-TX-PHYs e.g. in the [[toh/​d-link/​dir-632|D-Link DIR-632]]
 +
 +==== Qualcomm / Atheros ====
 +  * AR8216 FastEthernet,​ 6 ports; found in [[toh/​astoria/​arv752dpw22 |Arcadyan ARV752DPW22]],​ [[toh/​netgear/​wnr2000 |Netgear WNR2000v1]],​ others
 +  * AR8316 GigabitEthernet,​ e.g. in the [[toh/​ubiquiti/​routerstation.pro|RouterStation Pro]], [[toh/​buffalo/​WBMR-HP-G300H]],​ ...
 +  * [[http://​www.qca.qualcomm.com/​technology/​technology.php?​nav1=48&​product=99|AR8228 + AR8229]] FastEthernet:​ 7-Ports, 5x 100BASE-TX-PHYs
 +  * [[http://​www.qca.qualcomm.com/​technology/​technology.php?​nav1=48&​product=100|AR8236]] FastEthernet:​ 6-Ports, ​ 5 x 100BASE-TX-PHYs
 +  * [[http://​www.qca.qualcomm.com/​technology/​technology.php?​nav1=48&​product=102|AR8327 + AR8327N]] GigabitEthernet:​ 7Ports, ​ 5x 1000Base-T-PHYs e.g. in the [[toh/​tp-link/​tl-wr1043nd|WR1043ND v2]] ([[http://​wikidevi.com/​files/​Atheros/​specsheets/​AR8327_AR8327N.pdf|Atheros AR8327N-BL1A]])
 +  * [[http://​www.qca.qualcomm.com/​technology/​technology.php?​nav1=48&​product=101|AR8328 + AR8328N]] GigabitEthernet:​ 7Ports, ​ 5x 1000Base-T-PHYs
 +  * Atheros AR7240 built-in switch
 +  * Atheros AR934X built-in switch
 +
 +**''​Note:''​** Atheros Switch-Chips with the '​N'​ designation include the //Hardware NAT// function.
 +
 +==== Broadcom ​ ====
 +  * [[https://​dev.openwrt.org/​changeset/​37650|r37650:​ brcm47xx: switch to kernel 3.10.4; This uses a new switch driver. The old ADMTEK Adm6996 switch is not supported any more.]]
 +  * Broadcom {{:​media:​datasheets:​bcm5325_pinout.png?​linkonly|BCM5325}}
 +
 +==== MediaTek / Ralink ====
 +  * [[http://​www.mediatek.com/​_en/​01_products/​04_pro.php?​sn=1032|TC2206]]
 +
 +==== Other ====
 +  * IC+ IP17xx
 +
 +===== Drivers =====
 +  * 
 +  * 
 +
 +===== Utility =====
 +  * ''​[[doc:​techref:​swconfig]]''​
 +
 +==== Features ====
 +  * some Switches contain a functionality called **//"​Hardware NAT"//​**;​ support for this features has not yet been included into OpenWrt. Since the [[doc:​hardware:​CPU]]s used in CPE Routers are relatively slow, expect 2 to 4 times performance gain if you were to use Hardware NAT, e.g. without hardware NAT some router could achieve 400Mbit/s at full CPU load, with hardware NAT it could achieve 900Mbit/s at full CPU load. OpenWrt developer is supposed to have said, that implementing HW-NAT support would be unacceptably hacky to accomplish.