Switch Setup for Edgerouter 10X (RTL8367RB) 您所在的位置:网站首页 rtl8367rb驱动 Switch Setup for Edgerouter 10X (RTL8367RB)

Switch Setup for Edgerouter 10X (RTL8367RB)

2023-04-14 18:14| 来源: 网络整理| 查看: 265

I am working to bring up OpenWrt on a ER10x (Ubiquiti Edgerouter 10X - ER-10X - long)

I've gotten the MT7621a ports working (eth0-eth4) and the RTL8367RB internal switch (eth5-eth9). The issue I'm having is that the Realtek switch is only working on ports 1-4 (eth6-eth9) and refuses to bring up switch0:port0 (eth5).

The MT7621a is DSA, the RTL8367RB is a swconfig driver (I know, but I cannot find a DSA driver for the RTL8367RB). The RTL connects via external PHY to the MT7621a on CPU port 6. Switch0:port0 (eth5) doesn't even recognize a cable being plugged in.

My commit (https://github.com/Itus-Shield/openwrt/commit/789faf443404d89d211ebcab5a2da2459d6526cc) outlines the dts and other changes made for those who want to see..

I'm posting here because the Network experts may or may not read the Dev section :slight_smile:

tldr; The RTL switch works, with the exception of port0. This appears to be a switch/swconfig issue, but I've never used swconfig so I've got no practical knowledge in how the config SHOULD be.

Network config

root@OpenWrt:/# cat /etc/config/network config interface 'loopback' option ifname 'lo' option proto 'static' option ipaddr '127.0.0.1' option netmask '255.0.0.0' config globals 'globals' option packet_steering '1' option ula_prefix 'fdec:f190:caf0::/48' config interface 'lan' option type 'bridge' option ifname 'eth1 eth2 eth3 eth4 eth5' option proto 'static' option ipaddr '192.168.1.1' option netmask '255.255.255.0' option ip6assign '60' config interface 'wan' option ifname 'eth0' option proto 'dhcp' config interface 'wan6' option ifname 'eth0' option proto 'dhcpv6' config switch option name 'switch0' option reset '1' option enable_vlan '1' config switch_vlan option device 'switch0' option vlan '1' option ports '0 1 2 3 4 6'

swconfig dev switch0 show is long, and will post if requested



【本文地址】

公司简介

联系我们

今日新闻

    推荐新闻

      专题文章
        CopyRight 2018-2019 实验室设备网 版权所有