Router Station Pro etherswitchcfg problem
Adrian Chadd
adrian at freebsd.org
Fri Mar 14 19:51:35 UTC 2014
Hi,
It's per port because that's how it's logically supposed to be.
Ie, there's a set of VLANs in the switch.
Then you have a native VLAN on a port, which is the untagged VLAN.
Then you allow other VLANs to show up on the port, which are the
tagged VLANs that show up on said port.
-a
On 14 March 2014 12:42, Luiz Otavio O Souza <lists.br at gmail.com> wrote:
> On 14 March 2014 10:39, Milan Obus wrote:
>> On Fri, 14 Mar 2014 09:28:37 -0300
>> Luiz Otavio O Souza wrote:
>>
>>> Hey Milan,
>>>
>>> I'll look into this. Just give me a couple of days so i can recycle my
>>> RSPRO setup.
>>>
>>> Regards,
>>> Luiz
>>>
>>
>> I found a workaround (kind of), see below.
>>
>>
>> [ snip ]
>>
>> With command 'etherswitchcfg port0 addtag pvid 1', config for port 0
>> becomes
>>
>> port0:
>> pvid: 1
>> flags=5<CPUPORT,ADDTAG>
>> media: Ethernet 1000baseT <full-duplex>
>> status: active
>>
>> and _all_ frames sent to CPU have dot1q header. This way I can create
>> up to 16 vlan groups on etherswitch (and correspondign arge1.n
>> subinterfaces) to achieve what I usually want, just one thing seems not
>> to be possible this way - hybrid port with both native (untagged) and
>> tagged traffic.
>>
>> In any case, it would be good to have this better documented. I don't
>> know if we have any place for this. man page is good, but not
>> everything did work for me.
>>
>> Milan
>
> Yes Milan, that is correct i remember now.
>
> You have to enable the tagging on the CPU port to receive the tagged packets.
>
> What i don't remember is why this switch was coded with the tag/untag
> feature per port and not per vlan, but i guess that was because i
> don't have the docs for it.
>
> While you can't have the hybrid setup, the trunk setup works fine with FreeBSD.
>
> And, yes, we need to get a better man page. If you have suggestions
> you can send it as text diffs to me, otherwise i'll try to get more
> working examples when i have some quality time with my RSPRO/RB450G
> again.
>
> Thanks,
> Luiz
> _______________________________________________
> freebsd-mips at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-mips
> To unsubscribe, send any mail to "freebsd-mips-unsubscribe at freebsd.org"
More information about the freebsd-mips
mailing list