Date: Fri, 14 Mar 2014 09:28:37 -0300 From: Luiz Otavio O Souza <lists.br@gmail.com> To: Milan Obuch <freebsd-mips@dino.sk> Cc: "freebsd-mips@freebsd.org" <freebsd-mips@freebsd.org> Subject: Re: Router Station Pro etherswitchcfg problem Message-ID: <CAB=2f8xfRVnsLK2hJotkKuG2bTnSfUAVOzDvH_OycOQFi8uTQA@mail.gmail.com> In-Reply-To: <20140313215332.7824a6e5@zeta.dino.sk> References: <20140313215332.7824a6e5@zeta.dino.sk>
next in thread | previous in thread | raw e-mail | index | archive | help
Hey Milan, I'll look into this. Just give me a couple of days so i can recycle my RSPRO setup. Regards, Luiz On 13 March 2014 17:53, Milan Obuch <freebsd-mips@dino.sk> wrote: > Hi, > > as I recently upgraded my RSPro to current current :) sources, I play a > bit with etherswitchcfg. RSPro uses Atheros 8316, and it looks like > there is something I do not understand fully or a problem. > > In man page for etherswitchcfg, there is an example how to set vlan > with tagging: > > etherswitchcfg vlangroup1 vlan 2 members 0,5t port0 pvid 2 > > (I must use 0,2t because there is no port 5, but that' just cosmetics), > however the result is not correct: > > etherswitchcfg vlangroup1 vlan 2 members 0,2t port0 pvid 2 > vlangroup1: > vlan: 2 > members 0,2 > port0: > pvid: 2 > flags=1<CPUPORT> > media: Ethernet 1000baseT <full-duplex> > status: active > > There is no 't' in vlangroup1 members port 2. > > What I wanted was 'members 0t,2', but 't' is just seemingly ignored. > And, alas, when I tcpdump on arge1 interface, I see no tagged frames. > > Full switch config is the following: > > etherswitchcfg -v > etherswitch0: Atheros AR8316 Ethernet Switch with 5 ports and 16 VLAN > groups > etherswitch0: VLAN capabilities=16<PORT,DOT1Q,QinQ> > etherswitch0: VLAN mode: DOT1Q > port0: > pvid: 1 > flags=1<CPUPORT> > media: Ethernet 1000baseT <full-duplex> > status: active > port1: > pvid: 1 > flags=0<> > media: Ethernet autoselect (none) > status: no carrier > port2: > pvid: 2 > flags=0<> > media: Ethernet autoselect (100baseTX <full-duplex>) > status: no carrier > port3: > pvid: 1 > flags=0<> > media: Ethernet autoselect (none) > status: no carrier > port4: > pvid: 1 > flags=0<> > media: Ethernet autoselect (none) > status: active > vlangroup0: > vlan: 1 > members 0,1,2,3,4 > vlangroup1: > vlan: 2 > members 0,2 > > Am I doing something wrong or is there some problem? Any idea how can I > achieve multiple tagged vlans on arge1 interface? > > Regards, > Milan > _______________________________________________ > freebsd-mips@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mips > To unsubscribe, send any mail to "freebsd-mips-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAB=2f8xfRVnsLK2hJotkKuG2bTnSfUAVOzDvH_OycOQFi8uTQA>