From owner-freebsd-mips@FreeBSD.ORG Fri Mar 14 12:28:39 2014 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C56ACC17 for ; Fri, 14 Mar 2014 12:28:39 +0000 (UTC) Received: from mail-wi0-x236.google.com (mail-wi0-x236.google.com [IPv6:2a00:1450:400c:c05::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 619E51CD for ; Fri, 14 Mar 2014 12:28:39 +0000 (UTC) Received: by mail-wi0-f182.google.com with SMTP id d1so2506965wiv.3 for ; Fri, 14 Mar 2014 05:28:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=5d7c00DQyltlpHo5WXlv7CJD7KMYyhwaVv5Hobpxdmc=; b=Y3Fi7i5JJM0l3a7G6GqCiaSh3Xtc2jezNeH/6heG6Kd2YQwxU+CgekfL/sceEdxT2n CUYMFLmNlTe15lAaTwjsg5g31kQF8sIuLnYujiZSG8O5Z/sQ5rVLJWDj+B83CnSUId50 e0e4Wz1ap1/VUJ3BRemhMUyKaNSdA3Ns4VcJ7QbhvfoNKcKalpedRYpojDDhfO3SOpk2 GJmajPVFuHbiu3tw2IN2DSo3Vv8k5g2aGmeIzYnGYDzq/G0iN0rgoTTqiR4lIGdhNo0w wOnC0KZRGMHu8gHskyVUX8g2auVidF+fp4lwU0HhH7kV9VTZ1IkfIbEYDa8aiHmZdFaN tP5A== MIME-Version: 1.0 X-Received: by 10.180.107.136 with SMTP id hc8mr5993416wib.11.1394800117775; Fri, 14 Mar 2014 05:28:37 -0700 (PDT) Received: by 10.216.40.72 with HTTP; Fri, 14 Mar 2014 05:28:37 -0700 (PDT) In-Reply-To: <20140313215332.7824a6e5@zeta.dino.sk> References: <20140313215332.7824a6e5@zeta.dino.sk> Date: Fri, 14 Mar 2014 09:28:37 -0300 Message-ID: Subject: Re: Router Station Pro etherswitchcfg problem From: Luiz Otavio O Souza To: Milan Obuch Content-Type: text/plain; charset=ISO-8859-1 Cc: "freebsd-mips@freebsd.org" X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Mar 2014 12:28:39 -0000 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 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 > media: Ethernet 1000baseT > 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 > etherswitch0: VLAN mode: DOT1Q > port0: > pvid: 1 > flags=1 > media: Ethernet 1000baseT > status: active > port1: > pvid: 1 > flags=0<> > media: Ethernet autoselect (none) > status: no carrier > port2: > pvid: 2 > flags=0<> > media: Ethernet autoselect (100baseTX ) > 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"