On Mon, Dec 5, 2016 at 11:54 AM, Mauricio Tavares <[email protected]> wrote:
> I will need to look up on this command's man page
> (https://wiki.openwrt.org/doc/techref/swconfig) later. For instance,
> what do the members=X and untag=Y  fields report?
I am not sure, I ran across it trying to get things to work with my
vlan setup and that is about as far as I got.

>       Interesting: I do not have vid manually defined. I ASSumed per
> (https://wiki.openwrt.org/doc/uci/network/switch) it would use the
> vlan number. So, if I had
>
> # DMZ
> config switch_vlan
>         option device   rtl8366s
>         option vlan     3
>         option ports    "3t 5t"
>
> the default vid for this guy would be 3.
Correct, I use that because my vlan IDs don't always match the vlan
number (ie: I have a couple that are 200 and 300 for example on lower
numbered vlans).


>> One other question, in your /etc/config/network file, do you have a
>> 'config switch' section? On my 1043, that section is as follows:
>> config switch
>>     option name 'switch0'
>>     option reset '1'
>>     option enable_vlan '1'
>       Mine look like this
> config switch
>         option name     rtl8366s
>         option reset    1
>         # We do want to use vlans
>         option enable_vlan 1
>         # Blinkrate: 0=43ms; 1=84ms; 2=120ms; 3=170ms; 4=340ms; 5=670ms
>         option blinkrate        2
> which is consistent with swconfig list:
> Found: switch0 - rtl8366s
Sounds like that is setup right then.

> but when I connect a laptop on port 3 and run wireshark for 10
> minutes, I see tons 802.1q vlan 2 traffic but nothing for vlan 3. That
> makes me think I must have it configured wrong, which leads to me
> belie I am missing something when I set openwrt up.
Per https://dev.openwrt.org/ticket/7795 there was an issue with the
3700 on Attitude Adjustment, Barrier Breaker and trunk which may be
related, one workaround that was reported to work was to enable 4k
vlans with the option 'option enable_vlan4k 1'

If that doesn't work, I might try setting up a untagged vlan that goes
nowhere on port 3 just to see if somehow it wants an untagged vlan on
that port to make it work?
Something like this perhaps?
config switch_vlan
option device rtl8366s
option vlan 4
option ports "3 5t"

Aaron Z
A human being should be able to change a diaper, plan an invasion,
butcher a hog, conn a ship, design a building, write a sonnet, balance
accounts, build a wall, set a bone, comfort the dying, take orders,
give orders, cooperate, act alone, solve equations, analyze a new
problem, pitch manure, program a computer, cook a tasty meal, fight
efficiently, die gallantly. Specialization is for insects.
— Robert Heinlein, Time Enough for Love
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users

Reply via email to