On Mon, Dec 5, 2016 at 12:55 PM, Aaron Z <[email protected]> wrote:
> 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'
>
      Sounds like it did need some kicking as you predicted. I added
'option enable_vlan4k 1' and restarted the network and then

tcpdump on router:
tcpdump: WARNING: eth0.3: no IPv4 address assigned
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0.3, link-type EN10MB (Ethernet), capture size 65535 bytes
19:15:25.822964 IP 0.0.0.0 > all-systems.mcast.net: igmp query v2
19:15:25.823010 IP6 fe80::e046:9aff:fe5e:a745 > ff02::1: HBH ICMP6,
multicast listener querymax resp delay: 10000 addr: ::, length 24
19:15:26.568728 ARP, Request who-has 192.168.3.10 tell 192.168.3.1, length 28
19:15:26.569022 ARP, Reply 192.168.3.10 is-at c0:ff:ee:14:25:ad (oui
Unknown), length 42
19:15:26.569092 IP 192.168.3.1.32101 > 192.168.3.10.domain: 29094+
PTR? 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.f.f.ip6.arpa.
(90)
19:15:26.606872 IP 192.168.3.10.domain > 192.168.3.1.32101: 29094
NXDomain 0/1/0 (160)
19:15:27.797110 IP6 fe80::c2ff:eeff:fe14:25ad > ff02::1:ff14:25ad: HBH
ICMP6, multicast listener reportmax resp delay: 0 addr:
ff02::1:ff14:25ad, length 24
19:15:28.014715 IP6 fe80::be5f:f4ff:fe54:d78d > ff02::1:ff54:d78d: HBH
ICMP6, multicast listener reportmax resp delay: 0 addr:
ff02::1:ff54:d78d, length 24
19:15:28.615536 IP 192.168.3.1.16915 > 192.168.3.10.domain: 15895+
PTR? d.a.5.2.4.1.e.f.f.f.e.e.f.f.2.c.0.0.0.0.0.0.0.0.0.0.0.0.0.8.e.f.ip6.arpa.
(90)
19:15:28.616059 IP 192.168.3.10.domain > 192.168.3.1.16915: 15895
NXDomain* 0/1/0 (125)

Pinging router from another machine:
bash-3.2$ ping 192.168.3.1
PING 192.168.3.1 (192.168.3.1): 56 data bytes
64 bytes from 192.168.3.1: icmp_seq=0 ttl=64 time=26.229 ms
64 bytes from 192.168.3.1: icmp_seq=1 ttl=64 time=0.836 ms
64 bytes from 192.168.3.1: icmp_seq=2 ttl=64 time=0.836 ms

Thanks! Now I know it wasn't me after all.... this time. ;)

> 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
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users

Reply via email to